Repository navigation
feat(archive): show past editions on the leaderboard and profile - #6
Merged
Merged
Conversation
`?edition=YEAR` on /leaderboard and /me picks an edition (default: the current one; unknown years are a 404). An edition switcher sits on both pages. Archived editions use their own scoring rules, hide the link to this year's point system, and don't link days to this year's pictures. Version 2.2.0. Co-Authored-By: lazytrek <352825308+lazytrek@users.noreply.github.com>
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.
What
/leaderboard?edition=2025and/me?edition=2025show a past edition. Without the parameter you get the current one. Unknown years (1999,abc) return a 404.European 2026 edition · Sweden 2025 edition) and show the edition name under the title./day/Nis this year's picture.Check
guess_order_to_bonus) was never called, so 2025 scores are base points only and should match last year.past_editions_stay_visible.Not included
/day/Nfor past editions.Co-Authored-By: lazytrek 352825308+lazytrek@users.noreply.github.com