-
-
Notifications
You must be signed in to change notification settings - Fork 23.1k
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
Hide border option influences commit count #2026
Comments
@klieret Thanks for your bug report. I can not think of how the github-readme-stats/src/Card.js Line 121 in 3b0f1b1
I have heard reports from others (i.e. #1963 and #1968), but those were related to caching or syntax errors. Can you maybe provide me with the syntax you're using for generating the card? |
Thank you for your quick reply! I'm also quite puzzled. My only hypothesis that there might be some parsing error, (perhaps due to wrong syntax on my side - though I can't think of something) that causes some other options to be triggered... The syntax should be included above (it's live markdown), but let me quickly copy it:
are the three cards. |
@klieret Ah, sorry, I thought all were screenshots. I checked your syntax, and it is correct 👍🏻. Hide border ![Anurag's GitHub stats](https://github-readme-stats.vercel.app/api?username=klieret&hide_border=true&show_icons=true&count_private=true&include_all_commits=true) Explicitly show border ![Anurag's GitHub stats](https://github-readme-stats.vercel.app/api?username=klieret&hide_border=false&show_icons=true&count_private=true&include_all_commits=true) No border argument ![Anurag's GitHub stats](https://github-readme-stats.vercel.app/api?username=klieret&show_icons=true&count_private=true&include_all_commits=true) After inspecting the codebase, I don't think a parsing error of the github-readme-stats/src/fetchers/stats-fetcher.js Lines 69 to 100 in eacc3cd
Maybe if you see it happen again, can you check whether an error or warning is thrown inside the browser's console? 🤔 Feel free to comment below if the issue happens again. |
Thanks a lot! Indeed things are back to normal now, so it must have been a REST API hickup... I'll check in the console if something like this happens again! |
Hi @rickstaa. Just letting you know that I observed the same issue again today (a completely wrong commit count) (should be something like 7k). I don't see relevant warnings in the browser console. |
@klieret, thanks for letting me know. I checked, and the commit count seems to be back on 8k again. This problem happens from time to time because GitHub's REST API gives us wrong data or timeout. The only thing I can do to alleviate it is merged #2177. It will be fixed when #2179 is created since I can then use the GraphQL API, which is less buggy, and sum the commits per year. |
Description
Hide border option influences total commit count
Live
Screenshot of the above (15 Sep 2022)
The text was updated successfully, but these errors were encountered: