hyperhive/frontend/packages/dashboard
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris 4731b64f3e feat(dashboard): live ticker for approval request-age chips + precise stale threshold
Approval cards render their age label ("requested N ago") at
render time from a cold /api/state or an approval_added /
approval_resolved SSE event. An approval sitting pending for
an hour would show a stale "0s ago" unless one of those events
fired in the meantime.

Fix: stamp data-requested-at=<unix> on each .approval-ts span.
A 1s setInterval ticker reads all live chips, recomputes the
relative time via fmtAgo, and toggles .stale (amber highlight)
at exactly the 1-hour threshold — no longer dependent on
the next full re-render cycle to apply the amber colour.
2026-06-05 13:47:00 +02:00
..
src feat(dashboard): live ticker for approval request-age chips + precise stale threshold 2026-06-05 13:47:00 +02:00
build.mjs chore: fix stale build.mjs comments + CLAUDE.md dashboard package map 2026-06-02 11:19:32 +02:00
package.json frontend: npm dependency updates (#681) 2026-05-31 01:29:35 +02:00