-
-
Notifications
You must be signed in to change notification settings - Fork 23.9k
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
Parameter hide=stars
breaks statistics column
#2495
Comments
@Olf0, thanks for the bug report. I, however, can not reproduce the issue (see images below). Could you provide me with the exact command you are using? Without icons[](https://github.com/anuraghazra/github-readme-stats) [](https://github.com/anuraghazra/github-readme-stats) With icons[](https://github.com/anuraghazra/github-readme-stats) [](https://github.com/anuraghazra/github-readme-stats) |
I already did in the section "Additional context". Side notes:
|
@Olf0 I am not able to reproduce your problems. Please take a look at my message above. Please add the live cards with the associated markdown in a comment below. Please take a look at my note above for an example. |
O.K., here are the expanded copies of the link Olf0/Olf0@4c9d7bc provided in my initial message, plus a copy of the results (saved as PNGs) form my initial message. Does not work as documented:
Omitting
|
anuraghazra/github-readme-stats#2495 … because it is fine now; the question is for how-long.
Your check made me retry: Now I cannot reproduce it either! 😕 Hey, I tried this back and forth two times, before I saved the images as PNGs, which I embedded in the initial post here. Sorry! Puzzled. |
No problem. Thanks for letting us know. The GraphQL and REST APIs are buggy sometimes. It could be that the card cached a temporary error (see #1515). |
@rickstaa, thank you for the explanation, which actually makes sense when looking at the wrong value returned: "2" is very likely then number of private commits I ever did at GitHub. As your comment in issue #1515 describes and the code nicely shows: If As I was experimenting with these "live cards", I switched on all possible parameters to play with them and went through some iterations trying different values, then looking at the result. In hindsight this was a good scheme to trigger this bug. Now I understand what likely happened, thus I appreciate your explanation and pointing to issue #1515 very much! |
Thanks for your detailed investigation report! When I perform tests, I make sure a random string is added to the query (i.e. |
Describe the bug
Appending the parameter
hide=stars
to the parameter set breaks the statistics column. In my specific case only the (then) first line was displaying a erroneous value, "Total Commits: 2" instead of the correct value "Total Commits: 3.2k".Expected behaviour
Adding the parameter
hide=stars
to the parameter set solely lets the row "Total Stars Earned:" disappear.Screenshots / Live demo link
Broken statistics column with parameter

hide=stars
as last parameter:Correct statistics column without parameter

hide=stars
:Additional context
Ultimately I omitted the parameter
hide=stars
as a workaround.The text was updated successfully, but these errors were encountered: