Watch
0
0
Fork
You've already forked hyperhive
0

swarm-ui: tooltip on the inert wanted badge says to create the agent at swarm level; docs note destroy needs it too

This commit is contained in:
atlas 2026-10-25 16:09:14 +01:00
commit 711e413901
2 changed files with 4 additions and 2 deletions

View file

@ -83,6 +83,7 @@ export function WantedMenu({
return (
<div class="ui-dropdown-anchor" ref={anchorRef}>
<Badge
value={pending ? "…" : (row.wanted ?? "no declaration")}
tone={tone}
// `destroyed` and an undeclared row block opening the menu at
// all — a UX-only guard, the server enforces both (see
@ -96,7 +97,7 @@ export function WantedMenu({
: !row.hive
? "no hive on record for this agent — nothing to declare against"
: undeclared
? `${row.name} is not declared at swarm level — create it there`
? "not declared at swarm level: create it there to manage it"
: `declare a new state for ${row.name}`
}
/>