Offer a long filter list as a popover multi-select instead of a wall of chips #92

Merged
lilleman merged 3 commits from filter-multiselect into main 2026-08-25 14:40:46 +02:00
Owner

filter-bar gains a multiselect control: the same checkboxes chips renders, moved into the existing menu popover, with the chosen count on the trigger and the applied pills unchanged. Chips stay right for a handful of options; past that they are two rows of the bar.

Zero-JS throughout — the browser owns open/close, and a ticked box inside a closed popover still submits with the form.

menu gains trigger.count (a badge) for it. New control type on a contract-visible partial, so HOST_API_VERSION goes to 0.3.0 and the bundled examples' literals follow.

`filter-bar` gains a `multiselect` control: the same checkboxes `chips` renders, moved into the existing `menu` popover, with the chosen count on the trigger and the applied pills unchanged. Chips stay right for a handful of options; past that they are two rows of the bar. Zero-JS throughout — the browser owns open/close, and a ticked box inside a closed popover still submits with the form. `menu` gains `trigger.count` (a badge) for it. New control type on a contract-visible partial, so `HOST_API_VERSION` goes to 0.3.0 and the bundled examples' literals follow.
lilleman added 1 commit 2026-08-25 09:10:31 +02:00
lilleman added 1 commit 2026-08-25 09:15:33 +02:00
lilleman added 1 commit 2026-08-25 09:38:36 +02:00
Keep the control-choosing rule where a caller picks one
CI / full-gate (push) Successful in 2m50s
Mirror / github-mirror (push) Successful in 3s
43bb004ae7
lilleman merged commit 43bb004ae7 into main 2026-08-25 14:40:46 +02:00
lilleman deleted branch filter-multiselect 2026-08-25 14:40:46 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: larvit/plainpages#92