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.

Comments

Chris2 created an issue. See original summary.

Version: 8.7.x-dev » 8.8.x-dev

Drupal 8.7.0-alpha1 will be released the week of March 11, 2019, which means new developments and disruptive changes should now be targeted against the 8.8.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.0-alpha1 will be released the week of October 14th, 2019, which means new developments and disruptive changes should now be targeted against the 8.9.x-dev branch. (Any changes to 8.9.x will also be committed to 9.0.x in preparation for Drupal 9’s release, but some changes like significant feature additions will be deferred to 9.1.x.). For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.9.x-dev » 9.1.x-dev

Drupal 8.9.0-beta1 was released on March 20, 2020. 8.9.x is the final, long-term support (LTS) minor release of Drupal 8, which means new developments and disruptive changes should now be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 9.1.x-dev » 9.2.x-dev

Drupal 9.1.0-alpha1 will be released the week of October 19, 2020, which means new developments and disruptive changes should now be targeted for the 9.2.x-dev branch. For more information see the Drupal 9 minor version schedule and the Allowed changes during the Drupal 9 release cycle.

Version: 9.2.x-dev » 9.3.x-dev

Drupal 9.2.0-alpha1 will be released the week of May 3, 2021, which means new developments and disruptive changes should now be targeted for the 9.3.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

srilakshmier’s picture

Assigned: Unassigned » srilakshmier
srilakshmier’s picture

Assigned: srilakshmier » Unassigned
Status: Active » Needs review
StatusFileSize
new3.55 KB

Uploaded the patch based on the proposed resolution against 9.3.x. Please review.

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.0-rc1 was released on November 26, 2021, which means new developments and disruptive changes should now be targeted for the 9.4.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.0-alpha1 was released on May 6, 2022, which means new developments and disruptive changes should now be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.5.x-dev » 10.1.x-dev

Drupal 9.5.0-beta2 and Drupal 10.0.0-beta2 were released on September 29, 2022, which means new developments and disruptive changes should now be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

nayana_mvr’s picture

Verified 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.

smustgrave’s picture

Issue tags: +Needs usability review
aaronmchale’s picture

Status: Needs review » Needs work
Issue tags: -Needs usability review

Usability 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:

  • Book pages: Pages with the same parent are displayed in ascending numerical order, from negative to positive values. Pages with the same weight are sorted by title.
  • Taxonomy terms: Terms with the same parent are displayed in ascending numerical order, from negative to positive values.
  • Menu links: Menu links at the same depth are displayed in ascending numerical order, from negative to positive values.

Version: 10.1.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch, which currently accepts only minor-version allowed changes. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.