Repository navigation
Feature/leaderboard UI - #2
Merged
Merged
Conversation
- 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.
… and verification details
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implemented Leaderboard UI