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
Badges / Medals #64
Comments
Just a quick message to say I love this idea, and great work on the mockups. The one on the user page should be really cheap to calculate as we already have the position of the user in each hole in each language thanks for the matrix. No promises when I'll get round to writing this, but it will happen :-P |
Add [Idea] tag? 😉 |
@primo-ppcg Trophy counts are now displayed on the profile page, you naturally have a silly amount! https://code.golf/golfers/primo-ppcg I'll leave this bug open to work out what to do with the leaderboard UI too, unfortunately the SQL to get the trophy counts is rather expensive so I probably don't want to do it for a full leaderboard, maybe just the top n or something and make their rows thicker. |
I shall keep this in mind when designing the UI for #112, but at the very least there will be a new route called /rankings/medals that will sort golfers by total gold, silver, bronze medals. So I'm going to close this issue, medals are here to stay, thank you for the original idea @primo-ppcg |
I think it would be a nice idea to add a user badge count as the total of first, second and third place finishes across all languages, similar to the stackexchange sites.
For example on the profile page:
or on the score boards:
The markup I used for each of these examples is below (minimal modification with inline styles).
Profile:
Scoreboard:
I think these could probably be computed on the fly, but if it proves to be too computationally expensive, you could take inventory once, and then adjust the badges counts as users move in and out of the top three.
The text was updated successfully, but these errors were encountered: