hyperhive/frontend/packages/dashboard/src
iris 88bc07fbbe dashboard: surface in-flight rebuild on container card (#398)
The SW4RM tab's container card was reading container state
straight from the snapshot — when a rebuild was in flight and the
container was momentarily stopped between teardown and bring-up,
the card showed "stopped" while the SYST3M tab's rebuild queue
showed the operation running. The two surfaces disagreed.

Mara: *should show as building in container page as well*.

Cross-reference: build a `inFlightOpsByAgent()` map from
`rebuildQueueState` (kinds: rebuild / meta_update / destroy;
states: queued / running — skip `spawn` since transients already
drive that case). When rendering each container row, prefer the
operator-initiated transient if set; otherwise fall back to the
in-flight queue entry as a synthetic pending kind:
`rebuilding` / `meta-updating` / `destroying` (or `… queued`
when still waiting on the worker). The existing `pending-state`
spinner badge surfaces it visually — no new CSS rule needed.

Also wire `applyRebuildQueueChanged` to re-render containers so
the badge lights up the moment a rebuild lands in the queue and
clears the moment it finishes — no manual refresh.
2026-05-25 01:16:10 +02:00
..
app.js dashboard: surface in-flight rebuild on container card (#398) 2026-05-25 01:16:10 +02:00
dashboard.css dashboard: connect tree-prefix vertical bars across taller rows (#388) 2026-05-25 01:09:03 +02:00
flow.html dashboard: tab strip above banner-thin in chrome (#389) 2026-05-25 00:38:12 +02:00
index.html dashboard: tab strip above banner-thin in chrome (#389) 2026-05-25 00:38:12 +02:00