hyperhive/frontend/packages/swarm-ui/src
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
..
pages swarm-ui: add required hive dropdown to CreateAgentPage 2026-08-18 21:02:17 +02:00
shell swarm-ui: show the swarm's name as the page title and top-left brand 2026-08-18 18:34:56 +02:00
ui swarm-ui: add required hive dropdown to CreateAgentPage 2026-08-18 21:02:17 +02:00
App.tsx swarm-ui: move create-agent page off /agents, rename to CreateAgentPage 2026-08-17 00:20:10 +02:00
colors.css swarm-ui: bootstrap new swarm-level frontend (Preact + wouter + TS + JSX) 2026-08-11 21:31:44 +02:00
css.d.ts swarm-ui: colocate component CSS as JS-side-effect imports 2026-08-12 21:33:44 +02:00
index.html swarm-ui: use absolute asset paths in index.html 2026-08-17 00:24:44 +02:00
main.tsx swarm-ui: bootstrap new swarm-level frontend (Preact + wouter + TS + JSX) 2026-08-11 21:31:44 +02:00
swarm-ui.css swarm-ui: real hive-roster overview page 2026-08-13 11:21:30 +02:00
theme.css swarm-ui: bootstrap new swarm-level frontend (Preact + wouter + TS + JSX) 2026-08-11 21:31:44 +02:00
util.ts swarm-ui: use native Intl.RelativeTimeFormat for fmtAgo, not hand-rolled 2026-08-16 19:05:01 +02:00