Watch
0
0
Fork
You've already forked hyperhive
0

swarm-ui: show agent panel read failures as text and keep loaded data

Inference, resource caps and linked accounts showed a failed read as a
badge with the reason in a hover title, which keyboard and touch users
cannot read. They now use ApiErrorPanel, and a list that already loaded
stays on screen under a failed refetch.
This commit is contained in:
iris 2026-10-21 22:23:38 +02:00 • committed by mara
commit e727774dc8
4 changed files with 38 additions and 29 deletions

View file

@ -435,7 +435,10 @@ name that already holds an account; delete that account first to replace it.
The agent's detail panel lists its linked accounts under **accounts**, one row
per account: kind, name and host. Opening an agent makes one request,
`GET /api/hives/{hive}/agents/{agent}/linked-accounts`, which returns every
account of that agent as names and hosts and never a credential.
account of that agent as names and hosts and never a credential. When the panel
fails to read the accounts, the inference settings or the resource caps, it
shows the reason as text. A list the panel already loaded stays on screen
beneath the error.
| kind | one row per | name | host |
| ------- | ------------------------------------------- | ----------- | ------------------------ |