Problem/Motivation
The Tour link in the upper right corner is easily missed. I never noticed it until today, where I had to find it. And even when actively looking for it, I had to search the text on the page for "Tour", to discover it.
This is sad, because it really is a great feature.
Steps to reproduce
Activate the Tour module and visit for example /admin/structure/views/view/frontpage
.
Proposed resolution
Make the link stand out more, by extending the text, and making the background blue.
Remaining tasks
Update the code.
User interface changes
Tour link text extended, and with blue background.
API changes
None
Proposed solution
Currently
Tour link, more visible
Comment | File | Size | Author |
---|---|---|---|
#38 | 3186076_38.patch | 4.45 KB | dsandhya |
#38 | after-patch-tour-button.png | 25.43 KB | dsandhya |
#30 | After-Patch.PNG | 29.97 KB | gaurav-mathur |
#30 | Before_Patch.PNG | 17.39 KB | gaurav-mathur |
#26 | 3186076--after--patch--pic.png | 141.94 KB | vikashsoni |
Issue fork drupal-3186076
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
Pooja Ganjage CreditAttribution: Pooja Ganjage at Asentech LLC commentedHi,
Creating a patch for this issue.
Please review the patch.
Let me know if any suggestions.
Thanks.
Comment #3
Pooja Ganjage CreditAttribution: Pooja Ganjage at Asentech LLC commentedComment #4
ressa CreditAttribution: ressa at Ardea commentedUpdating example link in Issue summary.
Comment #5
ressa CreditAttribution: ressa at Ardea commentedThanks @Pooja Ganjage. It does make the text in the upper right corner longer, but I still think it can be missed, and would prefer to try with a button placed prominently in the center of the screen, making it very obvious and unmissable.
Also, nothing happens if I click the "Take a tour of this page" link ...
Comment #6
Pooja Ganjage CreditAttribution: Pooja Ganjage at Asentech LLC commentedHi,
Tried to implementing a tour link as suggested in #5 comment.
Please review the patch.
Let me know if any suggestions.
Thanks.
Comment #7
Pooja Ganjage CreditAttribution: Pooja Ganjage at Asentech LLC commentedComment #8
ranjith_kumar_k_u CreditAttribution: ranjith_kumar_k_u at Zyxware Technologies commentedThe above patch works fine .
Before patch
After patch
Comment #10
ressa CreditAttribution: ressa at Ardea commentedThanks for testing @ranjith_kumar_k_u and @Pooja Ganjage for the code, great work. I realized that maybe it is a bit too intrusive at the center ... But your first suggestion of working with the original button in the upper right corner is good, so I have create a new patch, which makes the text longer and adds a class, giving it a blue background.
You can preview the update by clicking the link "View live preview (ready) via Tugboat" above:
admin
/admin/structure/views/view/frontpage
or/admin/structure/block
Original Tour link
Tour link, more text and blue background
What do you think?
Comment #11
Pooja Ganjage CreditAttribution: Pooja Ganjage at Asentech LLC commented@ressa, that's a great looking, I am agree with showing tour link in upper right corner instead of center.
Comment #12
ressa CreditAttribution: ressa at Ardea commentedSounds good @Pooja Ganjage. There does seem to be some work to do, regarding the Claro theme, where the background colour doesn't change ... I am not sure if that's a Claro issue, or something that should be fixed here?
Comment #13
Pooja Ganjage CreditAttribution: Pooja Ganjage at Asentech LLC commentedHi,
@ressa, I create patch for fixing background colour that doesn't change in claro theme.
Please review.
Thanks.
Comment #14
Pooja Ganjage CreditAttribution: Pooja Ganjage at Asentech LLC commentedComment #15
ressa CreditAttribution: ressa at Ardea commentedThanks! Perhaps we can try using the new system with Gitlab? I am not sure if you can click the "3186076-make-tour-link" link above, and edit directly there, or perhaps you have to create a new branch? It would be an interesting experiment, to figure out if it's possible. Do you want to have a go at it?
Comment #16
Pooja Ganjage CreditAttribution: Pooja Ganjage at Asentech LLC commentedHi,
@ressa, I want to go for it, but I don't have any idea Drupal GitLab, It would be nice if you give me any idea about this.
Thanks.
Comment #17
himanshu_sindhwani CreditAttribution: himanshu_sindhwani for Drupal India Association commentedPlease remove extra space at the end of line.
We can not remove this background-color: transparent; since this may cause problems at some other pages.
same here we can not remove
Here is an example if we remove background-color: transparent; then edit link gets white background.
Comment #18
ressa CreditAttribution: ressa at Ardea commentedThanks for the review @himanshu_sindhwani, your comments are very useful. For now, I hope it's okay if we first try to get the proposed patch in #13 working in Gitlab integration, and then fix it based on your feedback.
@Pooja Ganjage: The new system can be a bit overwhelming to everyone, but very powerful, so don't worry about mistakes. I should know, I made many mistakes when I started using it. You might need to activate "Git access" under your account, if you haven't already, I am not sure if that's necessary.
These should be the steps:
Also, check out Issue forks & merge requests, there is much useful information on that page about GitLab Integration.
Comment #19
Pooja Ganjage CreditAttribution: Pooja Ganjage at Asentech LLC commentedComment #20
ressa CreditAttribution: ressa at Ardea commentedThanks @Pooja Ganjage, great that you got the new system at git.drupalcode.org working for you.
@himanshu_sindhwani: I see what you mean with the "Edit" link background in the upper right corner ... do you have any suggestions on how to solve this?
Comment #21
Pooja Ganjage CreditAttribution: Pooja Ganjage at Asentech LLC commentedHi @ressa,
I have solved that background issue for edit link..in latest commit changes...
Can you please look into it.
Let me know if any suggestions on it.
Comment #22
bnjmnmThere may be some overlap with these issues: #2069073: Allow Tours to be taken by users that cannot access the Toolbar (e.g. anonymous users), #2940433: Make block for tour button (copy of patch in 2069073 for D8.3). It would be worth reviewing those and seeing if that influences what is happening here.
Also tagging "Needs usability review". A change like this will require UX signoff. In my experience, the easiest way to get UX signoff is presenting the issue for discussion at a UX meeting. These meetings happen weekly, every Tuesday at 15:00UTC. Shortly before the meeting time, a link to the meeting will be posted in the #UX channel of Drupal Slack.
Comment #23
ressa CreditAttribution: ressa at Ardea commentedComment #26
vikashsoni CreditAttribution: vikashsoni as a volunteer and at Zyxware Technologies commentedApplied patch #13 in drupal-9.3.x-dev
Applied successfully
After patch ' Tour link is more visible '
Thanks for the patch
For ref sharing screenshot ....
Comment #29
gaurav-mathur CreditAttribution: gaurav-mathur at Dotsquares Ltd. commentedComment #30
gaurav-mathur CreditAttribution: gaurav-mathur at Dotsquares Ltd. commentedPatch #13 applied successfully on on Drupal 10.0.x-dev and PHP 8.1.6.
The patch work properly for me.
Refer to screenshots.
Comment #31
smustgrave CreditAttribution: smustgrave at Mobomo commentedMR needs to be updated for 10.1.x and still needs usability review.
Comment #32
ressa CreditAttribution: ressa at Ardea commentedI just installed the Honeypot module, and by chance (I forget where) I saw that it offered a Tour. It made me remember that the Tour link is hard to find, and it took me some time to scan the entire screen, when I finally found the "Tour" link, hidden in the upper right corner. It's so sad that it sits hidden up there ...
Comment #33
Gauravvvv CreditAttribution: Gauravvvv at Axelerant for Drupal India Association commentedI have attached patch for 10.1.x. please review
Patch #18, no longer applies
Comment #34
ressa CreditAttribution: ressa at Ardea commentedThanks @Gauravvvv, I updated the existing merge request target branch from 9.2 to 10.1, and rebased it by clicking "Rebase without pipeline":
So the current MR !161 should now work with Drupal 10.1.
Comment #35
ressa CreditAttribution: ressa at Ardea commentedPerhaps we can now look at the review by @himanshu_sindhwani in #17, about not removing the transparency?
Comment #36
smustgrave CreditAttribution: smustgrave at Mobomo commentedJust FYI #3325445: [Policy] Remove tour module from core
Comment #38
dsandhya CreditAttribution: dsandhya at Melity commentedplz review the path
Comment #39
quietone CreditAttribution: quietone at PreviousNext commented