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

Fix personal best score showing delete option on context menu #18993

Merged
merged 2 commits into from
Jul 6, 2022

Conversation

Joehuu
Copy link
Member

@Joehuu Joehuu commented Jul 3, 2022

Fixes this:

image

@smoogipoo
Copy link
Contributor

Tests need attention, but also would it still show up if you've downloaded the replay locally? Or are these scores completely online with Files.Count == 0 at all times?

@Joehuu
Copy link
Member Author

Joehuu commented Jul 4, 2022

It won't. The personal best score is only displayed on online leaderboards and thus has no files, correct.

Will there be a download state for leaderboard scores in the future? It'll make sense to have the delete option when it's downloaded locally (while in an online leaderboard), but you don't know until you go to the results screen and local leaderboards.

@smoogipoo smoogipoo requested a review from peppy July 5, 2022 02:48
@peppy
Copy link
Sponsor Member

peppy commented Jul 5, 2022

I think this is okay for now, until the file assertion no longer holds.

@peppy peppy merged commit 7053a85 into ppy:master Jul 6, 2022
@Joehuu Joehuu deleted the fix-personal-best-delete-context-menu branch July 6, 2022 18:38
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.

3 participants