Make the order of menu items in the content menu consistent with the order of primary tabs on /admin/content

Created on 13 March 2024, over 1 year ago

Problem/Motivation

At the moment the order of the menu items in the content menu is inconsistent with the order primary tabs on /admin/content:

content menu (english - LTR):

  1. blocks
  2. content
  3. files
  4. media

/admin/content (english - LTR)

  1. content
  2. blocks
  3. comments
  4. files
  5. media

content menu (hebrew- RTL):

  1. blocks
  2. media
  3. files
  4. content

/admin/content (hebrew - RTL)

  1. content
  2. blocks
  3. comments
  4. files
  5. media

Steps to reproduce

  • Go to /admin/content
  • Compare the order of menu items in the navigation and the order of primary tabs in for example english and

Proposed resolution

As a short term fix I think it might be a good idea the order of menu items in the content menu should follow the order of primary tabs to get a consistent experience across languages and reading directions. The only question is should comments have a dedicated menu item as well?

But long term a dynamic generation instead of hardcoding as raised by @joachim in https://drupal.slack.com/archives/C7AB68LJV/p1708968993206769 might be a good idea. The related issue for admin_toolbar he provided was generalize creation of 'add ENTITY' and 'add BUNDLE' links Needs review

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

1.0

Component
Navigation 

Last updated about 2 months ago

No maintainer
Created by

🇩🇪Germany rkoller Nürnberg, Germany

Live updates comments and jobs are added and updated live.
  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024