ppy / osu-web

the browser-facing portion of osu!
https://osu.ppy.sh
GNU Affero General Public License v3.0
955 stars 378 forks source link

Add ranked score ranking to profiles #5620

Open MBomb-osu opened 4 years ago

MBomb-osu commented 4 years ago

I feel adding a player's ranking in ranked score to their profile would be nice, as there are quite a few players who do play for ranked score, and having a quick way to see your ranking in that (or another player's when you go to their profile) would be nice.

This could be added in multiple ways, however assuming that focus doesn't want to become too drawn to it (considering it's not the main ranking system of the game), a discreet way of doing it would be something like this: https://puu.sh/F9WEI/03fe1606d2.png

I don't know much about coding at all, so I'm not sure how easy/hard this is to do, but since the leaderboard for score ranking already exists, I think it should just be a case of bringing the value from the leaderboard onto the profile page.

If the way I proposed in the image above does get considered, I think it would also be nice to consider making it link to the leaderboard, jumping to whatever rank the person is.

respektive commented 2 years ago

I would like to add on to this, that if it gets added, there should also be an API endpoint for the score rank.

Also, i know this is marked as low priority, but seeing that there was no interaction for over a year in this thread, is there any hope of this getting added anytime soon?

peppy commented 2 years ago

If this was even to be considered, it would be after switching to lazer style scoring.

respektive commented 2 years ago

So, I've been working on a tracker app for osu which is showing and tracking several statistics throughout your osu session and this is the one thing I'm missing.

The way I am currently obtaining the score rank is by running my own database that can be accessed via an api endpoint.
The problem with that is, that I am basically doing thousands of request to the apiv2 everyday, iterating through the rankings, to keep my mirror of the database up to date.

This is putting a lot of load on not my server (probably also on your servers?), that could be avoided by being able to retrieve the score rank in the same user request that's being done by the tracker app already anyway. I hope you consider bumping the priority on this issue for that reason.

peppy commented 2 years ago

The values for this are literally no longer being stored or updated. Putting it in the main user and profile lookups would add an overhead that we are currently avoiding. Continuing to use the method you are is fine (until I contact you because it's adding a burden to servers, which it doesn't seem to be at this point).