Allow Ajax progress type to be configured for admin dialogs as well

Created on 5 November 2024, 19 days ago

Problem/Motivation

Currently the data-progress-type HTML attribute is not configurable and defaults to throbber (core default). Unfortunately this sometimes leads to layout glitches because of the throbber element being displayed with a line break (e.g. in local tasks), if the theme is not capable of the throbber at that location yet. So it would be nice to be able to configure the progress type in order to allow using the fullscreen progress type as well, where needed.

Proposed resolution

  • Allow Ajax progress type to be configurable - either globally for all admin dialogs (one setting to rule them all) or individually per admin dialog (more flexibility)

Remaining tasks

  • Discuss/decide, if progress type is configurable globally for all admin dialogs or individually per admin dialog. Default should still be throbber so already existing dialogs won't change in behavior
  • Create issue fork and MR to implement this feature

User interface changes

  • Ajax progress type for admin dialogs can either use throbber or fullscreen display, based on the configuration

API changes

n/a

Data model changes

  • If Ajax progress type may be configured globally for all admin dialogs, the admin_dialogs.settings config needs a new property / config key for the progress type
  • If Ajax progress type may be configured individually per admin dialog, those config entities need a new property / config key for the progress type
Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇩🇪Germany hctom

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

Comments & Activities

Production build 0.71.5 2024