Skip to content

feat: add /player/{username} route for player boards#195

Merged
rmyers merged 2 commits into
mainfrom
183-playerboard-service
Jun 7, 2026
Merged

feat: add /player/{username} route for player boards#195
rmyers merged 2 commits into
mainfrom
183-playerboard-service

Conversation

@rmyers

@rmyers rmyers commented Jun 7, 2026

Copy link
Copy Markdown
Member
  • New boards feature package with handler and templ templates
  • Route: GET /player/{username} — shows a specific user's player record with up to 3 boards
  • Query: player → boards → projects, renders board cards or empty state
  • Reuse existing GameService for active game lookup
  • Added GetBoardByIDsAndGame query (sqlc) to fetch multiple boards at once
  • Updated leaderboard, activity, and home templates to link to /player/{username}
  • Added tests covering unauthenticated, missing user, and user with boards

Closes: #183

rmyers added 2 commits June 7, 2026 11:39
- New boards feature package with handler and templ templates
- Route: GET /player/{username} — shows a specific user's player record with up to 3 boards
- Query: player → boards → projects, renders board cards or empty state
- Reuse existing GameService for active game lookup
- Added GetBoardByIDsAndGame query (sqlc) to fetch multiple boards at once
- Updated leaderboard, activity, and home templates to link to /player/{username}
- Added tests covering unauthenticated, missing user, and user with boards

Closes: #183
Feature is 'players' (a player's page showing their boards).
Board references within the feature stay as-is (board cards, board info).

Closes: #183
@rmyers rmyers merged commit 5b24d9f into main Jun 7, 2026
1 check passed
@rmyers rmyers deleted the 183-playerboard-service branch June 7, 2026 21:11
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.

Task 3: Backend - PlayerBoard service

1 participant