hyperhive/hive-c0re
iris 6f3b56ad84 dashboard: tick question TTL chip every second
The ` MM:SS` chip on an asked-with-timeout question was rendered
once and then frozen — the operator saw stale info (e.g. 48s
sitting unchanged for the whole TTL window) (issue #335).

Stamp the deadline onto the chip as `data-deadline` and run a
single page-wide setInterval that refreshes every `.q-ttl[data-
deadline]`'s textContent each second. No re-render of the
questions section; no new state on the client. No-op when no
chips are on screen.

Also pulls the bucketed seconds-to-string logic into a
`formatTtl` helper so the renderer and the ticker share one
source of truth.

Closes #335.
2026-05-23 10:44:05 +02:00
..
assets dashboard: tick question TTL chip every second 2026-05-23 10:44:05 +02:00
src dashboard: same bind retry policy as the agent half 2026-05-23 02:32:33 +02:00
Cargo.toml forge: use base64 crate for avatar payload 2026-05-23 01:15:16 +02:00