Skip to content

Feature/leaderboard UI - #2

Merged
djblackett merged 7 commits into
mainfrom
feature/leaderboard-ui
Oct 23, 2026
Merged

djblackett merged 7 commits into
mainfrom
feature/leaderboard-ui

Conversation

@djblackett

Copy link
Copy Markdown
Owner

Implemented Leaderboard UI

- Implemented the ranked challenge protocol in `src/ranked/api.ts` for handling ranked runs.
- Created control tracking for input methods in `src/ranked/controls.ts`.
- Developed local score storage management in `src/ranked/localScores.ts`.
- Established a session management system for ranked runs in `src/ranked/session.ts`.
- Added tests for the ranked API, control tracking, and local score management in `tests/ranked.test.ts`.
- Configured TypeScript settings for the server in `server/tsconfig.json`.
- Added configuration files for Cloudflare Workers in `server/wrangler.toml` and `server/wrangler.bench.toml`.
- Created unit tests for the weekly window functionality in `server/tests/week.test.ts`.
…ciated styles

- Implemented `rankedResult.ts` to handle the display of ranked run results, including score submission and feedback.
- Created `scores.ts` to display high scores with pagination and filtering options.
- Added `nickname.css` for styling the nickname input field, ensuring accessibility and usability.
- Developed `nicknameInput.ts` to manage the nickname input field, allowing for proper keyboard handling and focus management.
- Introduced tests for ranked input readiness and time limit verification to ensure robust functionality.
- Updated nickname sanitization to allow a wider range of characters, including Unicode letters and specific symbols.
- Improved nickname length validation with separate input limits.
- Adjusted tests to reflect new nickname rules and added cases for edge scenarios.
- Enhanced UI to properly render nicknames without HTML parsing risks.
- Added documentation for nickname policy and LAN testing procedures.
- Introduced scripts for focused testing of nickname rendering and LAN functionality.
@djblackett
djblackett merged commit c0d8755 into main Oct 23, 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