tailwind v2 migration: leaderboard#617
Closed
kokonut121 wants to merge 1 commit into
Closed
Conversation
- Add views/private/leaderboardV2.ejs using base.ejs layout: rating leaderboard 4-col grid (Physics/Chemistry/Biology/USABO), Rush leaderboard, Experience leaderboard - Consolidate the four near-identical rating tables into a single forEach over [title, list, valueGetter] tuples; preserves row colors (1st/2nd/3rd/4th+) and medal SVGs - Wire /leaderboard route to render leaderboardV2.ejs with expressLayouts Part of the broader Tailwind V2 migration tracked in #609. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Collaborator
Author
|
Superseded by #621 which combines settings/leaderboard/stats into a single PR targeting master. |
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.
Summary
views/private/leaderboardV2.ejsusingbase.ejslayout — rating leaderboard 4-col grid (Physics/Chemistry/Biology/USABO), Rush leaderboard, Experience leaderboardforEachover[title, list, valueGetter]tuples; row colors and medal SVGs preserved/leaderboardto V2 view viaexpressLayoutsStacked on #614 (settings).
Test plan
/leaderboardloads at 1280px with no console errors and 4 ratings columns side-by-side/leaderboardloads at 375px — columns stack to 1 wide, tables don't horizontal-scroll the page (each table individually scrolls if needed)/profile/:usernamein a new tabview-source:/leaderboardcontains exactly one<head>and one<body>🤖 Generated with Claude Code