Last modified: 2013-01-28 21:37:01 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 T46123, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44123 - Add a "hide these" checkbox
Add a "hide these" checkbox
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
GuidedTour (Other open bugs)
unspecified
All All
: High enhancement (vote)
: ---
Assigned To: Matthew Flaschen
:
: 44323 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-18 18:48 UTC by Steven Walling
Modified: 2013-01-28 21:37 UTC (History)
9 users (show)

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


Attachments
Mockup (23.19 KB, image/png)
2013-01-18 18:50 UTC, Steven Walling
Details

Description Steven Walling 2013-01-18 18:48:54 UTC
Right now in bug 43723 we're dickering over the behavior of ending the tour, and one of the issues is that the [X] in the top right is slightly unclear (whether it's permanent or temporary dismissal). Giving a clearer option to users to stop the tour completely is better, and may actually make room for removing the [X] as redundant.
Comment 1 Steven Walling 2013-01-18 18:50:08 UTC
Created attachment 11651 [details]
Mockup
Comment 2 Steven Walling 2013-01-18 18:51:13 UTC
To be clearer: the behavior of the checkbox is if it is checked, it removes the cookie and ends the tour completely.
Comment 3 Matthew Flaschen 2013-01-18 20:24:04 UTC
It seems a little odd to have a checkbox alone end the whole tour (which includes closing the current step).

Normally I expect a checkbox to provide additional information, but still have to click some sort of button.  An example from another area:

* Checkbox says "Email me updates"
* Button says "Signup"

The checkbox only takes effect if they signup.

Also, "hide these" could easily be misinterpreted as disabling all GuidedTours.  We'll probably want to do that as a separate feature at some point (likely as a preference, but possibly also exposed elsewhere), but we don't want to confuse people.
Comment 4 Steven Walling 2013-01-18 20:28:44 UTC
(In reply to comment #3)
> It seems a little odd to have a checkbox alone end the whole tour (which
> includes closing the current step).
> 
> Normally I expect a checkbox to provide additional information, but still
> have
> to click some sort of button.  An example from another area:
> 
> * Checkbox says "Email me updates"
> * Button says "Signup"
> 
> The checkbox only takes effect if they signup.

I filed this as a separate bug, but the feature request is in the context of what Munaf was suggesting, where the action button takes users to the next step EXCEPT if they check the hide box. Checking the box alone wouldn't dismiss the tour alone, without a confirmation. 

> 
> Also, "hide these" could easily be misinterpreted as disabling all
> GuidedTours.
>  We'll probably want to do that as a separate feature at some point (likely
> as
> a preference, but possibly also exposed elsewhere), but we don't want to
> confuse people.

That confusion is worth reducing the text, and adding a preference in the future is a great idea.
Comment 5 Matthew Flaschen 2013-01-18 20:35:13 UTC
However, Munaf suggested 'Okay'.  'Next' is more clearly stating there will be a next step, so if we choose this option, I would prefer 'Okay'.

Can't we just have the checkbox say "end tour"? That's even shorter than "hide these".
Comment 6 Steven Walling 2013-01-18 20:36:48 UTC
(In reply to comment #5)
> However, Munaf suggested 'Okay'.  'Next' is more clearly stating there will
> be
> a next step, so if we choose this option, I would prefer 'Okay'.
> 
> Can't we just have the checkbox say "end tour"? That's even shorter than
> "hide
> these".

We can dicker about the text later. Let's get the elements to describe in place.
Comment 7 Matthew Flaschen 2013-01-19 02:18:35 UTC
Okay, the initial version of this is done at https://gerrit.wikimedia.org/r/#/c/44752/ .

It handles the basics:

1. Always shows checkbox.
2. If you check it and click okay, it ends the tour.
3. Otherwise, it does a user-defined action (the only one that can occupy 'Okay' currently is "next" for going to next step).  If there is no user-defined action, it closes the step without ending the tour.

There are a couple edge cases I didn't attempt to address:

1. What happens if they check it and click a button besides Okay (currently the checkbox is ignored).
2. At the start of the tour, should we still just show Okay, also a "Start Tour" button, or maybe something else?

What about "Start Tour" and "No Thanks" (with no checkbox)?
3. What do we do at the end of the tour?  Do we keep End Tour?  If so, do we have okay and the checkbox in addition?

It seems simpler to just have an End Tour button here (with no need for a checkbox).

It's ready for testing on piramido.
Comment 8 Steven Walling 2013-01-24 20:50:12 UTC
Looks good to me.
Comment 9 Matthew Flaschen 2013-01-24 21:07:05 UTC
Edge cases above still need to be defined here.
Comment 10 Matthew Flaschen 2013-01-24 21:07:21 UTC
*** Bug 44323 has been marked as a duplicate of this bug. ***
Comment 11 Steven Walling 2013-01-25 21:08:19 UTC
(In reply to comment #7)
> There are a couple edge cases I didn't attempt to address:
> 
> 1. What happens if they check it and click a button besides Okay (currently
> the
> checkbox is ignored).

We could leave it like that, but requiring the Okay click is not the most helpful or obvious thing for an annoyed user. Let's do this: IF checkbox selected, then all close actions end the tour, instead of just close. This works at any point. 

> 2. At the start of the tour, should we still just show Okay, also a "Start
> Tour" button, or maybe something else?

Just the Okay button. Since the correct behavior of "Okay" is to progress the user to the next step, this functions as a start tour action implicitly. Having two action buttons like that is confusing. 

> What about "Start Tour" and "No Thanks" (with no checkbox)?

Let's keep consistency from beginning to end, not have special start/end tour actions that the user has to stop and think about. 

> 3. What do we do at the end of the tour?  Do we keep End Tour?  If so, do we
> have okay and the checkbox in addition?

Let's just keep Okay, and if it's the final step, it ends the tour.
Comment 12 Matthew Flaschen 2013-01-26 00:46:21 UTC
For the end of the tour, should there be a checkbox?
Comment 13 Steven Walling 2013-01-26 00:55:42 UTC
(In reply to comment #12)
> For the end of the tour, should there be a checkbox?

Let's just leave it there.
Comment 14 Matthew Flaschen 2013-01-28 20:05:08 UTC
Merged.  All of the edge cases are addressed as specified.
Comment 15 Matthew Flaschen 2013-01-28 21:37:01 UTC
Dan Andreescu suggested that when you click the checkbox, the button text could change (e.g. Okay/End tour).  It's worth pondering for later.

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


Navigation
Links