-
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
Navigation on Browse Mode: Add pages #50580
Comments
Does this [+] button also need to account for adding an existing page to the menu? Otherwise how would a user perform that action? |
I think @jameskoster's point is very valid. Is this interface going to be edited or not editabke. I think we need to choose. Why? Because the existing "hybrid" approach is already causing confusion.
|
When working on this feature please consider Riad's comment in #48456 (comment).
|
I discussed this away from Github with @jasmussen. We loosely covered the following:
Also these notes:
|
We should also consider #55640 as part of this |
I noticed that @jameskoster has proposed a new route in #65828. @jameskoster Do you want to close this Issue in favour of yours? I feel like #65828 could be a long way out and I'm wondering if we want an interim solution. |
I suppose we'll need the 'add menu item' logic in any case, so I don't think it would be a waste of effort to address this issue before we get to 65828. I'd welcome @annezazu's thoughts on this. |
While I don't know every detail but I agree and would appreciate seeing this land for now, ahead of addressing #65828 more broadly. |
Some discussion in #65828 (comment) indicates that @WordPress/gutenberg-design aren't in favour of pursing this as a priority right now. The rationale offered is one I tend to agree with, namely that we have too many places to edit menus right now and we cannot show Menus in context within the Site View sidebar. Instead we should optimise for dataviews to allow the Menus to be administered as Post objects (rename, duplicate, delete...etc), but not present any means to modify the menu items. If anyone feels strongly that ability to manage menu items within the Site View sidebar (the black colour sidebar) then please let us know your thoughts. |
Hello everyone. Just adding my two cents, but my understanding is that menu can me fully managed from the editor for block themes, and the sidebar on the preview is just a simplified view to re-order theses navigation items. The first things that came in my mind were :
At this point, since it's limited and we don't want to re-create the whole block experience, i wonder if a click on the "Navigation" tab on the left shouldn't directly lead to the menu block and its pannel on the right. Maybe it's better than clicking on the header multiple times until we find the right layer in the preview. |
Building on #50578 and #50579, we need to enable users to add pages to their navigation.
When users have a navigation selected (or if they have only one), add a [+] next the the "Navigation" title in the Navigation panel. This [+] will trigger the add new page modal. When the new page has been created it should be added to the selected navigation. We will need to determine whether the navigation already contains a page list block. If it does then we don't need to add the page, if not then we do.
The new page flow is being handled in #48456.
Related #55640
The text was updated successfully, but these errors were encountered: