Select all on every checkbox group, and buttons that stay on one line
Explore this workspace.
Technical background
Every group of checkboxes in the settings has a Select all box at its title: ticked when every box is, clear when none is, and showing a dash when only some are. Clicking it with some or none ticked selects everything; clicking it with everything ticked clears it. It is a real checkbox, so it takes the keyboard and a screen reader announces the mixed state. The field-group header it replaces had only ever saved its last field. Buttons no longer break their label over two lines beside long text, such as "Add as rule" beside a long pattern: the text wraps instead, and a settings row puts its control underneath when the window is too narrow for both. An audit of every settings button found 51 of 199 wrapping, clipped or pushed off the page before, and none after.
The problem
Checkbox grids such as an integration's "Show in tooltip" fields had no way to tick or clear the whole group, and the per-group header that tried only ever saved its last field. Buttons beside long text, like "Add as rule" next to a long pattern, were squeezed until their label broke over two lines or was clipped.
How it works
A reusable select-all-checkbox sits at each group's title: ticked when every box is, clear when none is, and indeterminate when some are. Clicking it with some or none ticked selects all; with all ticked it clears them, in one write. A global .btn rule keeps labels on one line and stops buttons shrinking; the text beside them wraps instead, and a settings row moves its control underneath when the window is too narrow.
Details
- It is a real checkbox: it takes focus and Space, and a screen reader announces the mixed state.
- A CDP audit of every settings button found 51 of 199 wrapping, clipped or overflowing before, and none of 212 after.
What this does not claim
- Below about 720px the settings page overflows regardless of its buttons.