-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Dashboard 'Edit styles' link doesn't work #38172
Comments
I have the same issue regardless of the viewport size, even on a large screen with browser full-width. As above the welcome guide flickers visible for a very brief moment and then disappears, and the styles panel is closed. The URL does have |
@Andrew-Starr That's the thing that makes the styles panel open, but it does seem like something then causes it to close. What width is your browser window when you experience it? (also, which browser / OS?) |
OS: windows 11 |
This is the logged
|
Apologies, tested again in a fresh install and it is working now on larger screens. I can see the issue only on smaller browser widths where there appears to be some strange issue only on those narrower viewports. Please disregard what I said previously. |
Thanks for re-testing! |
So testing again on a fresh install with core 5.9 and no Gutenberg or other plugins, and all local storage emptied. Without With Same behaviour regardless of the browser viewport size. Small screen or large are same issue. |
Adding this to the 6.0 project board as it was something that was never solved on the 5.9 board. |
It seems like |
Given the dashboard will probably be redesigned for 6.0, I wonder if it'd be better to remove the |
@talldan this is now on the 6.0.1 Project Board. I think we should try and tackle this once and for all in 6.0.1, it's just getting a bit too late for 6.0. Are you ok with that? |
@ndiego Yep, agreed 👍 |
This does seem to almost work again now, though it opens the browse mode styles panel that only has variations. I think the text on the dashboard isn't quite right as it says "Switch up your site’s look & feel with Styles. Tweak your site, or give it a whole new look! Get creative — how about a new color palette or font?", there isn't that much functionality in this now linked panel, though I believe there are plans to add more, so I think I'll close this. |
Description
A new user switching to 5.9 will see an 'Edit styles' link on the dashboard encouraging users to check out the new styles feature.
Unfortunately it doesn't work as expected on small / medium sized viewports (phone / tablet). The intention is to launch the site editor with the Styles panel open and welcome guide visible. In testing, the sidebar is only open for a flicker of a moment, before being closed automatically by some responsive logic. The welcome guide also opens but is closed in a flicker, and this means it won't be shown again.edit: since more recent changes in the Gutenberg plugin, the link doesn't work at all on any screen size. I think these changes will also land in 6.0.
Step-by-step reproduction instructions
1. Clear local storage (specifically theWP_DATA_USER
entries)2. Resize your browser to be 782 pixels or narrower
3. From the Dashboard, click the 'Edit styles' link in the 5.9 banner
Expect: The site editor opens with the styles panel open and a welcome guide visible
Actual: Both the styles panel and welcome guide aren't visible
Screenshots, screen recording, code snippet
Environment info
Observed while testing 5.9 RC4 backports - WordPress/wordpress-develop#2220
Mac OS / Brave
Gutenberg deactivated
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: