Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add seasonal leaderboards #11804

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

venix12
Copy link
Member

@venix12 venix12 commented Jan 20, 2025

Depends on #11768.
Part of #8736.

This adds per-season rankings to current seasons page, including seasonal total score (as of #11768) and assigned division display (calculation of which is part of this PR).

image


image_url column of divisions table isn't currently being utilized for purpose of the ranking display, but will be used for user profile division display in the future.

@venix12 venix12 changed the title Seasons leaderboards Add seasonal leaderboards Jan 20, 2025
@peppy
Copy link
Member

peppy commented Jan 24, 2025

@venix12 able to add some screenshots showing what we're adding here? 😄

@venix12
Copy link
Member Author

venix12 commented Jan 25, 2025

@venix12 able to add some screenshots showing what we're adding here? 😄

updated the opening message accordingly 👁️

{
return cache_remember_mutexed(
"divisions:{$this->id}",
$GLOBALS['cfg']['osu']['seasons']['divisions_cache_duration'],
Copy link
Member Author

@venix12 venix12 Jan 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

recently saw the duration being pulled from config/env in other places (tags) so just mimicked that, but wondering if this is actually needed here to begin with 🤔

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.

2 participants