-
-
Notifications
You must be signed in to change notification settings - Fork 173
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
Incorrect Title for Embedded GitHub Status Card #715
Comments
Thanks for pointing that out! You can simply change the title by changing the General question: do you think yearly or weekly stats would be preferable for the stats card? I actually tend to prefer weekly stats, because my yearly card is insanely large and doesn't really look good in a README. |
I agree weekly status will make more sense for most use cases, but is it possible to make it configurable for users? e.g. weekly, monthly, quarterly or custom time range. |
Alright, had a look at this again. There was a related issue, #508, which was our reaction to github-readme-stats removing support for the The card display whatever the Apart from that, the card title is still display wrong, regardless of the above discussion. I'll fix that soon! Implementation notes to myselfBy default, the card's title will be set according to [here](https://github.com/anuraghazra/github-readme-stats/blob/3b2c8885fc27574ad1880932ad961548f7c2db4b/src/cards/wakatime-card.js#L382), unless overridden by the optional `custom_title`. Default title will be different for whatever `range` is returned by the stats endpoint, however, only `last_7_days`, `last_year` are supported besides the default generic title.👉 There's no way for Wakapi to fully customize the title (e.g. to "All time"), unless the user passes a 👉 Simply remove the |
Describe the bug
The number of hours shown by embedded GitHub status cards doesn't seem right (way too long for a single week). After checking the original program, it seems like it is actually Yearly summary, not weekly.
Ref: https://github.com/anuraghazra/github-readme-stats?tab=readme-ov-file#wakatime-stats-card
System information
Using wakapi.dev
The text was updated successfully, but these errors were encountered: