Skip to content

Implement new card-based home page (#214)#263

Open
xenobiasoft wants to merge 1 commit intomainfrom
feature/214-new-home-page
Open

Implement new card-based home page (#214)#263
xenobiasoft wants to merge 1 commit intomainfrom
feature/214-new-home-page

Conversation

@xenobiasoft
Copy link
Copy Markdown
Owner

Summary

  • Replaces the accordion-style home page with three navigation cards: Profile (Create/Manage), Start New Game, and Browse Game List
  • Adds dedicated Select Difficulty page (/select-difficulty) and Game List page (/games) in both React and Blazor
  • Simplifies usePlayerService to be localStorage-only (removes backend profile verification and auto-navigate side effects); exposes isNewPlayer flag
  • Silent legacy migration: sudoku-aliassudoku-profile (with new GUID) runs on home page mount with no visible feedback
  • New players see "Create Profile" card enabled (primary styling) and game cards disabled with helper text; returning players see all cards enabled
  • Feature parity across Blazor Server and React/Vite frontends

Test plan

  • All 154 React tests pass (npm test)
  • All 724 .NET tests pass (dotnet test)
  • New player flow: visit /, see "Create Profile" highlighted and game cards disabled with helper text
  • Returning player flow: all three cards enabled, "Manage Profile" label on profile card
  • Legacy player flow: sudoku-alias present → silently migrated to sudoku-profile on page load, rendered as returning player
  • Start New Game navigates to /select-difficulty; each difficulty navigates to /new/{difficulty}
  • Browse Game List navigates to /games; games load, load/delete actions work, empty state shown when no games
  • Direct visit to /select-difficulty or /games without a profile redirects to /
  • Back buttons on both new pages return to /

Closes #214

🤖 Generated with Claude Code

…st pages (#214)

Closes #214

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New Landing/Home Page

1 participant