Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/frontend/packages/dashboard/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris 06b2bd8b72 matrix-accounts: 3-state live status dot + user_id + snapshot freshness
Frontend for the BE-4 snapshot (#1702): GET /api/matrix-accounts now returns
per-account `live` + `user_id` and a top-level `as_of_unix`. Render a 3-state
dot instead of the v1 token-present-only one:

- green  (live + container running)  — online
- amber  (live + container DOWN)      — stale: the page already loads
  /api/state containers, so cross-reference running state; a container that's
  down means the daemon is down, so a "live" snapshot there is stale
- amber  (token_present + !live)      — provisioned but offline
- grey   (no token)                   — not provisioned

The daemon rewrites its snapshot only on (re)start, so `as_of_unix` is "live as
of", not a heartbeat — surfaced as a tooltip. We deliberately do NOT dim a
green purely on snapshot age (an old as_of is ambiguous: stable uptime vs dead
daemon); the container cross-ref catches the definitive down case, and true
daemon-up-but-client-dead detection is the daemon-heartbeat follow-up. user_id
is shown next to the account name. When `live` is absent (v1 backend not yet
deployed) the dot falls back to the token-present rendering, so this is safe to
ship independent of the backend deploy.

FE half of #1702 BE-4; pairs with the backend PR.
2026-06-22 12:53:52 +02:00
..
call.js dashboard: point frontend at the /api/* backend routes 2026-06-22 00:45:26 +02:00
colors.css refactor(frontend): base16 theme contract in a swappable colors.css 2026-06-08 21:24:07 +02:00
common.css fix(frontend): stack the warning banner + tab bar in one sticky wrapper (#1587) 2026-06-10 01:05:55 +02:00
common.js dashboard: stream the running rebuild's build log inline in the queue 2026-06-22 01:55:38 +02:00
core.css dashboard: stream the running rebuild's build log inline in the queue 2026-06-22 01:48:32 +02:00
core.html dashboard: stream the running rebuild's build log inline in the queue 2026-06-22 01:48:32 +02:00
core.js dashboard: stream the running rebuild's build log inline in the queue 2026-06-22 01:55:38 +02:00
dashboard.css dashboard: themedPrompt is a textarea — Enter submits, Shift+Enter newline 2026-06-21 23:55:15 +02:00
dashboard.html dashboard(html): fix stale P3RM1SS10NS pane comment after the save-all change 2026-06-17 20:14:09 +02:00
flow.css chore(frontend): scrub pre-existing issue-tag refs from source comments 2026-06-09 00:24:49 +02:00
flow.html refactor(frontend): extract the page-chrome into @hive/shared (#1464 step 3) 2026-06-09 09:13:35 +02:00
flow.js dashboard: point frontend at the /api/* backend routes 2026-06-22 00:45:26 +02:00
home.css dashboard(home): matrix-rain backdrop on the H0M3 page 2026-06-17 21:46:25 +02:00
home.js dashboard(home): harden matrix-rain fade-trail colour parsing 2026-06-17 21:59:12 +02:00
index.html dashboard(home): matrix-rain backdrop on the H0M3 page 2026-06-17 21:46:25 +02:00
logs.css feat(dashboard): AUD1T — privileged-actions audit trail as a LOGS sub-tab 2026-06-13 15:31:50 +02:00
logs.html feat(dashboard): AUD1T — privileged-actions audit trail as a LOGS sub-tab 2026-06-13 15:31:50 +02:00
logs.js dashboard: stream the running rebuild's build log inline in the queue 2026-06-22 01:55:38 +02:00
matrix-accounts.css matrix-accounts: 3-state live status dot + user_id + snapshot freshness 2026-06-22 12:53:52 +02:00
matrix-accounts.html dashboard: drop matrix-accounts experimental notice; relabel list as provisioned 2026-06-16 10:22:53 +02:00
matrix-accounts.js matrix-accounts: 3-state live status dot + user_id + snapshot freshness 2026-06-22 12:53:52 +02:00
modal.js dashboard: themedPrompt is a textarea — Enter submits, Shift+Enter newline 2026-06-21 23:55:15 +02:00
permissions.js dashboard: single save-all button for the permissions page 2026-06-17 18:58:56 +02:00
schedules.js dashboard: reset-timer checkbox on recurring fire-now 2026-06-22 01:06:24 +02:00
settings.css refactor(frontend): extract the page-chrome into @hive/shared (#1464 step 3) 2026-06-09 09:13:35 +02:00
settings.html refactor(frontend): extract the page-chrome into @hive/shared (#1464 step 3) 2026-06-09 09:13:35 +02:00
settings.js refactor(frontend): move S3TT1NGS to its own /settings.html page (#1464 step 2) 2026-06-08 23:44:22 +02:00
state.js dashboard: extract operator-inbox + approvals into call.js (#1451) 2026-06-16 10:22:53 +02:00
stats.css refactor(frontend): extract the page-chrome into @hive/shared (#1464 step 3) 2026-06-09 09:13:35 +02:00
stats.html refactor(frontend): extract the page-chrome into @hive/shared (#1464 step 3) 2026-06-09 09:13:35 +02:00
stats.js refactor(frontend): move ST4TS to its own /stats.html page (#1464 step 2) 2026-06-09 00:11:43 +02:00
stream-worker.js dashboard: point frontend at the /api/* backend routes 2026-06-22 00:45:26 +02:00
system-sections.css refactor(dashboard): move SYST3M section CSS into shared system-sections.css 2026-06-15 09:54:55 +02:00
tabs.js remove vestigial agent-ports.json tcp web-port map 2026-06-22 11:59:14 +02:00
theme.css refactor(frontend): base16 theme contract in a swappable colors.css 2026-06-08 21:24:07 +02:00
util.js refactor(frontend): extract shared render/format helpers into util.js (#1451) 2026-06-09 14:52:01 +02:00