Problem/Motivation
The UI text regarding the concept of 'Weight' is not consistent and in some cases not be very helpful to a new Drupal user.
Current 'weight' UI text:
Book pages: Pages at a given level are ordered first by weight and then by title.
Taxonomy terms: Terms are displayed in ascending order by weight.
Menu links: Link weight among links in the same menu at the same depth. In the menu, the links with high weight will sink and links with a low weight will be positioned nearer the top.
Proposed resolution
Book pages: Pages at the same depth are displayed first by ascending numerical order and then by title. Pages with higher values will be positioned near the bottom and pages with lower values will be positioned near the top.
Taxonomy terms: Terms are displayed in ascending numerical order. Terms with higher values will be positioned near the bottom and terms with lower values will be positioned near the top.
Menu links: Menu links at the same depth are displayed in ascending numerical order. Links with higher values will be positioned near the bottom and links with lower values will be positioned near the top.
Remaining tasks
Submit patch based on community discussion.
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | 2989666-menuLink-after-patch.png | 89.1 KB | nayana_mvr |
| #12 | 2989666-menuLink-before-patch.png | 82.55 KB | nayana_mvr |
| #12 | 2989666-taxonomyTerm-after-patch.png | 74.71 KB | nayana_mvr |
| #12 | 2989666-taxonomyTerm-before-patch.png | 45.69 KB | nayana_mvr |
| #12 | 2989666-book-after-patch.png | 111.19 KB | nayana_mvr |
Comments
Comment #7
srilakshmier commentedComment #8
srilakshmier commentedUploaded the patch based on the proposed resolution against 9.3.x. Please review.
Comment #12
nayana_mvr commentedVerified the patch #8 and tested it on Drupal version 10.1.x. The patch works as per the proposed resolution and I have added the before and after screenshots for reference.
Comment #13
smustgrave commentedComment #14
aaronmchaleUsability review
We reviewed this issue at #3348736: Drupal Usability Meeting 2023-03-24, that issue will have a link to the recording.
For the record, attendees were: myself, @ckrina, @simohell, @smustgrave, @rkoller and @benjifisher.
The group recommended shorter versions of the text in the proposed resolution, we felt this conveyed the same information and avoids the use of directional terms - bottom and top - which we generally try to avoid using.
The recommended text is: