Watch
0
0
Fork
You've already forked hyperhive
0

swarm-ui: the error and empty texts say agents and hives, not roster

The word named three different things. Only the four strings an operator reads change; code comments and names stay.
This commit is contained in:
iris 2026-11-11 23:03:17 +01:00 • committed by mara
commit 8966ddbd85
3 changed files with 4 additions and 4 deletions

View file

@ -82,7 +82,7 @@ export function AgentDetailPopover({
) : row ? ( ) : row ? (
<AgentDetail row={row} actions={actions} /> <AgentDetail row={row} actions={actions} />
) : row === null ? ( ) : row === null ? (
<p>{agent} is not in the swarm's agent roster</p> <p>{agent} is not in the swarm's agent list</p>
) : ( ) : (
<SkeletonLines label="the agent's details" count={4} /> <SkeletonLines label="the agent's details" count={4} />
)} )}

View file

@ -152,7 +152,7 @@ export function AgentsPage() {
) : null} ) : null}
{error ? ( {error ? (
<ApiErrorPanel <ApiErrorPanel
context="failed to load the agent roster" context="failed to load the agents"
problem={error} problem={error}
/> />
) : null} ) : null}

View file

@ -135,7 +135,7 @@ function HiveRoster() {
</DisclosureAction> </DisclosureAction>
{error ? ( {error ? (
<ApiErrorPanel <ApiErrorPanel
context="failed to load the hive roster" context="failed to load the hives"
problem={error} problem={error}
/> />
) : null} ) : null}
@ -147,7 +147,7 @@ function HiveRoster() {
columns={COLUMNS} columns={COLUMNS}
rows={hives} rows={hives}
rowKey={(h) => h.name} rowKey={(h) => h.name}
emptyMessage="no hives in the roster yet" emptyMessage="no hives yet"
storageKey="swarm-ui:hives:table-filters" storageKey="swarm-ui:hives:table-filters"
/> />
) : null} ) : null}