-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Library: Reinstate sidebar navigation menu editing for template parts #51825
Library: Reinstate sidebar navigation menu editing for template parts #51825
Conversation
Size Change: +264 B (0%) Total Size: 1.42 MB
ℹ️ View Unchanged
|
Flaky tests detected in 3200c6fe97cda080c80f4dd8b6961a97cbef7e9e. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5352132622
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested well for me:
✅ In Header template with navigation toggle the left menu showed the navigation edit panel and reordering and deleting items worked
✅ Navigate back to the Library page worked
✅ Non-template-part patterns were not affected
3200c6f
to
734e024
Compare
Thanks for follow up and getting this sorted so quickly 👍 One thing that struck me is that now the sidebar is auto-collapsed this does make the Navigation feature harder to find. Does it have to be collapsed now that we have valuable content in the sidebar? |
@getdave Do you have a screenshot of what's changed? |
Here I am entering focus mode and the sidebar is always hidden). Maybe that's because I'm not entering focus mode via Browse Mode sidebar (see below for why): Screen.Capture.on.2023-06-23.at.10-04-02.mp4More concerning however is that I can't even seem to access my Screen.Capture.on.2023-06-23.at.10-05-26.mp4 |
Thanks for the details. I'm not sure about why it's collapsed now, @aaronrobertshaw might know more.
Seems like a bug that template parts can't be clicked on to get to focus mode. Thanks for spotting it. |
Seems like it was this way before the library PR too when you edit template parts this way.
I think I may have broken this in #51830, it's out of hours now for me so I'll work on a fix on Monday. Having said that, if I check out the commit to trunk before that PR was merged, the sidebar is still collapsed when accessing template parts. I don't if there was a particular decision around that, let's see. |
Related:
What?
Reinstates the recent addition of navigation menu editing in the site editor's sidebar navigation screens for template parts.
Why?
It was inadvertently removed when the Library was implemented as it wasn't in those designs.
How?
Testing Instructions
Screenshots or screencast
Screen.Recording.2023-06-23.at.12.03.25.pm.mp4