Make the user expiration form field less prominent below the roles

Created on 25 July 2024, 5 months ago
Updated 19 September 2024, 3 months ago

Problem/Motivation

When checking a role that has user role expiration enabled, the expiration form field appears with its description.

It would be nice to have it less prominent and space-consuming, as setting an expiration is not a key functionality in most cases.

Steps to reproduce

See above

Proposed resolution

  1. Wrap the field into a closed details field group (only exposed if an expiration date is present)
  2. Add a setting for the default in the global module settings, having "collapsed" by default
  3. If possible, place it beside the roles (but I think this will be hard with Drupal's minimal default CSS classes available) or needs custom CSS

Remaining tasks

  1. Discuss
  2. Implement
  3. Test
  4. Release

User interface changes

See above

API changes

None

Data model changes

Additional setting for the default details fieldset style

✨ Feature request
Status

Needs work

Version

4.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany Anybody Porta Westfalica

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