-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[5.2] [Guided tours] Increase the width and adjust the height of the popup #43810
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
Conversation
|
How do you add an image. Every time I insert an image into the description and then save it is removed |
Thanks for the gif. |
|
yes that was it. strange that you can add text to the language key but not an image |
Yes, it has to be improved... |
|
I have tested this item 🔴 unsuccessfully on 3a99243 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43810. |
Added fix for the popup height in case the content gets taller than the viewport
Yes, we had the problem before, even before this PR. The PR increases the width, so it makes the behavior even worse. |
|
I have tested this item ✅ successfully on ed67f8d This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43810. |
|
It is not entirely clear what the width of the window depends on. I just used the basic greeting tour and the blocks with roughly the same amount of text were very different in width. In addition, the buttons also “stretched out”. There is no indentation below from the main block to the buttons. Previously he was. |
The popup resizes according to its content with this PR. This is meant to allow more verbose content, images and videos ('what's new' tours -coming soon - will be more verbose). People creating tours can visually tweak the tours to show 'elegantly' with this new behavior. It really depends on how the step content is formatted. As far as button stretch, we left the default behavior where buttons adapt to the popup width. |
I put the padding back, even though it was fixed in PR #43809. Padding needs to be set in both PRs so that content shows as intended when PRs are run separately. |
Improve the layout of the intro.
Improve the layout of the dashboard panel step
|
I have tested this item ✅ successfully on 479d165 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43810. |
|
I have tested this item ✅ successfully on 4906557 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43810. |
|
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43810. |
|
Thanks @obuisard ! |
joomla/joomla-cms#43232 + joomla/joomla-cms#43378 + joomla/joomla-cms#43216 + joomla/joomla-cms#43260 + joomla/joomla-cms#43386 + joomla/joomla-cms#43575 + joomla/joomla-cms#43491 + joomla/joomla-cms#43760 - (upmerge, внесено в 5.1х) joomla/joomla-cms#43247 + joomla/joomla-cms#43579 + joomla/joomla-cms#43690 + joomla/joomla-cms#43829 + joomla/joomla-cms#43840 + joomla/joomla-cms#43841 + joomla/joomla-cms#43885 - (upmerge, только для др. пакетов) joomla/joomla-cms#43223 + joomla/joomla-cms#43810 - (только для en-GB) joomla/joomla-cms#43898 + joomla/joomla-cms#43432 + joomla/joomla-cms#43870 + joomla/joomla-cms#42850 + joomla/joomla-cms#43937 - (upmerge, только для др. пакетов) joomla/joomla-cms#43862 + joomla/joomla-cms#43975 + joomla/joomla-cms#43910 + joomla/joomla-cms#43965 + joomla/joomla-cms#43738 + joomla/joomla-cms#43814 + joomla/joomla-cms#44000 + joomla/joomla-cms#44050 + (upmerge, с 4.4.9) joomla/joomla-cms#43966 + joomla/joomla-cms#44065 +








Summary of Changes
When creating tours, media content is very limited with the size of the popup.
Shepherd forces a popup width to be 400px max.
This PR proposes to increase the width to 600px and a popup that resizes according to its content.
In the case of a popup positioned a the center of the window, the max width could be increased even more (up to 1200px).
Testing Instructions
Run a few tours and see if the popups resize properly with different window sizes.
Add an image to a tour, run the tour and look at the result, either in a central position or at a bottom position.
Actual result BEFORE applying this Pull Request
Expected result AFTER applying this Pull Request
The content dictates the width of the popups, up to 600px, except for the center popups, up to 1200px.
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