Watch
0
0
Fork
You've already forked hyperhive
0
Commit graph hyperhive/frontend/packages/swarm-ui/test/relative-time-tick.test.mjs
Author SHA1 Message Date
iris
ad8263740b swarm-ui: a relative-time label wakes when its text changes, not every second
Each <RelativeTime> ran its own one-second interval and redrew each tick, though
"5m ago" holds for a minute and "3h ago" for an hour. Every label now sets a
timeout for the moment its text next changes (next-change.ts), so a list of
timestamps in minutes redraws once a minute.
2026-11-28 09:44:26 +01:00