Skip to content

Leaderboards: read-only board page - #47

Merged
AlxcBTW merged 6 commits into
mainfrom
feat/leaderboards
Oct 28, 2026
Merged

AlxcBTW merged 6 commits into
mainfrom
feat/leaderboards

Conversation

@AlxcBTW

@AlxcBTW AlxcBTW commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Read-only page per board at /boards/{title}/{board} (network ADR 0040, portal API GET /boards/...).

  • packages/api-client: BoardPage types, boards.page() in the HTTP adapter and the mock (demo board GAME00001/7, ties, own line), with a mock test.
  • apps/web: route app/boards/[title]/[board] and components/boards/board-screen.tsx, in the compatibility page's look. Top / Around you / Friends; the last two ask for a session and the page offers sign-in on unauthorized. A table (rank, player, score, date) with an own-line marker that is text as well as colour; ranks shared on ties; empty, missing, loading and failed states; paging by "Show more players".
  • Own route and components only; no shared file touched except the README table.
  • Needs the cloud's web.caddy to route /boards/* to the site (anyplaynet/cloud PR) and the cloud flag on; with the flag off the page says there is no such board.

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@AlxcBTW
AlxcBTW merged commit ace43ff into main Oct 28, 2026
3 checks passed
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