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

Show rank changes on performance ranking #10597

Merged
merged 20 commits into from
May 27, 2024
Merged

Show rank changes on performance ranking #10597

merged 20 commits into from
May 27, 2024

Conversation

cl8n
Copy link
Member

@cl8n cl8n commented Sep 26, 2023

resolves #7391


rank-change-demo

@cl8n
Copy link
Member Author

cl8n commented Sep 26, 2023

I need some help with caching this per request because currently it gets called 50 times on a ranking page. I don't know the best way to do it

$startOffset = Count::currentRankStart($this->mode)->count;

@nanaya
Copy link
Collaborator

nanaya commented Sep 26, 2023

is it normal to have "least recent" ranking to compare against when the others are 30 days? Isn't it usually just - to indicate new ranker?

@cl8n
Copy link
Member Author

cl8n commented Sep 26, 2023

is it normal to have "least recent" ranking to compare against when the others are 30 days? Isn't it usually just - to indicate new ranker?

yeah I guess this could be misleading in some way. I've changed it so that only the history at exactly 30 days is checked, and everything has an icon of some form now. also further tooltip to explain the "not enough history" case

@cl8n cl8n requested a review from nanaya May 20, 2024 22:54
app/Models/User.php Outdated Show resolved Hide resolved
resources/css/bem/ranking-page-table.less Outdated Show resolved Hide resolved
@cl8n cl8n requested a review from nanaya May 24, 2024 22:54
@nanaya nanaya enabled auto-merge May 27, 2024 12:00
@nanaya nanaya merged commit 29ed5b5 into ppy:master May 27, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show changes in rank on leaderboards
2 participants