hyperhive/frontend/packages/swarm-ui/src/ui
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris fc44891ab5 swarm-ui: compact refresh-interval picker, moved into the panel header
Per mara's review on this PR: the labelled SelectField-based picker
read as way too heavy for a passive-until-touched setting - a full
label+bordered-control form field row above the table. Replace it with
a compact inline "clock icon - value - chevron" control (a native
<select> still drives the interaction, just stripped of SelectField/
FormField's chrome), quiet until hovered/focused the same way
LinksMenu's header button is.

Also move it out of the panel body entirely: Panel gains an `actions`
slot in its title row (right-aligned via margin-left: auto), so the
picker sits next to the "hives" heading instead of taking its own row
and pushing the table down - per the design guide's own "a control
belongs next to the thing it affects" rule.

Verified with headless chromium screenshots (full page + a tight
close-up crop) against the built bundle: the picker now reads as
"(clock) 30s (chevron)" inline with the panel title, no extra vertical
space taken from the table. Added a Panel "with actions" demo to
ComponentsPage.
2026-08-18 23:28:47 +02:00
..
button swarm-ui: shared form-field kit (TextField, SelectField, Button) 2026-08-18 20:29:11 +02:00
form-field swarm-ui: shared form-field kit (TextField, SelectField, Button) 2026-08-18 20:29:11 +02:00
panel swarm-ui: compact refresh-interval picker, moved into the panel header 2026-08-18 23:28:47 +02:00
refresh-interval swarm-ui: compact refresh-interval picker, moved into the panel header 2026-08-18 23:28:47 +02:00
relative-time swarm-ui: self-updating RelativeTime component 2026-08-18 22:12:52 +02:00
select-field swarm-ui: add required hive dropdown to CreateAgentPage 2026-08-18 21:02:17 +02:00
status-chip swarm-ui: self-updating RelativeTime component 2026-08-18 22:12:52 +02:00
table swarm-ui: don't break at a narrow viewport 2026-08-18 22:44:24 +02:00
text-field swarm-ui: shared form-field kit (TextField, SelectField, Button) 2026-08-18 20:29:11 +02:00