Adjust to the changes introduced reorganizing Block items in the administration menu

Created on 26 October 2022, about 2 years ago
Updated 2 August 2024, 5 months ago

Problem/Motivation

Currently the Block items are getting reorganized in the administration menu. Instead of opening a new issue @smulvih2 and I agreed to rescope this issue, which was initially about the same goal, but tried to accomplish that solely in admin_toolbar (the problems see in #8 โœจ Adjust to the changes introduced reorganizing Block items in the administration menu Needs work and #9 โœจ Adjust to the changes introduced reorganizing Block items in the administration menu Needs work ). The changes introduced with ๐ŸŒฑ [meta] Reorganize Block items in the administration menu Active will definitely require adjustments for admin_toolbar. Issue identified so far are:

for ๐Ÿ“Œ Move custom block types admin link to admin/structure Fixed : the menu item custom block types got renamed to block types and moved one level up the hierarchy so it is on the same level like block layout, content types, media types and so on. but under block layouts there is still another menu item block types.

for โœจ Move Custom block library to Content Fixed : on /admin/content the Blocks tab is placed between content and Comments but in admin toolbar custom blocks is placed between comments and files.

Proposed resolution

The issue is set to postponed until the moving and renaming issues in Core are landed otherwise it might lead to unnecessary extra work. I will keep the list of identified issues up to date along the way.

Remaining tasks

User interface changes

API changes

Data model changes

Original report by @smulvih2

Currently all block_content links are added under Structure, see image below:

Feedback on current links added under Structure:

  • Add custom block - this is content and not structure, so should be nested under Content
  • Block types - keep this menu item where it is since it is Structure, remove this link if drupal/block_content_permissions module is enabled since it provides a more granular menu structure for this.
  • Custom block library - this is content similar to the Content overview page, should not be under Structure

Here is what I propose for the block_content links:

New links:

  • Blocks - goes to the blocks overview page that lists all custom blocks
  • Add block - goes to the page that lists links to add blocks of different types
  • List all of the available block_content_type under Add block
โœจ Feature request
Status

Closed: outdated

Version

3.2

Component

User interface

Created by

๐Ÿ‡จ๐Ÿ‡ฆCanada smulvih2 Canada ๐Ÿ

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

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024