Skip to content

[Bug] Do not have some badges at all, the badge count displayed incorrectly. #2

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

Open
soonhankwon opened this issue Mar 19, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@soonhankwon
Copy link

soonhankwon commented Mar 19, 2024

hello. Your open source project is great. However, I found one problem while using it.

The point is that the badge count is inaccurate.

For example, if user have 4 bronze badges, 0 gold buttons, and 0 silver buttons, the count for the 4 gold buttons, silver buttons, and bronze buttons count will not be displayed.

This is a situation in which the badge count is pushed back when some badges do not exist at all in the logic.

Inaccurate results are output for numbers in the five cases below.

  1. only have gold badges
  2. only have gold and bronze badges
  3. only have silver badges
  4. only have silver and bronze badges
  5. only have bronze badges

I hope this can be improved. thank you :)

@soonhankwon soonhankwon changed the title [Bug] Do not have some badges at all, the badge count will be displayed incorrectly. [Bug] Do not have some badges at all, the badge count displayed incorrectly. Mar 19, 2024
@krishnaacharyaa
Copy link
Owner

@soonhankwon Thank you for observing this and raising the issue, I had not tested this use-case. Will look into this and fix at the earliest :)

@krishnaacharyaa krishnaacharyaa added the bug Something isn't working label Mar 19, 2024
@faizananwerali
Copy link

This is definitely an issue,

stackoverflow-stats

https://stackoverflow.com/users/3774282/faizan-anwer-ali

But in my profile I don't have golden badges

Screenshot 2024-04-03 at 11 03 23 PM

@devxbasit
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants