-
Notifications
You must be signed in to change notification settings - Fork 387
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
Failed solo score handling needs reconsidering with respect to stored score rank #10524
Comments
setting these to F rank seems correct in context of legacy scores doing the same thing. F ranks are already returned over the API, but yeah none have been displayed via web frontend so far due to these are the only frontend issues with displaying F ranks, as far as I can tell (and this is assuming failed scores could make it into these responses to begin with). both seem straightforward to fix:
if I haven't missed something that would make it more difficult to support, I don't see why not. |
One very valid (IMO) reason not to would be that these scores are not permanently stored. So the link could (and will) become a 404 at any point. |
Well, nor would any other scores if the user created higher score with same mod etc set? |
Sure, but this is a much more common case. Maybe it's fine with a message mentioning that it will not be a permanent URL? |
So I guess options are:
Note that we could do with a proper design for F rank, since we already show that in client, but there it's currently just the D rank badge but just with the letter swapped. So if we had something more proper we could show that in both places. Thoughts on which one would be better/worse, more/less work? |
I'd say we want to update the condition here to use "F", not "D". And we should implement the "F" display on the scores page similar to the client, as proposed above. Should probably be done sooner than later so that multiplayer results screen makes more sense (shows failed players as "F" not "D"). |
Back in the olden days, when client would submit a failed play, it would set D rank, because we didn't have F rank client-side yet.
Since ppy/osu#18785, we now have an F rank client-side. But this logic still lives:
osu-web/app/Models/Solo/Score.php
Lines 57 to 62 in f7ef555
and overwrites the F rank sent by client to D again.
You would say that, well, no biggie, just do this:
which, sure, fixes that immediate part of it, but then you attempt to go to
/scores/{score_id}
web-side and see this:Note missing rank letter, note rank badges on the left all lit up. So that is at least one place that is not ready web-side to handle an F rank. Maybe there are more.
I guess the things to discuss here are:
/scores/{score_id}
?preserve
flag makes this issue go away?The text was updated successfully, but these errors were encountered: