Improve usability of Config Enforce UI

Created on 12 February 2023, over 1 year ago
Updated 22 February 2023, over 1 year ago

This is the companion issue to ✨ Improve usability of Config Enforce Devel's UI Postponed because a lot of the form code is actually in Config Enforce, with Config Enforce Devel extending and building on top of said form code.

Problem/Motivation

See ✨ Improve usability of Config Enforce Devel's UI Postponed

Steps to reproduce

Use eyeballs.

Proposed resolution

Phase 1 in the the 1.0.x branch is to move the floating window into the normal flow of the parent form and wrap it in a a '#type' => 'details' along with some other minor improvements (such as adding an icon).

Phase 2 will be in the 2.x branch where we'll refactor it as a standalone form that's progressively enhanced in a Drupal dialog opened and submitted via Ajax.

Remaining tasks

TBD.

User interface changes

Here are some work in progress screenshots. First is with the details element collapsed (the default on loading a form):

Here it is expanded:

And yes, it works correctly on right to left language direction as well:

See ✨ Improve usability of Config Enforce Devel's UI Postponed for what it looks like when Config Enforce Devel is installed.

API changes

Hopefully none, but will probably deprecate a method or two used for the floaty form to be removed later.

Data model changes

None.

✨ Feature request
Status

Postponed

Version

2.0

Component

User interface

Created by

πŸ‡¨πŸ‡¦Canada Ambient.Impact Toronto

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

Comments & Activities

Production build 0.69.0 2024