hyperhive/frontend/packages
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris 9c72a4ae3e agent web UI: keep the turn-state badge live instead of freezing until reload
The status badge's elapsed-time text ('thinking Xm Ys') was computed
from Date.now() inside the render function, so it only ever advanced
when the component actually re-rendered. Two gaps let it go stale:

- useAgentState's poll loop is a chained setTimeout, which browsers
  throttle (or suspend outright) once the tab is backgrounded, so
  polling could stall for a long time with no way back to a live
  reading short of a full page reload.
- even under healthy polling, the age text only advanced once every
  ~4s (the poll interval) instead of counting up smoothly.

Fix: resync immediately on visibilitychange (so returning to a
backgrounded tab doesn't leave a stale reading), and drive the age
text off its own 1s interval independent of the poll cadence.
2026-08-31 19:02:57 +02:00
..
agent agent web UI: keep the turn-state badge live instead of freezing until reload 2026-08-31 19:02:57 +02:00
dashboard Move dashboard settings into Y3R C4LL tab, drop standalone S3TT1NGS page 2026-08-31 12:57:31 +02:00
shared Move dashboard settings into Y3R C4LL tab, drop standalone S3TT1NGS page 2026-08-31 12:57:31 +02:00
swarm-ui IssueReportPage: unmount guard on the repos fetch, aria-sort on sortable headers 2026-08-31 19:02:14 +02:00