WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.46k stars 4.18k forks source link

Move individual menu management to the menu list view tab (or more intuitive location) #51536

Open ndiego opened 1 year ago

ndiego commented 1 year ago

What problem does this address?

I have fielded numerous questions about how to rename Navigation menus or delete them once created. The most recent in the latest call for testing. This functionality is available but hidden in the Advanced panel with the Settings tab. This is not intuitive, and most users will never find it.

What is your proposed solution?

Move all menu settings to the List View tab.

Current Proposed Change
image image
ndiego commented 1 year ago

@richtabor @getdave would love your thoughts on this.

getdave commented 1 year ago

Navigation in Browse mode helps with this. We could have a modal popup as an action under the ellipsis menu and that would be consistent with what we have in Browse Mode sidebar.

ndiego commented 1 year ago

Navigation in Browse mode helps with this. We could have a modal popup as an action under the ellipsis menu and that would be consistent with what we have in Browse Mode sidebar.

Yeah that would work great too. Really anything to make this functionality easier to access. 😅

annezazu commented 1 year ago

Noting this option: https://github.com/WordPress/gutenberg/issues/50583 I agree that we should have consistency across the experiences though as this came up previously: https://github.com/WordPress/gutenberg/issues/46638

getdave commented 1 year ago

I recognise that this needs to be improved. However I"m not sure about putting this information in the List View tab which should probably be reserved for tree presentation only.

I did consider Settings as a home, but it would end up further down the panel because (AFAIK) there is no way to specify the order of panel items and other controls are inserted via block supports and thus end up at the top.

I'd appreciate some additional input from @WordPress/gutenberg-design before proceeding here. Also pinging @scruffian and @draganescu for their thoughts.

scruffian commented 1 year ago

I think we should take inspiration from the site view:

Screenshot 2023-09-08 at 14 20 33
richtabor commented 1 year ago

Why not use the "Rename" flow we have in place for Group blocks? I suspect that'll become an expected pattern in time.

CleanShot 2023-09-08 at 17 27 18
getdave commented 1 year ago

I think some combination of Rich and Ben's suggest seems logical. I don't think relying on List View will suffice as the control should be contextual to the block when it is selected. We can add that as an additional affordance though.

If we were able to move the menu switching out of the 3 dots menu on the List View tab then perhaps we could add Rename there and that would mirror the pattern already found in the Site View sidebar as suggested by @scruffian.

I don't think however, that we can simp;y dump Rename into the existing 3-dots options menu because it's currently clearly as menu switcher for the Navigation Block rather than an options menu for the current Navigation Menu.