Closed (outdated)
Project:
Drupal core
Version:
9.5.x-dev
Component:
node system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
21 May 2011 at 20:52 UTC
Updated:
18 Jun 2023 at 21:48 UTC
Jump to comment: Most recent
Comments
Comment #1
devin carlson commentedI think that this is definitely an important issue to address.
From my experience, users do not easily grasp the concept of "weight", especially since they have nothing to compare the current menu item weight with. If a user edits or creates a node and sees that the menu item weight is set to 25/6/-40 whatever, they do not know what the weights of the menu items "above" or "below" are.
Another problem I've seen is that a user wants an item at the bottom of a menu, so they set the weight as 50. They create another node with a weight of 49, then 48, etc. Later on, they realize that something should go below the last menu item (the one set to 50), so they open up all of the nodes they think are ~50, lower all of the weights and then create the new 50-weight node.
I think that a visual drag-and-drop interface would address both of these problems. The weight field could be hidden and if a user were to drag their new menu item to the top/bottom of the list of menu items, the weights of the rest of the items could be automatically increased/decreased.
My first idea for an interface would be to keep the existing layout (add dashes for each level), but place a draggable handle on only on the menu item for the current node. The menu item may also be highlighted with a different color (and tagged with invisible descriptive text for accessibility).
Comment #14
smustgrave commentedSeems some help text was added in #322703: Use on/off checkbox to enable node's menu item that I think overrides this. If anyone disagrees please reopen updating issue summary for D10 and up.
Thanks!