Consider using Splitbutton for Settings button when available

Created on 18 May 2023, over 1 year ago
Updated 8 June 2023, over 1 year ago

Problem/Motivation

Thank you @mherchel for pointing out that Drupal 10 may eventually have a new widget to replace the drop button called split button. Splitbutton will be more flexible than dropbuttons by using an array of buttons as it's children instead of links. The use of buttons is interesting for our use case as those buttons could be extended to allow checkboxes to provide the user the knowledge if the localSetting is toggled on or off.

The road to get splitbutton into Core has been long and winding. We can track it here β†’ . When this gets in we can look at our implementation of the settings button and consider using a splitbutton instead.

Remaining tasks

  1. Wait for splitbutton
  2. maybe use it instead of our generative javascript

User interface changes

Better looking / more accessible settings button

✨ Feature request
Status

Postponed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States cosmicdreams Minneapolis/St. Paul

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

Comments & Activities

Production build 0.71.5 2024