Add option to exclude the dialog replacement on admin pages

Created on 19 January 2024, 5 months ago

Problem/Motivation

Currently, the old "dialog.js" library will always get replaced with our "dialogAdapter.js" library no matter what. Since the module is in a very early alpha state, and hasn't been tested intensively, it might be a good idea to switch off the replacement for admin pages, where dialog behavior might get a lot more complex than on the "frontend" (e.g. having multiple open dialogs at once, through paragrpahs, etc.).

Currently, we are switchting out the libraries through "hook_libraries_info_alter()". It might be not possible to switch off the module logic for certain pages, because of the generell caching logic. We need to check that!

Steps to reproduce

Proposed resolution

Add option to exclude the dialog replacement on admin pages

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany Grevil

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

Comments & Activities

Production build 0.69.0 2024