hyperhive/frontend/packages/swarm-ui/src/ui
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris 5fdbf0b452 swarm-ui: add required hive dropdown to CreateAgentPage
Closes #3434.

Agent creation had no way to record which hive an agent runs on.
POST /api/agents now requires a hive, so the roster fetched off
GET /api/hives backs a required SelectField here rather than a
free-text field. Single-hive swarms auto-select their only hive;
multi-hive swarms show a disabled placeholder and force an explicit
choice.

Rebuilt on top of the #3448 form kit (merged after this branch was
originally opened): reuses TextField/SelectField/Button instead of
page-scoped input chrome, and SelectField gains an optional disabled
placeholder option (needed for the loading/empty/multi-hive states
here, generalizes cleanly for future callers). Form goes back to a
column layout per mara's earlier visual feedback on this same page
(two fields of different natural width no longer line up in a row).
2026-08-18 21:02:17 +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: colocate component CSS as JS-side-effect imports 2026-08-12 21:33:44 +02:00
select-field swarm-ui: add required hive dropdown to CreateAgentPage 2026-08-18 21:02:17 +02:00
status-chip swarm-ui: colocate component CSS as JS-side-effect imports 2026-08-12 21:33:44 +02:00
table swarm-ui: colocate component CSS as JS-side-effect imports 2026-08-12 21:33:44 +02:00
text-field swarm-ui: shared form-field kit (TextField, SelectField, Button) 2026-08-18 20:29:11 +02:00