[P2] Opening Reef Runner unmounts the simulator, losing planner edits and re-applying shared plans #30
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Priority: P2
Type: bug
Source: project review requested 2026-10-26 (second pass)
Location:
src/App.tsx:982Problem and evidence
if (gameOpen) return <ReefRunner/>unmounts the whole shell. (a) Planner edits (depth 100 ft, two segments) are lost after visiting Reef Runner. (b) After a shared-plan link and a units change, returning from the game re-reads#plan=and resets units/gases/circuit. (c) If the planner is requested while in the game, the Planner Mode button no longer opens the dialog because its show effect ran without the element.Suggested correction
Keep the shell mounted (hidden) while the game is shown and open the planner dialog only when the game is not displayed.
Acceptance criteria
Browser regression for (a)–(c); existing game and planner checks pass; pnpm verify passes.
Scope: maintenance of the educational simulator. Preserve historical R1 acceptance and operational-validation limits.
Fixed on
maintenance/review-2026-10-27ince6db2e— PR #40.Shell stays mounted (hidden) while Reef Runner is shown; planner drafts, live units after a shared link and planner requests during the game survive. Chromium regression.
Branch verification:
pnpm verify145 tests and release budgets; Chromium/Firefox/WebKit review, replay, compatibility and offline lifecycle checks; CI verify runs #111/#112 pass. Record:docs/MAINTENANCE-2026-10-27.md. Closes on merge of PR #40.