-
Notifications
You must be signed in to change notification settings - Fork 390
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
base: master
Are you sure you want to change the base?
Add seasonal leaderboards #11804
Conversation
@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'], |
There was a problem hiding this comment.
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 🤔
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_url
column ofdivisions
table isn't currently being utilized for purpose of the ranking display, but will be used for user profile division display in the future.