Duplicate summary on some admin pages using vertical tabs

Created on 8 January 2025, 12 days ago

Problem/Motivation

Multiple admin pages that use vertical tabs have duplicate summaries on their tabs (e.g. Media add/edit forms).

Steps to reproduce

- Install Drupal 10.4.1 and select Standard installation profile (this should install Claro as the admin theme).
- Go to /block/add and notice how the revision information vertical tab as a duplicate summary: "Revision informationNo revision"
- The same issue occurs when adding/editing media and taxonomy terms.

Proposed resolution

Add "core/drupal.vertical-tabs" library as a dependency of "drupal.collapse" on "core.libraries.yml" to ensure that "core/misc/vertical-tabs.js" is loaded before "core/misc/details-summarized-content.js".

Remaining tasks

- Create MR.

User interface changes

- Will fix duplicate summaries on vertical tabs on some content entity forms like Media, Content Block, and Taxonomy Term.
- Note: The proposed solution will also address https://www.drupal.org/project/drupal/issues/3493182 πŸ› Block visibility settings have summary duplicated in the title Active and remove the need for adding "core/drupal.vertical-tabs" as a dependency of "ckeditor5/internal.drupal.ckeditor5.filter.admin".

Introduced terminology

N/A

API changes

N/A

Data model changes

N/A

Release notes snippet

N/A

πŸ› Bug report
Status

Active

Version

10.4 ✨

Component

asset library system

Created by

πŸ‡ΊπŸ‡ΈUnited States mmenavas

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

Comments & Activities

Production build 0.71.5 2024