Add links to access scheme and sections from menu pages

Created on 5 February 2024, 8 months ago
Updated 9 February 2024, 8 months ago

It'd be handy to provide a list of section user edit link on the menu page.

Problem/Motivation

This feature comes out of some client requirements.

Provide an easy way for editors to see which sections entities belong to, and manage them from a high-level overview/dashboard.

WBA doesnt necessarily have a good way of knowing the rough structure of a website. Though site builders utilising WBA would typically have enforced menu or taxonomy rules.

The menu page, although not fully comprehensive of a sites hierarchy, can possibly have decent coverage of a sites page and navigation structure.

Proposed resolution

We can augment the menu list overview page by adding a list of sections each entity related to a menu item is a part of. This way it's one-click away from modifying the users in the section.

It should work with any entity type, regardless of canonical route path or id style.

Remaining tasks

Maintainer questions and opinions

  • Is this useful for WBA itself, or should it be a contrib project?
  • Is the feature useful? Would sites using WBA find this useful?
  • If the feature comprehensive? Are user links enough, or should there also be an option for roles? Or perhaps a switch for one or the other or both on a global config level?

User interface changes

Changes to core menu UI menu edit form at /admin/structure/menu/manage/{menu} available by navigating from Structure -> Menus when menu_ui is enabled. If the module is not enabled, the changes do not activate. These changes are a soft/optional dependency.

API changes

New classes and services.
Uses a service pattern w/ autowring instead of legacy classResolver pattern.

Data model changes

Nil.

Feature request
Status

Needs review

Version

2.0

Component

Code

Created by

🇦🇺Australia dpi Perth, Australia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @dpi
  • Merge request !18Menu UI sections links → (Open) created by dpi
  • 🇦🇺Australia dpi Perth, Australia
  • Pipeline finished with Success
    8 months ago
    Total: 255s
    #87629
  • Pipeline finished with Canceled
    8 months ago
    Total: 130s
    #87631
  • Pipeline finished with Success
    8 months ago
    Total: 440s
    #87632
  • Issue was unassigned.
  • Status changed to Needs review 8 months ago
  • 🇦🇺Australia dpi Perth, Australia
  • Pipeline finished with Success
    8 months ago
    Total: 333s
    #87836
  • Pipeline finished with Success
    8 months ago
    Total: 397s
    #87841
  • 🇦🇺Australia dpi Perth, Australia
  • Pipeline finished with Success
    8 months ago
    Total: 338s
    #87861
  • Pipeline finished with Success
    8 months ago
    Total: 428s
    #90998
  • 🇦🇺Australia dpi Perth, Australia

    Ready for review again.

Production build 0.71.5 2024