Last modified: 2014-06-09 20:23:07 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T55143, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 53143 - Implement non-linear transitions
Implement non-linear transitions
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
GuidedTour (Other open bugs)
unspecified
All All
: High enhancement (vote)
: ---
Assigned To: Matthew Flaschen
:
Depends on:
Blocks: 53456
  Show dependency treegraph
 
Reported: 2013-08-21 07:08 UTC by Matthew Flaschen
Modified: 2014-06-09 20:23 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Matthew Flaschen 2013-08-21 07:08:48 UTC
Implement non-linear transitions between steps.  This is one of the key goals of the planned update to the API.  

The idea is that each step has a callback function which decides which step to proceed to.  This callback is called when an event occurs, such certain mw.hook, a user-provided event (there will be a way to tell the tour to check at a particular time), or a page change.

There can also be global transitions, which apply throughout the whole tour (for example, clicking "edit source" at any time may transition to the first step of the wikitext editing flow).

Simple use case:

Have a single tour with the basics of both wikitext and VisualEditor editing.  When you click "edit source" or "edit beta" at any time (unlike today, you don't have to be at the beginning), it transitions to the appropriate step.  You can then walk through the basic flows of the editors (as today)

More elaborate:

Your are in a detailed tour for VisualEditor.  You are in the step for the references dialog.  You click the template button, and it transitions to the step for adding a template.  When you walk through and save that, it transitions to a step for saving the reference.
Comment 1 Gerrit Notification Bot 2014-03-18 23:44:35 UTC
Change 116228 had a related patch set uploaded by Mattflaschen:
WIP: Refactor and add non-linear tours

https://gerrit.wikimedia.org/r/116228
Comment 2 Gerrit Notification Bot 2014-06-09 16:56:31 UTC
Change 116228 merged by jenkins-bot:
Refactor and add non-linear tours, with tests

https://gerrit.wikimedia.org/r/116228

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links