surface rate_limited status as red badge on per-agent page and dashboard
- add rate_limited: Arc<AtomicBool> to Bus; set/cleared by emit_status - write/remove sentinel file hyperhive-rate-limited in state dir so host-side dashboard can detect it without a live socket call - api_state returns status=rate_limited when flag is set (cold-load accurate) - ALIVE_LABELS gains rate_limited entry (⊘ red chip) on per-agent page - ContainerView gains rate_limited: bool read from sentinel file - dashboard container row shows ⊘ rate limited badge (red) ahead of needs_login Closes #24
This commit is contained in:
parent
808b9cbe1a
commit
804875d670
7 changed files with 69 additions and 10 deletions
|
|
@ -231,6 +231,8 @@ pre.diff {
|
|||
.status-badge.status-loading { color: var(--muted); border-color: var(--purple-dim); }
|
||||
.status-badge.status-online { color: var(--green); border-color: var(--green);
|
||||
text-shadow: 0 0 6px rgba(166, 227, 161, 0.55); }
|
||||
.status-badge.status-rate-limited { color: var(--red); border-color: var(--red);
|
||||
text-shadow: 0 0 6px rgba(243, 139, 168, 0.55); }
|
||||
.status-badge.status-needs-login { color: var(--amber); border-color: var(--amber); }
|
||||
.status-badge.status-offline { color: var(--muted); border-color: var(--muted); }
|
||||
.btn-dashlink {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue