Make WordPress Core

Opened 6 years ago

Last modified 5 years ago

#43383 new feature request

Allow menu items to be inserted in place

Reported by: aaronpwd's profile aaronpwd Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9.4
Component: Menus Keywords: has-ux-feedback
Focuses: Cc:


When adding menu items to a menu, they default to the bottom of the menu and then need to be dragged into the desired position. This can be time consuming when adding a lot of menu items and can also result in inadvertent changes to the position of existing menu items.

My proposal is that you can select a menu item or sub-item already in the menu before adding new items to the menu and when you add the new item, it inserts itself directly under the selected item.

Change History (4)

#1 @melchoyce
6 years ago

  • Keywords ux-feedback added

#2 @welcher
6 years ago

The last approach on #21603 could be used as a starting point where we use the check to allow deletion and where the item is being inserted.

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

5 years ago

#4 @joyously
5 years ago

  • Keywords has-ux-feedback added; ux-feedback removed

The comments for using checkboxes on #21603 apply here, and I think that is the best way to go because of all the existing admin screens with the same thing: post list, comment list, taxonomies, media list. I wouldn't want the checkbox hidden until the Bulk Select is chosen, so I would opt for the checkbox to be available all the time to be able to indicate the selection of the item that the new item is added under. I suppose if there is more than one selected, it should go after the last one, unless there is a better way (which using a radio field instead would ensure that only one is selected, but that defeats the purpose of Bulk actions).

Perhaps an alternative is the existing "Add to Menu" button could be supplemented with another that said "Add after Selected"?

Note: See TracTickets for help on using tickets.