Repository navigation
v0.33.0 — auto-refresh metrics + Live indicator
Highlights
The Metrics tab now auto-refreshes every 30 s. A pulsing green "Live"
indicator in the toolbar shows the last refresh time. When you switch
tabs, hide the page, or open a different browser tab, the indicator
dims to "paused" — and the refresh interval stops to avoid burning DB
queries while you can't see them.
What's new
| Behaviour | Detail |
|---|---|
| Auto-refresh | 30 s cadence, metrics + projects + heatmap |
| Pause-on-hidden | Page Visibility API — no refreshes while tab is in background |
| Pause-on-other-tab | No refresh while Sessions tab is active (SSE pipeline already handles it) |
| Manual refresh | ↻ button in the toolbar (also shows a spin animation) |
| Keyboard shortcut | r / R triggers an immediate refresh (CCMeter parity) |
| Live counter | "12s ago" / "just now" / "paused" depending on state |
Image
docker pull ghcr.io/onestepat4time/polaris:0.33.0
docker pull ghcr.io/onestepat4time/polaris:latestWhat's changed
- feat(ui): auto-refresh metrics every 30s + Live indicator + r shortcut (#84)
Full changelog: v0.32.0...v0.33.0