[wp-trac] [WordPress Trac] #53982: Adding pages to menus could be more user friendly

WordPress Trac noreply at wordpress.org
Fri Sep 10 06:35:14 UTC 2021


#53982: Adding pages to menus could be more user friendly
---------------------------+------------------------------
 Reporter:  adampatterson  |       Owner:  (none)
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Menus          |     Version:  5.8
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:  administration
---------------------------+------------------------------

Comment (by archduck):

 The ability to collapse children (i.e. subpages) into their parents, such
 as "accordion" components do, would go a long way here to make menu
 management easier.

 When adding a new page to a menu, the new menu item appears at the bottom
 of everything else, as the last menu entry, often out of sight, below the
 viewport. The only way to move it is via drag and drop. If it needs to be
 dropped somewhere near the top of the menu, you have to click, hold, drag
 the item to the top of the screen, and wait for the browser to scroll you
 there at the speed of a geriatric earthworm. If you let go too soon and
 you happen to be outside of a dropzone, you have to start over. And if
 there are multiple new menu items that need dragging, you’ll be holding
 down that mouse button a *lot*.

 Consider instead a menu with collapsed top-level menu items. The new menu
 item is still added to the bottom, but it’s now much more likely to be in
 the viewport, so you can see it as it’s added - visual feedback that
 indicates the new page is now in the menu. Now, the target menu slot is
 much more likely to be within the viewport, even if it belongs near the
 top of the menu, and thus the dragging and dropping is much less likely to
 require any drag-scrolling at the screen edge. Hover the dragged item over
 the topmost ancestor of its target slot for 2000ms, and that section of
 the menu expands downward; repeat until the target slot is no longer
 collapsed, and drop.

 The fundamental way of adding new menu items is exactly the same: the new
 item is added at the end of the menu and dragged into place. All that’s
 new is the accordion-like collapsing and expanding.

 And as @adampatterson says, the hierarchy is hard to discern as it
 currently is. The ability to collapse child items into parent items would
 make it easier to see the main sections of menus at a glance.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53982#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list