Watch
0
0
Fork
You've already forked hyperhive
0

swarm-ui: the agents page shows placeholder cards in the shape of the real ones while the roster loads

A new Skeleton (a shimmering shape, still where motion is off) and a region
that tells assistive tech once that something is loading. The agent card's
header is split into AgentCardLayout, a layout with a slot for each part: the
card fills the slots with the real icon, badges and controls, its new
AgentCardSkeleton twin fills the same slots with placeholder shapes, so the
card that replaces it lands in the same place. The agents page uses the twin in
place of its "loading…" text.
This commit is contained in:
iris 2026-11-05 23:18:33 +01:00 • committed by mara
commit 27c4a593bb

View file

@ -77,7 +77,9 @@ card in place; select it again to close it. Several cards can be open at once,
and a card stays open across the page's refresh, but not across a reload. The
filter card, which also holds the **+ agent** button and the refresh picker,
filters by name, hive, status, message, wanted state
and config PR.
and config PR. While the roster loads for the first time, the page shows grey
placeholder cards with the same layout as the real ones, so the cards don't jump
when the data arrives. The placeholders stand still where motion is off.
An opened card has four sections, and each reads nothing until you open it.
**status** and **terminal** start open, the other two folded: