Attach Ajax dialog library for Views Entity Operations

Created on 29 July 2024, 5 months ago
Updated 25 August 2024, 4 months ago

Problem/Motivation

πŸ“Œ Use a modal for entity delete operation links Fixed introduced a modal for an entity's delete operation link. However, the required library is only attached for EntityForm and EntityListBuilder. As a result, Views does not apply the modal.

Note this issue is currently mitigated:
- Sites using the Toolbar module have the required 'core/drupal.dialog.ajax' included on every page
- Claro added its own workaround: πŸ› Claro low contrast for buttons in dialog Fixed

Steps to reproduce

Use a minimal installation, enable the 'node' and 'views' module. Notice the 'delete' link in admin/content does not open a modal.

Proposed resolution

Attach Ajax dialog library for Views Entity Operations

Remaining tasks

  1. Write a patch
  2. Review
  3. Commit

User interface changes

The 'delete' operation link opens a modal for sites not using Toolbar or Claro

Introduced terminology

None

API changes

None

Data model changes

None

Release notes snippet

To be determined.

πŸ“Œ Task
Status

Fixed

Version

11.0 πŸ”₯

Component
ViewsΒ  β†’

Last updated about 13 hours ago

Created by

πŸ‡³πŸ‡±Netherlands idebr

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024