Repository navigation
feat(minesweeper): Home mode-card entry + reachable Daily/Practice hubs (#288, #289) - #302
Merged
Merged
Conversation
MS opened straight to NewGameView; the Daily/Practice hubs existed in source but had no AppRoute and were unreachable. Add a Home mode-card entry surface mirroring Sudoku's HomeView and make the hubs reachable. - MinesweeperHomeView + MinesweeperHomeViewModel: mode-card grid (New Game, Daily, Practice, Leaderboard, Settings) using RoutePath<AppRoute> navigation (#240) + MinesweeperTheme tokens (no hardcoded colors). Optional Remove Ads card + banner slot mirror Sudoku. - AppRoute: add .newGame, .daily, .practice cases. Leaderboard stays a GC modal side-effect (not a route, mirror #49) — disabled stub card until MS Game Center lands (#291). - LiveRouteFactory: resolve .newGame/.daily/.practice; hubs reachable. - MinesweeperRoot: root content swapped from NewGameView to MinesweeperHomeView; sidebar gains Daily/Practice; banner + monetization deps threaded from composition. - Tests: Home VM interaction (local-stub + injected-binding), new route factory + AppRoute coverage. swift build + 51 tests green. Daily hub shows date-seeded placeholder cards until the Daily model lands (#290); functional-as-is. Closes #288, #289 Co-Authored-By: Claude Opus 4.8 <[email protected]>
This was referenced Jun 3, 2026
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.
Closes #288 and #289. Builds Minesweeper's Home entry surface (mirroring Sudoku's HomeView) and makes the previously-unreachable Daily/Practice hubs navigable.
MinesweeperHomeView+MinesweeperHomeViewModel— mode-card grid (New Game / Daily / Practice / Leaderboard / Settings) + Remove Ads card + banner slot, MS-theme-tinted, 1/2-col responsive (mirror Sudoku).AppRoutegains.newGame/.daily/.practice;LiveRouteFactoryresolves all three →MinesweeperDailyHubView/MinesweeperPracticeHubViewnow reachable.MinesweeperRootroot content swappedNewGameView→MinesweeperHomeView; New Game becomes a.newGamedestination (NewGameView itself untouched). Sidebar gains Daily/Practice.CR: APPROVE-WITH-NITS (no Blocker/High). Verified: Home/hubs render under
MinesweeperTheme(no neutral fallback);.newGame-as-route redesign regression-free (Home→NewGame→Board chain preserved, factory exhaustive); structure matches the TARGET prototype (M02); zero Sudoku changes; swift6 clean; 51 tests pass. Daily hub shows placeholder until the Daily model (#290).🤖 Generated with Claude Code