-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Description
What problem does this address?
There’s already an issue existing to consider moving the Styles menu item to the top of the site editor navigation (#68576). With this issue I’d like to start a discussion about expanding this idea to give the user the ability to reorder the entire menu.
Currently, the site editor menu is static. Navigation is the first item, once a website is mainly done, the navigation won’t be touched as often as in the early stages of website creation. Similarly, in a later stage of a website’s life, the Patterns might be the most used area within the site editor, so having it at the top makes it easier to focus and land on.
Another idea on top of this could be having the theme give a different structure via theme.json.
What is your proposed solution?
Implement reordering of the menu items on a per-user basis, with information being stored in the wp_usermeta table. In addition, a theme can be able to reorder the menu items via theme.json. If nothing is set, the current default structure will be shown. There will be no option to remove any items, as this should be covered by the capabilities feature.