Repository navigation
fix(minesweeper): remove divergent board New Game toolbar button (#448) - #449
Merged
Merged
Conversation
The board route attached a `.primaryAction` "New Game" toolbar button
(`minesweeper.board.newGame`) that Sudoku's board route does not have.
Remove the entire `.toolbar { ... }` block to restore parity.
The `onNewGame` argument into `MinesweeperBoardView` is kept — the
Completion overlay's New Game CTA still uses it — as is the
`popToNewGame` helper it routes to.
Refs #448 (item ③).
Co-Authored-By: Claude Opus 4.8 <[email protected]>
Closed
4 tasks
wei18
added a commit
that referenced
this pull request
Jun 10, 2026
…fix theme/issue citations (#459) Code Reviewer (REJECT) on PR #462 — four factual inaccuracies in the re-tag pass: - New Game mode (#410-removed) still depicted: M01/M02 cards, M03 active sidebar row + picker detail, M05/M07/mac-Settings sidebar rows, M08-M12 board navbar buttons (#449-removed), M13 rail button — all purged; M03 detail now shows the shipped Home mode cards - tokens panel prose/callout still claimed 'no theme' under the IMPLEMENTED heading → rewritten as-built (MinesweeperTheme.swift; baseline-churn note) - best-time-row citations pointed at #284 (closed, unrelated clear-cache issue) → #455 save-flow (3 spots) - reminders banner overstated ReminderPrimerCoordinator as 'both apps' → Sudoku post-Daily + shared Settings section (both apps) - suggestions folded: MS <title> as-built; Settings sub theme phrasing; ErrorReport doc comment no longer cites the removed buffer Telemetry 28 green. Co-Authored-By: Claude Fable 5 <[email protected]>
wei18
added a commit
that referenced
this pull request
Jun 10, 2026
…lit re-export shim (#459) (#462) * chore: re-tag shipped prototypes + remove dead ASC/Telemetry code, split re-export shim (#459) Leader-applied directly: this session's harness denies ALL subagent file writes (worktree + /tmp); two dispatched Developers completed full fact-verification but could not edit. Edits follow their verified line-level findings. - reminders-flow.prototype.html: Phase-2 primer shipped (#287) — banner/meta/honesty notes re-tagged as-built; U2/U3 + macOS P12 caveats kept - minesweeper-app-flow.prototype.html: Home/Daily/Practice (#288/#289), Completion overlay + GC dashboard (#291/#292/#386), MinesweeperTheme — all re-tagged SHIPPED; intentional NOT-YET-BUILT remain only on resume pill (#455) and best-time row (#284); M02 card count fixed 5→4 (#410) - ASCClient: drop dead ClientError.missingResponseBody + its TODO comment - ErrorReporter: remove speculative recent() ring buffer (no production consumer, TODO(issue: TBD)) + its test; LiveErrorReporter init simplifies to (telemetry:) - SudokuEngine: split DeterminismKit re-export out of UTCDayReexport.swift into DeterministicRNGReexport.swift (mirrors MinesweeperEngine) Won't-fix (investigated): docs/designs/code DesignPreviewSnapshotTests XCTest usage — standalone sandbox package outside Project.swift/xctestplans/CI; never runs in the workspace graph. Tests: Telemetry 28 (-1 removed), SudokuCoreKit 131, SudokuKit 220, MinesweeperKit 127 — all green; ASCRegisterKit builds. Co-Authored-By: Claude Fable 5 <[email protected]> * docs: address CR blockers — purge removed New Game mode from frames, fix theme/issue citations (#459) Code Reviewer (REJECT) on PR #462 — four factual inaccuracies in the re-tag pass: - New Game mode (#410-removed) still depicted: M01/M02 cards, M03 active sidebar row + picker detail, M05/M07/mac-Settings sidebar rows, M08-M12 board navbar buttons (#449-removed), M13 rail button — all purged; M03 detail now shows the shipped Home mode cards - tokens panel prose/callout still claimed 'no theme' under the IMPLEMENTED heading → rewritten as-built (MinesweeperTheme.swift; baseline-churn note) - best-time-row citations pointed at #284 (closed, unrelated clear-cache issue) → #455 save-flow (3 spots) - reminders banner overstated ReminderPrimerCoordinator as 'both apps' → Sudoku post-Daily + shared Settings section (both apps) - suggestions folded: MS <title> as-built; Settings sub theme phrasing; ErrorReport doc comment no longer cites the removed buffer Telemetry 28 green. Co-Authored-By: Claude Fable 5 <[email protected]> --------- Co-authored-by: Claude Fable 5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Removes the divergent
.primaryActionNew Game toolbar button(
minesweeper.board.newGame) from the Minesweeper.board(...)route inLiveRouteFactory. Sudoku's board route has no such toolbar item, so thisrestores board-route parity (issue #448, item ③).
Why
The button was a Minesweeper-only divergence. The only behavior it provided —
popping back to the difficulty picker — is already reachable from the
Completion overlay's New Game CTA.
What is kept
onNewGame: { Self.popToNewGame(path: path) }argument passed intoMinesweeperBoardView— the Completion overlay CTA still uses it.popToNewGame(_:)helper it routes to.Only the trailing
.toolbar { ... }modifier block was removed; two adjacentcomments that referenced the now-gone button were updated to avoid a stale
reference.
Verification
swift build --package-path Packages/MinesweeperKit— Build complete.swift test --package-path Packages/MinesweeperKit— 127 tests passed.swift test --package-path Packages/MinesweeperCoreKit— 81 tests passed.git show --stat HEAD— onlyLiveRouteFactory.swiftchanged; no snapshot PNGs.Refs #448.
🤖 Generated with Claude Code