Skip to content

fix(minesweeper): wire reminderTapRoute and pop one level on completion close - #701

Merged
wei18 merged 1 commit into
mainfrom
fix/696-697-ms-reminder-route-and-close-pop
Jul 5, 2026
Merged

wei18 merged 1 commit into
mainfrom
fix/696-697-ms-reminder-route-and-close-pop

Conversation

@wei18

@wei18 wei18 commented Jul 5, 2026

Copy link
Copy Markdown
Owner

Closes #696, closes #697 — two B-track decisions from the 2026-07-05 uiux audit, owner-approved 2026-07-05.

What

Verification

  • swift test --package-path Packages/MinesweeperKit --no-parallel: 170/170 passed
  • swiftlint --strict on changed files: 0 violations
  • Pure MS-side change (no shared GameAppKit/GameShellKit code touched)

Review

Dual-model review (sonnet + haiku): sonnet approved (its one MINOR — a self-inflicted stale line ref in navigation-flows.md — is fixed in this PR); haiku's closure-capture BLOCKER was adjudicated invalid (capturing the immutable path param vs a local let closePath copy is semantically identical), but the let closePath style is applied anyway for shape-parity with Sudoku.

🤖 Generated with Claude Code

…on close

MS's GameConfig omitted reminderTapRoute so tapping the daily reminder
notification opened the app without navigating; wire it to push .daily,
mirroring Sudoku's AppComposition.live() wiring.

MS's completion re-view Close called popToNewGame (path.removeAll(),
back to Home root); switch to path?.wrappedValue.removeLast() so Close
pops back to the Daily hub, mirroring Sudoku's completion Close. Delete
popToNewGame and its unit tests now that the sole call site is gone.

Updates the two stale navigation-flows.md / screen-contracts.md rows
that documented the fixed asymmetries as current behavior.

closes #696 closes #697

Co-Authored-By: Claude Fable 5 <[email protected]>
@wei18
wei18 enabled auto-merge (squash) July 5, 2026 16:08
@wei18
wei18 merged commit 4e31940 into main Jul 5, 2026
4 checks passed
@wei18
wei18 deleted the fix/696-697-ms-reminder-route-and-close-pop branch July 5, 2026 16:09
wei18 added a commit that referenced this pull request Jul 8, 2026
Consolidates 17+ merged PRs (#701-#734): B1-B4 mirror/product decisions,
TF upload four-PR automation chain, GC/board-loader hardening, and the
MS achievement system, plus the open queue and two operational incidents.

Co-authored-by: Claude Fable 5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant