Page MenuHomePhabricator

Some tours don't end when clicking on okay button on final step
Open, MediumPublic

Description

Some tours are not configured to end upon clicking the final Okay button. This is because I forgot to add {action: 'end'}. However, we may want to automatically end tours in some circumstances, or even just on display of. See also bug 55983.

This can be reproduced by taking the firstedit tour, clicking Okay on the last step ("You're almost done!"), then previewing any other page (doesn't matter if you save the current edit first). I'm not sure if this is technically a bug, since I don't remember an explicit requirement for it, but I think clicking Okay on the last step should probably end it.

If we don't make a general solution to this (e.g. making the last step of a tour automatically default to action: 'end'), we should check all of the tours to see if this change should be made.


Version: master
Severity: normal
See Also:
T57983: Automatically end tours based on user actions

Details

Reference
bz55984

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:22 AM
bzimport set Reference to bz55984.
bzimport added a subscriber: Unknown Object (MLST).

swalling wrote:

(In reply to comment #0)

Some tours are not configured to end upon clicking the final Okay button.
This
is because I forgot to add {action: 'end'}. However, we may want to
automatically end tours in some circumstances, or even just on display of.
See
also bug 55983.

This can be reproduced by taking the firstedit tour, clicking Okay on the
last
step ("You're almost done!"), then previewing any other page (doesn't matter
if
you save the current edit first). I'm not sure if this is technically a bug,
since I don't remember an explicit requirement for it, but I think clicking
Okay on the last step should probably end it.

If we don't make a general solution to this (e.g. making the last step of a
tour automatically default to action: 'end'), we should check all of the
tours
to see if this change should be made.

I think making Okay on the last step automatically end a tour seems sane.

Log data says that 314 users saw the final step of the firstedit tour 10 or more times. 14 of them saw it more than 50 times. Many of these users were no doubt previewing many times before saving, but there is no reason a user should be shown a step like "Don't forget to save!" that much.

Deskana renamed this task from Some tours don't end when clicking on okay button on final step to VisualEditor.Aug 30 2018, 1:31 PM
Deskana renamed this task from VisualEditor to Some tours don't end when clicking on okay button on final step.Aug 30 2018, 1:32 PM