Pick up a new version at a safe moment, without Reload (#1341) #1359

Merged
claude-bot merged 1 commit from feat/1341-auto-update into main 2026-11-06 21:04:15 +00:00
Collaborator

Applies a waiting version on an in-app route change, when the tab is hidden, or after 2 minutes idle; only with nothing unsaved, online, and not on the table or a live session's page. The Reload banner appears only after 30 minutes. After an automatic update a quiet notice says "Quest Board was updated." for 5 seconds.

  • src/shell/autoUpdate.js (useAutoUpdate), src/hooks/unsavedWork.js (registry fed by useUnsavedChangesWarning, which useUnsavedChangesPrompt calls).
  • Live session: AppFrame passes live?.session?.id (the campaign's in-progress session) and the pathname to StatusBanners.

Closes #1341 (UP1-UP4).

🤖 Generated with Claude Code

Applies a waiting version on an in-app route change, when the tab is hidden, or after 2 minutes idle; only with nothing unsaved, online, and not on the table or a live session's page. The Reload banner appears only after 30 minutes. After an automatic update a quiet notice says "Quest Board was updated." for 5 seconds. - `src/shell/autoUpdate.js` (`useAutoUpdate`), `src/hooks/unsavedWork.js` (registry fed by `useUnsavedChangesWarning`, which `useUnsavedChangesPrompt` calls). - Live session: `AppFrame` passes `live?.session?.id` (the campaign's in-progress session) and the pathname to `StatusBanners`. Closes #1341 (UP1-UP4). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Pick up a new version at a safe moment, without Reload (#1341)
All checks were successful
CI / Summarisation accuracy eval harness (stub provider) (pull_request) Successful in 1m5s
CI / Backend lint (ruff) (pull_request) Successful in 29s
CI / Which journeys does this change need? (pull_request) Successful in 28s
CI / Does this change touch the recording path? (pull_request) Successful in 28s
CI / Synthetic session harness (no GPU, no LLM) (pull_request) Has been skipped
CI / Bot/backend version sync (pull_request) Successful in 39s
CI / Bot tests and audit (pull_request) Successful in 2m11s
CI / Feedback site tests (pull_request) Successful in 1m10s
CI / Docker image build (pull_request) Successful in 6m52s
CI / Frontend (shard 2/2) (pull_request) Successful in 10m17s
CI / Frontend (shard 1/2) (pull_request) Successful in 12m17s
CI / End-to-end journeys (desktop) (pull_request) Successful in 24m24s
CI / Backend migration, tests, and audit (pull_request) Successful in 41m6s
410a40a05d
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign in to join this conversation.
No description provided.