-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[5.2] [Guided tours] Tour header visual changes + footer padding fix #43809
Conversation
Put the line height back on the title.
Changed the order of the properties.
I have tested this item 🔴 unsuccessfully on a19918e This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43809. |
Of course! I am glad you pointed it out.
That's because the elements in the header are vertically aligned in the center of the top container. |
Please consider hiding |
It was hidden before, one of the ideas for this PR is to make it visible. These are guided tours and from the start some of the user feedback was that the X is not a clear indication that it is meant to cancel tours (or close them). It helps teaching newbies that yes, the 'X' cancels/closes the window. |
Tested successfully on J5.2. |
I haven’t tested it yet, but what if the step title is long enough? |
I can say that this is a rather short title in Russian. Now it turns out that almost every step has a line break, which doesn’t look very good to me. Most likely there will be lines with 3/4 line breaks. I would prefer that somehow this could be solved. Perhaps enlarge the window. It is still possible to remove CANCEL, since all other modal windows simply have a cross. It is possible to move CANCEL down to the button block (from START). |
Having the 'Cancel' next to the 'X' helps answer the question received for clients who noticed it and aske what it does. For the client who hadn't noticed the 'X' and would also ask how to cancel a tour, adding the word 'Cancel' makes it easier for them. |
@Kostelano Thanks for taking a look. Yes, the line break doesn't look the best. There is a companion PR to this one, #43810 which addresses the width. Would you have a few moments to take a look at it? |
The Step badge now takes up more space and has the main focus when it should be the title. Maybe move it to the bottom left corner. The Cancel text is competing for attention with the title. You want them to do the tour but constantly see the Cancel with each step. It needs to be more subtle as before. |
Accessibility says that you should always indicate how far along in a process you are so leading with the step count is good. I agree that it is not needed to display the cancel text. We don't do it on other modals |
agreed |
Thanks for the catch! I made a correction in PR #43810, which is were the padding was changed for the text content. |
The last commit is causing the issue. |
Thanks, I corrected it. |
I have tested this item ✅ successfully on 0562ade This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43809. |
1 similar comment
I have tested this item ✅ successfully on 0562ade This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43809. |
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43809. |
…popup (#43810) * Add sizes to the shepherd element * Changed the order of the properties. * Update guidedtours.scss * Added fix for the popup height in case the content gets taller than the viewport * Changed property order * Correct padding for text * Corrections padding footer * Use shorthand * Added footer padding again to accommodate this PR, although added to PR #43809 * Improve the layout of the intro. * Update guidedtours.joomla_welcome_steps.ini * Improve the layout of the dashboard panel step * use <br> rather than <br />
Thanks @obuisard ! |
Summary of Changes
The guided tours header does not have a clear indication that a tour can be cancelled. There is no label and the progress indicator is next to it, making it hard to distinguish.
The changes include:
Testing Instructions
It is just a visual change. Make sure you can still cancel a tour, no matter if you are selecting the cross or the label.
Actual result BEFORE applying this Pull Request
Expected result AFTER applying this Pull Request
Link to documentations
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed