- Issue created by @bnjmnm
- last update
over 1 year ago 29,366 pass - @bnjmnm opened merge request.
- Status changed to Needs review
over 1 year ago 12:08pm 28 April 2023 - 🇺🇸United States bnjmnm Ann Arbor, MI
MR with a solution is up. This sets a minimum width on the button that keeps track of the button's maximum possible width and sets it to that so there's room for the new content to be added without reflowing.
The button contents now fade in as well, so the JS updating of the text ideally isn't visible, but on slower systems it will still be less apparent.
- Status changed to RTBC
over 1 year ago 4:05am 30 April 2023 - 🇺🇸United States smustgrave
Confirmed the "flicker" when I deleted escapeAdminPath in chrome.
MR does solve that.Not sure about the fade in feature but won't hold the ticket up on a detail like that.
- last update
over 1 year ago 29,366 pass - Status changed to Needs work
over 1 year ago 8:21am 2 May 2023 - 🇫🇮Finland lauriii Finland
I'm not sure I understand why we need the fading here. It is quite notable, potentially even more so than the current reflow. I tried removing the fading from the patch and it seems that that improves the situation without any negative side effects. Moving to needs work to either remove the fade or to document why it's needed.
- last update
over 1 year ago Build Successful - Status changed to Needs review
over 1 year ago 12:26pm 2 May 2023 - 🇺🇸United States bnjmnm Ann Arbor, MI
I'm not sure I understand why we need the fading here
I didn't like the name switching like that and figured I'd give it a shot at least,
But it's not super important to me and I removed it. A better version would keep the icon in place, too.
I also figured it was something a reviewer might notice if they were paying specific attention to that toolbar tab. However, that text switching is pre-existing AND this issue is specific to addressing the reflow so it's not like it has to happen here even if it was something there was interest in.
- 🇺🇸United States bnjmnm Ann Arbor, MI
- Status changed to Needs work
over 1 year ago 2:19pm 2 May 2023 - last update
over 1 year ago 29,371 pass - Status changed to Needs review
over 1 year ago 11:01am 3 May 2023 - Status changed to RTBC
over 1 year ago 2:36pm 3 May 2023 - 🇺🇸United States smustgrave
Tested following the same steps in #4.
Don't see the flicker with "back to site" link but do see it with my username. Think that's out of scope but wanted to point out if it matters or not.
- Status changed to Needs work
over 1 year ago 2:46pm 3 May 2023 - 🇫🇮Finland lauriii Finland
This needs a reroll now that 📌 Reduce toolbar user button related browser reflow Fixed landed.
- First commit to issue fork.
- last update
over 1 year ago 29,374 pass - Status changed to RTBC
over 1 year ago 5:23pm 3 May 2023 - 🇺🇸United States hooroomoo
Rerolled and confirmed that width of the admin escape doesn't change after deleting the 'escapeAdminPath' sessionStorage item and refreshing.
- Status changed to Needs review
over 1 year ago 6:01pm 3 May 2023 - 🇫🇮Finland lauriii Finland
Just realized that this change actually leads into before/after changes. When I tested this last time on #5, I didn't realize that the session storage wouldn't be set on the initial page load, and didn't realize there was this change.
Before:
After:
I'm wondering if people actually expect to see the "Home" link, rather than "Back to site". IMO back to site isn't wrong, even if it links to the front page of the site. Maybe we could address this by changing the link text always to "Back to site". Thoughts?
- 🇺🇸United States bnjmnm Ann Arbor, MI
I'm wondering if people actually expect to see the "Home" link, rather than "Back to site". IMO back to site isn't wrong, even if it links to the front page of the site. Maybe we could address this by changing the link text always to "Back to site". Thoughts?
It definitely crossed my mind that this whole thing would be solved by not changing the link wording at all. I'm skeptical that the distinction between "Home" and "Back to Site" provides much benefit or is even noticed. My biggest reason for the current approach is that it's the way to fix the reflow with the fewest overall changes, and extra-width "home" will appear far less frequently than same-width "back to site"
The change was made 9 yrs ago in #2349569: 'Back to site' link does not work as expected → . I wonder if the problem had more to do with the link not consistently being there, vs the wording used. I wouldn't mind just removing that conditional text entirely if there were some +1-ing of that.
- 🇫🇮Finland lauriii Finland
Thank you for linking the original issue where this was introduced @bnjmnm! Based on that, there wasn't any strong reason to use a separate text for the home link, and we would not be re-introducing that bug if we changed the text.
- Open on Drupal.org →Environment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Not currently mergeable. - @bnjmnm opened merge request.
- 🇺🇸United States bnjmnm Ann Arbor, MI
This is the solution I prefer anyway, glad there's support for it. I opened a
do-not-switch-to-saying-home
MR that eliminates the reflow by not changing that button's text. - last update
over 1 year ago 29,378 pass - Status changed to Needs work
over 1 year ago 3:28pm 4 May 2023 - 🇺🇸United States smustgrave
Hate to be that guy but since the solution changed can we update the issue summary with the proposed solution please.
- Status changed to Needs review
over 1 year ago 3:50pm 4 May 2023 - Status changed to RTBC
over 1 year ago 6:30pm 4 May 2023 - 🇪🇸Spain ckrina Barcelona
Late to the party, but 100% agree with the late change to always use the same "Back to site" text.
- Status changed to Fixed
over 1 year ago 8:05am 5 May 2023 Automatically closed - issue fixed for 2 weeks with no activity.