Skip to content

Consolidate leaderboard into one query-param page#91

Open
b006n97 wants to merge 1 commit into
pr-6-statisticsfrom
pr-5-leaderboard
Open

Consolidate leaderboard into one query-param page#91
b006n97 wants to merge 1 commit into
pr-6-statisticsfrom
pr-5-leaderboard

Conversation

@b006n97

@b006n97 b006n97 commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Collapse the four prop-driven per-board routes into a single /leaderboard page that reads ?variant=&type= via useSearchParams and lets the user switch boards in-page. Legacy URLs (/leaderboard/jp, .../casual, /leaderboard/hk, ...) now redirect with the intended board carried in the query string, so existing links/bookmarks still land on the right selection.

App.tsx changes are scoped to the leaderboard routes; games/create routing is migrated in later PRs.

Collapse the four prop-driven per-board routes into a single /leaderboard
page that reads ?variant=&type= via useSearchParams and lets the user switch
boards in-page. Legacy URLs (/leaderboard/jp, .../casual, /leaderboard/hk,
...) now redirect with the intended board carried in the query string, so
existing links/bookmarks still land on the right selection.

App.tsx changes are scoped to the leaderboard routes; games/create routing is
migrated in later PRs.
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.

1 participant