Commit Graph

3 Commits

Author SHA1 Message Date
Jeff Emmett a192dcaa7f feat: proper PWA update flow — clear SW cache + activate new worker
The "Update Now" banner now clears all service worker caches,
activates any waiting service worker via SKIP_WAITING message,
and reloads. SW registration also periodically checks for updates.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 17:37:42 -04:00
Jeff Emmett 0f76ce3cd7 feat: make update banner more prominent with header and one-click button
Redesigned the PWA update notification from a thin bar to a bold,
animated banner with gradient background, pulsing download icon,
"Update Available" header, and a large "Update Now" pill button.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-31 12:20:02 -07:00
Jeff Emmett b122d00be3 feat: add "tap to update" banner when new version is deployed
Polls /api/version every 60s and on tab focus. When the server's
build ID differs from the one loaded at page init, a fixed purple
banner appears at the top of the screen prompting the user to reload.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-30 23:35:02 -07:00