WordPress.org

Make WordPress Core

Opened 6 months ago

Last modified 3 months ago

#51343 new enhancement

Move Current Submenu to top of Admin Menu

Reported by: markpraschan Owned by:
Milestone: Awaiting Review Priority: normal
Severity: minor Version:
Component: Administration Keywords: needs-design-feedback
Focuses: ui, css, administration Cc:

Description

I propose moving the current open submenu to the top of the adminmenu so users can more easily navigate to submenu items without having to scroll. This would be especially helpful when using smaller viewports and/or sites with large/numerous submenus.

The following CSS accomplishes this:

#adminmenu {
    display: flex;
    flex-flow: column;
}
.wp-has-current-menu {
    order: 1;
}
.wp-not-current-submenu {
    order: 2;
}
#collapse-menu {
    order: 3;
}

Attachments (2)

unordered.png (29.3 KB) - added by markpraschan 6 months ago.
Admin menu with no adjustments
reordered.png (28.5 KB) - added by markpraschan 6 months ago.
Admin menu with items re-ordered per this ticket

Download all attachments as: .zip

Change History (5)

@markpraschan
6 months ago

Admin menu with no adjustments

@markpraschan
6 months ago

Admin menu with items re-ordered per this ticket

#1 @donmhico
5 months ago

  • Keywords needs-design-feedback added

Hello @markpraschan, welcome to WordPress Trac. This is change is something that i'll be frustrated at first but after some time getting used to, i'm sure will make my life easier. But this is just my own opinion. Let's try to get some feedback from the other contributors with much more UI / UX expertise.

This ticket was mentioned in Slack in #design by paaljoachim. View the logs.


4 months ago

#3 @paaljoachim
3 months ago

From how I understand this is that as one opens the submenu of a menu item it moves to the top of the menu.

Example of WP Security which is located far down the WP left sidebar menu will when opened jump to the top of the WP menu. If one often opens submenus such as Pages/Posts/Appearance and various plugins. Having each jump to the top of the menu creates a huge visual jump one I believe will be too distracting. It will also create a huge focus shift as one needs to move ones attention to another area.

Last edited 3 months ago by paaljoachim (previous) (diff)
Note: See TracTickets for help on using tickets.