-
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
Make the navigation options available inside site editor more predictable #56868
Comments
Related to #56150 (comment).
nav.mp4 |
@jasmussen Based on these replies. This is the mental modal and the understanding of the changes and impact that this would have, for confirmation:
Technically it means:
Ultimately this means:
|
Yes. W always takes you to the previous major screen. I.e. Edit view > Site view > Top level dashboard. I think there are some larger level lateral navigation concepts we can explore, the command palette is one example, some other breadcrumb options is another. But those don't change this fundamental behavior, IMO.
The post/page editors would take you to the dashboard when clicking the W still, right? There's not a site view for those. But yes, and to an extent this is related to #45264. Focus mode can be a useful way to focus on just one section at a time. CC: @WordPress/gutenberg-design |
Yes, but you'll still be able to navigate between post => template => template part without ever leaving the post editor. |
This may be totally irrelevant so feel free to ignore, but there is a similar problem to solve in the sidebar itself. The |
IMO the sidebar should show whatever root document in the breadcrumb trail. If I go to my list of pages and edit a page, then click "edit template" and click W, it should show me the page. If I move laterally (e.g. open a template from command palette while editing a page) then it would show the template. We otherwise risk jumping all over the place, especially when synced patterns are edited in focus mode. |
I think we should decide that upfront. If the sidebar should show the "page" (root entity), then why are we changing the "url" when going into focus mode. For me it just means that we didn't "change" the active page. But the question becomes: is "focus mode into a template part" and "editing a template part" from the sidebar two different things? why? |
The site editing experience today has at least three levels of depth:
Each of these views can navigate laterally:
We have three navigation elements:
Maybe we could standardize the W to always mean up? Then we'd be left with the two backs which move laterally back. So in the example: Site editor → Pages → Page → Template → Template Part → Navigation we have this sequence: Frame View [lateral >] Pages [down /] Editor View [lateral >] Template Part [down /] Navigation and we could make it so that to get back on precisely this path: Navigation [W button - up /] Template Part Editor [Editor Back - back <] Template Editor [Editor Back - back <] Page [W button - up /] Pages [Frame Back - back <] Site editor Ideally we'd figure out a UI where the Frame back and the Editor Back would be easier to grok as doing the same thing. But standardizing the W logo to mean "up" could solve some problems IMO. Browser back Ideally the browser back will always do the next expected thing. For example in the path: Site editor → Pages → Page → Template → Template Part → Navigation pressing Browser Back takes you back this exact path: Navigation → Template Part → Template → Page → Pages → Site editor |
What problem does this address?
Currently in the site editor there are multiple ways to navigate "back", and they're all called "back", but not all of them go "back".
multiple-ways-back.mp4
In the video:
What is your proposed solution?
We need to figure out at least a couple of things:
The text was updated successfully, but these errors were encountered: