[wp-trac] [WordPress Trac] #18693: New feature pointers
WordPress Trac
wp-trac at lists.automattic.com
Tue Oct 4 12:29:36 UTC 2011
#18693: New feature pointers
------------------------------------+--------------------------
Reporter: jane | Owner: koopersmith
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.3
Component: UI | Version: 3.3
Severity: normal | Resolution:
Keywords: has-patch dev-feedback |
------------------------------------+--------------------------
Comment (by nbachiyski):
Today I played with a PHP API for an hour and here is the result:
https://gist.github.com/1261486
It doesn't have implementation details, although most of it should be
obvious.
The hard thing here is to find a balance for extending it via PHP and/or
JS. This also depends on the JS library we use and its methods of
extension. Even for a simple guided tour I wanted to deviate from the
default behaviour in a dozen different ways (show notes on Next, different
logic depending on whether the user completed the previous step, do not
allow going to the next one if the current step isn't completed, grow
beard at unexpected places, go to a different page before showing a
pointer).
I am more and more inclined towards a JS-only API with some PHP helpers. I
will play with that one, too and report here.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18693#comment:32>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list