Skip to content

fix(pwa): deterministic build id; data log newest-first; README scree…#3

Merged
Fyfar merged 1 commit into
mainfrom
fix/pwa-spurious-update-prompt
Jun 28, 2026
Merged

fix(pwa): deterministic build id; data log newest-first; README scree…#3
Fyfar merged 1 commit into
mainfrom
fix/pwa-spurious-update-prompt

Conversation

@Fyfar

@Fyfar Fyfar commented Jun 28, 2026

Copy link
Copy Markdown
Owner

…nshot

  • next.config.ts: pin a content-derived generateBuildId. Next's default buildId is random per build and is baked into index.html + the _next/static// path, both precached — so the service worker's content-version changed on every build (even docs-only commits or CI re-runs), prompting every client to "Reload" with nothing actually to update. Hashing the build inputs makes the SW version stable across rebuilds of identical source while still changing on real app changes; unlike a constant id it keeps online users safe (new content → new asset folder).
  • DataLog: render measurements newest-first (latest on top, oldest at the bottom); display-only — the underlying dataset, chart, stats, and CSV stay chronological.
  • README: add interface screenshot near the top + expand the PWA install/offline section (no native .exe/.dmg needed).
  • bump version 1.0.4 → 1.0.5 (single bump for the session); realign stale package-lock version.

…nshot

- next.config.ts: pin a content-derived generateBuildId. Next's default buildId
  is random per build and is baked into index.html + the _next/static/<id>/ path,
  both precached — so the service worker's content-version changed on every build
  (even docs-only commits or CI re-runs), prompting every client to "Reload" with
  nothing actually to update. Hashing the build inputs makes the SW version stable
  across rebuilds of identical source while still changing on real app changes;
  unlike a constant id it keeps online users safe (new content → new asset folder).
- DataLog: render measurements newest-first (latest on top, oldest at the bottom);
  display-only — the underlying dataset, chart, stats, and CSV stay chronological.
- README: add interface screenshot near the top + expand the PWA install/offline
  section (no native .exe/.dmg needed).
- bump version 1.0.4 → 1.0.5 (single bump for the session); realign stale
  package-lock version.
@Fyfar Fyfar merged commit cbb5e25 into main Jun 28, 2026
2 checks passed
@Fyfar Fyfar deleted the fix/pwa-spurious-update-prompt branch June 28, 2026 09:19
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