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:
parent
7ba684a1da
commit
8966ddbd85
3 changed files with 4 additions and 4 deletions
|
|
@ -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} />
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
|
|
@ -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}
|
||||||
|
|
|
||||||
|
|
@ -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}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue