Skip to content

Detect updates without browser refresh - #52

Merged
olegberman merged 1 commit into
mainfrom
agent/live-update-detection
Jul 28, 2026
Merged

Detect updates without browser refresh#52
olegberman merged 1 commit into
mainfrom
agent/live-update-detection

Conversation

@olegberman

Copy link
Copy Markdown
Contributor

What changed

  • Hide the update banner and duplicate install action after the Cloudflare build starts.
  • Recheck the signed stable release on sign-in, foreground return, and a bounded interval.
  • Accelerate service-worker checks during an active update and retain the build marker across a same-tab refresh.
  • Publish the change as HQBase 0.1.20 with release notes.
  • Update staging coverage to assert foreground detection without page.reload().

Why

Update availability was held in stale component state, the shell checked only every six hours, and starting a build did not inform the PWA lifecycle.

Validation

  • CI=true pnpm check
  • CI=true pnpm deploy:dry-run
  • Rendered at 1280x720 and 390x844

@olegberman
olegberman marked this pull request as ready for review July 28, 2026 20:38
@olegberman
olegberman merged commit b5521b6 into main Jul 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant