-
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
Remove navigation panel in site editor #36194
Conversation
Size Change: -3.91 kB (0%) Total Size: 1.08 MB
ℹ️ View Unchanged
|
This completely removes all template previews, or is there a way to preview them that I have not considered? |
Fixed as I was typing :) |
maybe it would feel less awkward if the full screen mode was optional like in the block editor. |
What do you mean by "template previews"?
Yeah, makes sense. I'd treat this as a temporary solution until we implement the new design. |
I see. I don't think that's available anymore in this design though. c.c. @jameskoster for additional details. |
85a09a6
to
7f759f0
Compare
Correct, the designs in #29630 dictate that holistic template management is handled via Appearance > Templates, and this "Editor (beta)" focuses purely on the site homepage. |
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.
This works well. There's a question around whether the W button should take you back to the screen you were on previously, or always to the Dashboard. And related to that whether we might add a hover effect indicating what will happen on click.
But we can probably address that separately.
Edit: The Styles link feels a bit weird to me – mostly because I'm not sure what to do when I land in the editor. The welcome guides will hopefully help with that.
Description
Implement the design in #29630 (comment).
Remove the "W" navigation panel in the site editor, and add a "Styles" link in "Appearance".
<NavigationSidebar>
is not being referenced anymore and should be shaken off the bundle, but the code is still there in case when we want to implement the design in #29630 (comment). We could delete all the code too though, I couldn't decide.The "Styles" link is done with a hacky style, I wonder if there's a best practice for this?
Note that currently there's no way to go to other templates though, that's related to #35990 and #35994.
How has this been tested?
/wp-admin
themes.php?page=gutenberg-edit-site&styles=open
Screenshots
Kapture.2021-11-04.at.13.04.32.mp4
Types of changes
New feature
Checklist:
*.native.js
files for terms that need renaming or removal).