Allow launching once per-user, per-situation


Allow launching a tour while limiting it to once per-user. The idea is that GuidedTour handles this, so the calling code (GettingStarted, VisualEditor, etc.) doesn't need to think about hidden user preferences, etc. I'll call it launchOnceForUser as illustration; better name suggestions welcome

Example use case: The VisualEditor edit screen calls launchOncePerUser, then GuidedTour decides internally whether to launch it based on whether the user has already seen it.

Ideally, it will allow launching immediately, and pre-launching by setting a cookie (we did this once with GettingStarted).

Version: master
Severity: enhancement

bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz50847.
Mattflaschen created this task.Via LegacyJul 5 2013, 11:38 PM
Mattflaschen added a comment.Via ConduitJul 5 2013, 11:40 PM

I need to think about whether this should go in the tour specification (defineTour), the launch site, or both.

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.