Skip to content

Reordering Site Editor Menu #70109

@luminuu

Description

@luminuu

What problem does this address?

Image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs DecisionNeeds a decision to be actionable or relevant[Feature] ExtensibilityThe ability to extend blocks or the editing experience[Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")[Type] EnhancementA suggestion for improvement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions