Follow up from #1809352-139: Write tour.module and add it to core. @Dries said:
I was confused about not seeing the tour icon after applying the patch. I actually had to look at the code to figure out how it worked, and I had to look at the YAML files to figure out where a tour icon would appear. I wonder if it would be better to always show the help/tour-icon, even if no help is available. If no help is available, the (1) icon could have a different color and (2) say "No help is available for this page" when clicked. I think it would help with the discovery and learnability of this feature. For what it is worth, I had the same issues with the 'Edit' toggle for in-place editing. I personally prefer to have permanent icons (both for help mode and edit mode) that are explicit about the features not being available on specific pages, than having them disappear/appear randomly. Not sure if most people feel that way though; my opinion may not be representative for the larger audience.
Comments
Comment #1
Bojhan commentedFor tour it doesn't have to be an issue, if we find a way to get Tour to start from help or through a DSM?
Comment #2
nick_schuch commentedComment #3
leehunter commentedComment #4
clemens.tolboomI found it hard to note there is a tour available. Once it's clear there is a tour icon it would be nice to have a visual queue for it's status ie changing it's color.
Some tours have wildcards like on view/*/edit so these are not able to start through help.
Comment #5
ifrikI'm not sure whether this is the right issue to post this - please point me to the appropriate one if necessary.
I was trying to find the existing tour for Views in the latest D8 dev version, and could not find it. This might have to do with a change in the path.
If I go directly to
/admin/structure/views/view/frontpage/editthe tour module icon shows up and the tour works.However, if I follow the icon link "edit view" from the frontpage, the path is
/admin/structure/views/view/frontpage/edit/page_1?destination=node- and no tour module icon shows up.And following Structure > Views > Edit , the path is
/admin/structure/views/view/frontpage- no tour module icon.In both cases, changing the path to end with
/editmakes the tour module icon appear and work.Comment #6
clemens.tolboom@ifrik see #2027469: View UI Tour is not working and had a sandbox update. esp. #7 there are more paths to a view tour.
I'm working on #2028535: Provide a TourTestBase class for use by core and contrib modules were we could discuss the path discovery between the module routing and the paths mentioned in a tour.
Comment #6.0
clemens.tolboomUpdated issue summary.
Comment #9
pixelmord commentedRight now the experience is bad, because users either overlook the button in the toolbar when you are on pages that have a tour that is related to them or you do not see the button at all because you are on one of the hundred other pages.
There's a tour overview is in the help page that will only be available if the help module is installed and the listed tours are not linked.
I consider this a usability BUG because there is no use of the module and the provided tours if nobody can find them.
A solution could be to:
Comment #10
Bojhan commentedSolving this will be quite some work, agree that some overview and constant showing of the button is needed.
Comment #12
realityloop commentedAdded related issue
Comment #21
catchComment #26
quietone commentedThis extension is being deprecated, see #3336033: [Meta] Tasks to deprecate Tour module. It will be removed from core and moved to a contrib project, #3376099: [11.x] [Meta] Tasks to remove Tour.
This is now Postponed. The status is set according to two policies. The Remove a core extension and move it to a contributed project and the Extensions approved for removal policies.
Comment #27
quietone commentedComment #28
smustgrave commentedComment #30
smustgrave commentedSo to keep it simple for 2.0.x the Tour button will always appear.
If the current route has no Tour it will appear with different text, color, and be disabled.