RTC NPM Resource Changed PR-5.2-dev Pending

User tests: Successful: Unsuccessful:

avatar obuisard
obuisard
18 Jul 2024

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:

  • A Cancel label close to the cancel cross to provide context and enhance usability,
  • moving the progress indicator away from the cancel button to ensure the cancel is clearly visible.

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

image

Expected result AFTER applying this Pull Request

image

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

avatar obuisard obuisard - open - 18 Jul 2024
avatar obuisard obuisard - change - 18 Jul 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 18 Jul 2024
Category JavaScript Repository NPM Change
avatar obuisard obuisard - change - 18 Jul 2024
Labels Added: NPM Resource Changed PR-5.2-dev
avatar obuisard obuisard - change - 18 Jul 2024
Title
[Guided tours] Tour header visual changes
[5.2] [Guided tours] Tour header visual changes
avatar obuisard obuisard - edited - 18 Jul 2024
avatar brianteeman brianteeman - test_item - 20 Jul 2024 - Tested unsuccessfully
avatar brianteeman
brianteeman - comment - 20 Jul 2024

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.

avatar brianteeman
brianteeman - comment - 20 Jul 2024

You need to use logical css properties otherwise your css breaks on RTL

image

example
change margin-right to margin-inline-end

avatar obuisard
obuisard - comment - 20 Jul 2024

You need to use logical css properties otherwise your css breaks on RTL
example change margin-right to margin-inline-end

I have adjusted the CSS. Thanks!

image

avatar brianteeman
brianteeman - comment - 20 Jul 2024

Thanks for the last change.

I am not a designer but the header looks odd to me as we have multiple text sizes and line heights on the same line which results in 4 different baselines

You can see it when you enlarge the header and draw some lines

image

avatar obuisard
obuisard - comment - 20 Jul 2024

Thanks for the last change.

Of course! I am glad you pointed it out.

I am not a designer but the header looks odd to me as we have multiple text sizes and line heights on the same line which results in 4 different baselines
You can see it when you enlarge the header and draw some lines

That's because the elements in the header are vertically aligned in the center of the top container.
I was not 'happy' with the 'Cancel' label, however. I changed it a bit.
Looks better to my eye.

image

avatar Quy
Quy - comment - 20 Jul 2024

Please consider hiding Cancel as this is not shown in other modals.

avatar obuisard
obuisard - comment - 21 Jul 2024

Please consider hiding Cancel as this is not shown in other modals.

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.

avatar glarkell
glarkell - comment - 21 Jul 2024

Tested successfully on J5.2.

avatar Kostelano
Kostelano - comment - 21 Jul 2024

I haven’t tested it yet, but what if the step title is long enough?

avatar Kostelano
Kostelano - comment - 21 Jul 2024

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).

Screenshot_2

avatar sdwjoomla
sdwjoomla - comment - 21 Jul 2024

Please consider hiding Cancel as this is not shown in other modals.

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.

avatar sdwjoomla
sdwjoomla - comment - 21 Jul 2024

@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?

avatar Quy
Quy - comment - 21 Jul 2024

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.

avatar brianteeman
brianteeman - comment - 21 Jul 2024

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

avatar chmst
chmst - comment - 21 Jul 2024

I agree that it is not needed to display the cancel text. We don't do it on other modals

agreed

avatar Quy
Quy - comment - 21 Jul 2024

Not aligned.

43809-start

43809-end

avatar obuisard
obuisard - comment - 22 Jul 2024

Not aligned.

Thanks for the catch!

I made a correction in PR #43810, which is were the padding was changed for the text content.
I have adjusted the footer padding in this PR, which was not aligned since 4.3 :-)

avatar obuisard obuisard - change - 22 Jul 2024
Title
[5.2] [Guided tours] Tour header visual changes
[5.2] [Guided tours] Tour header visual changes + footer padding fix
avatar obuisard obuisard - edited - 22 Jul 2024
avatar Quy
Quy - comment - 23 Jul 2024

Perform How to add steps to a guided tour?. Missing X and partial X.

43809-step1

43809-step2

avatar obuisard
obuisard - comment - 23 Jul 2024

Perform How to add steps to a guided tour?. Missing X and partial X.

Strange, I can't reproduce it. No matter the window size. What browser are you using? Anybody else with the issue?

image

image

The header is a flex container so it's children should resize appropriately...

avatar Quy
Quy - comment - 23 Jul 2024

Firefox 128.0.2 and Chrome Version 127.0.6533.73 on Windows

43809-css

avatar Quy
Quy - comment - 23 Jul 2024

The last commit is causing the issue.

avatar obuisard
obuisard - comment - 24 Jul 2024

The last commit is causing the issue.

Thanks, I corrected it.

avatar Quy Quy - test_item - 27 Jul 2024 - Tested successfully
avatar Quy
Quy - comment - 27 Jul 2024

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.

avatar viocassel viocassel - test_item - 27 Jul 2024 - Tested successfully
avatar viocassel
viocassel - comment - 27 Jul 2024

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.

avatar obuisard obuisard - change - 28 Jul 2024
The description was changed
avatar obuisard obuisard - edited - 28 Jul 2024
avatar Quy Quy - change - 28 Jul 2024
Status Pending Ready to Commit
avatar Quy
Quy - comment - 28 Jul 2024

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43809.

avatar Quy Quy - change - 28 Jul 2024
Labels Added: RTC
avatar pe7er pe7er - change - 9 Aug 2024
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2024-08-09 12:42:16
Closed_By pe7er
avatar pe7er pe7er - close - 9 Aug 2024
avatar pe7er pe7er - merge - 9 Aug 2024
avatar pe7er
pe7er - comment - 9 Aug 2024

Thanks @obuisard !

Add a Comment

Login with GitHub to post a comment