iris
8917ba27b6
swarm-ui: one polled-resource hook for the refreshing pages
...
Each polling page repeated its own fetch-and-set code on a fixed timer,
so a slow answer could be overtaken by the next tick, an older response
could overwrite a newer one, and nothing aborted a request when the page
went away.
usePolled skips a tick while a request is in flight, aborts on unmount
or refresh, ignores answers from dropped requests, and keeps the last
good data under an error. The alerts, hives, agents, schedules, builds,
review runs and broadcast pages and the subagent list use it.
2026-10-21 23:05:35 +02:00
..
account-kind.test.mjs
swarm-ui link-account forms: keep the sent name, drop secrets, one word for forge
2026-10-21 22:06:49 +02:00
agent-types.test.mjs
swarm UI: an agent that needs a Claude login shows it on its card
2026-10-14 20:07:46 +02:00
alerts.test.mjs
swarm-ui: add a button to the alerts page that shows the pending, no-data and error instances
2026-10-18 13:29:52 +02:00
broadcast-types.test.mjs
swarm-ui: retrying a broadcast shows the agents that failed, even ones the filter hides
2026-10-18 02:40:10 +02:00
builds-types.test.mjs
swarm-ui: a builds page for the swarm builder's runs, and the status links to it
2026-10-18 01:26:45 +02:00
claude-login.test.mjs
swarm-ui: only the newest start's late stop ends a claude login
2026-10-21 21:14:53 +02:00
create-agent-archetype.test.mjs
archetypes: build an archetype agent from its archetype's module on the hive
2026-10-17 16:27:21 +02:00
create-agent-permissions.test.mjs
grant manage_root_agent by stored permission only, not by the name ruth
2026-10-17 08:10:08 +02:00
create-agents-md.test.mjs
swarm-ui: let the create-agent form set the new agent's initial AGENTS.md
2026-10-18 15:59:19 +02:00
issue-report-repo.test.mjs
swarm-ui: keep the issue report's table, errors and repo filter consistent
2026-10-21 22:58:51 +02:00
max-subagents.test.mjs
allow a max_subagents of 0: no subagents for the agent
2026-10-15 22:00:00 +02:00
messages.test.mjs
swarm-ui: key message rows on an arrival id and follow the tail on it
2026-10-18 18:39:11 +02:00
poller.test.mjs
swarm-ui: one polled-resource hook for the refreshing pages
2026-10-21 23:05:35 +02:00
popover-focus.test.mjs
swarm-ui: unit test the popover focus helpers
2026-10-21 23:01:56 +02:00
popover-position.test.mjs
swarm-ui: keep the table filter popover inside the window
2026-10-21 21:31:00 +02:00
rain.test.mjs
swarm-ui: the start page's rain follows the app's motion setting
2026-10-14 18:36:52 +02:00
routes.test.mjs
swarm-ui: give every tab the wide body
2026-10-15 18:34:59 +02:00
ruth-missing.test.mjs
grant manage_root_agent by stored permission only, not by the name ruth
2026-10-17 08:10:08 +02:00
settings-types.test.mjs
swarm ui: one review page
2026-10-15 03:38:48 +02:00
subagent-list.test.mjs
swarm-ui: close a subagent terminal when its subagent leaves the list
2026-10-21 21:12:00 +02:00
swarm-name.test.mjs
swarm-ui: test the rain arithmetic and the swarm name loader
2026-10-14 18:36:52 +02:00
tryout-types.test.mjs
swarm-ui try-out: stable live region, reasons for disabled buttons
2026-10-21 21:45:05 +02:00
unified-diff.test.mjs
swarm-ui: an editor for an agent's AGENTS.md that saves as a diff
2026-10-18 13:17:52 +02:00