feat: Add peer comparison feature, live daily stats, and fix global rank & history fetching bugs#121
feat: Add peer comparison feature, live daily stats, and fix global rank & history fetching bugs#121Vachhani-Tapan wants to merge 3 commits into
Conversation
…ank & history fetching bugs
|
Thank you for submitting a pull request. Please ensure your changes comply with the project's contribution guidelines and that all workflow checks pass successfully. A maintainer will review your submission shortly. |
|
@jagdish-15 Review this Pull request asap because the next issue work is also done so that after this pr i can create a new pr for that issue #108 |
|
This PR currently includes changes from both issues assigned to you together, backend badge-related work that was meant for a different PR/issue scope along with the current comparison PR. Right now the PR is no longer isolated to the peer comparison feature alone, which makes reviewing and merging not really feasible. Please separate the unrelated changes into their own dedicated PRs instead of stacking multiple issue implementations into the same branch/PR. For future work, please make sure to create a separate branch per issue/feature rather than continuing all work directly on the same branch. That way each PR stays isolated, easier to review, and avoids unrelated changes getting mixed together. |
Description
This PR introduces a robust side-by-side Peer Comparison feature to the LeetCode leaderboard, allowing users to compare the performance, difficulty breakdown, and progress history of up to 3 peers. It also resolves data fetching compatibility issues, local development port conflicts, and repository sync-gap edge cases.
Linked Issue
Fixes #103
Changes Made
$ compare_mode --enable/--disable) next to the search bar to keep the main view clean. Added checkboxes to leaderboard rows and mobile cards, along with a floating action bar showing active selections and aResetbutton to exit compare mode.metrics_summary (weekly))./api/student/:usernamequeries to port 3000 where the Express server runs.Type of Change
Testing
Checklist
Screenshots / Screen Recording