audit command palette

This commit is contained in:
2026-11-08 12:48:07 +07:00
parent abb56567e4
commit 4b7fce8edc
4 changed files with 31 additions and 16 deletions
+5 -9
View File
@@ -14,10 +14,6 @@ is the first downstream consumer; its screens drive the order.
Platform metric adoption continues one component at a time; each stop goes
through the review gate and a gallery pass.
- [ ] **Combobox platform chrome** — popup border behind
`Theme::borders.overlays`; the trigger follows the input stop's field
treatment.
- [ ] **Command palette platform chrome** — overlay border gate.
- [ ] **Switch platform chrome** — stated track and knob dims
(`switch_height` / `switch_width` / `switch_knob`, inset and travel
derived); borderless knob.
@@ -143,11 +139,10 @@ Gaps surfaced by the signed comparison; ordered by signed's usage.
(`.w(...)`) set the width; the empty field keeps its placeholder while
focused (`Input::placeholder_when_focused`) and clicking into it opens
the options right away, with no keystroke needed
- [x] Combobox platform chrome — the popup border behind
- [x] Command palette platform chrome — the panel border behind
`Theme::borders.overlays` (and dark mode), taking the surface color
where the platform paints none; the trigger is a plain `Input`, so it
already carries the full field treatment, and the chevron recenters on
the field's full height, border included
where the platform paints none; it rides the dialog elevation, so dark
mode's no-shadow rule applies to it too
- [x] Button, Checkbox, Switch, Radio + RadioGroup, Toggle, Link, Slider,
Progress, Avatar (image + seeded pixel-art fallback)
- [x] Spinner — painted ring + rotating-icon variant, indeterminate and
@@ -166,7 +161,8 @@ Gaps surfaced by the signed comparison; ordered by signed's usage.
screen-reader label
- [x] Combobox — type-to-filter picker with a caller-owned matcher, create /
keep / revert blur modes
- [x] Command palette — filtered actions; the matcher stays caller-owned
- [x] Command palette — filtered actions; the matcher stays caller-owned,
and commands may carry a leading icon
- [x] Scrollbar — overlay thumbs for gpui's `list` and `uniform_list`,
platform autohide with a `visibility` override
- [x] Clipboard button — copies a value, confirms with a brief check mark