* Update readme.md about maxDuration
I think we can remove this warning section since that value in `.json` has been changed to 10 by default nowadays?
* Update readme.md
remove related section in self deployment section as well
* docs: add inverse maxDuration warning
---------
Co-authored-by: rickstaa <rick.staa@outlook.com>
* feat: add CACHE_SECONDS environment variable
This commit adds the CACHE_SECONDS environment variable. This variable
can be used to circumvent our cache clamping values for self hosted
Vercel instances.
* refactor: apply formatter
* feat: remove 'include_private'
As explained in #2517 the 'include_private' flag is confusing and
doesn't work as expected. This commit therefore removes this flag.
* fix: fix tests
* docs: remove redundant private deploy note
* Different default languages count for different layouts
* docs: update default documentation
Updates the README so that the new `langs_count` default behavoir is
explained to users.
---------
Co-authored-by: rickstaa <rick.staa@outlook.com>
* fix: Make WakaTime card compatible with new API
This commit makes sure that the WakaTime card works with the new
WakaTime API. See https://github.com/anuraghazra/github-readme-stats/issues/2698
for more information.
* fix: fix chinese simplified translations
* fix: improve WakaTime range order
* test: fix WakaTime tests
* refactor: remove WakaTime range loop
* refactor: remove redundant WakaTime call
* test: fix e2e tests
Co-authored-by: Hakula Chen <i@hakula.xyz>
---------
Co-authored-by: Hakula Chen <i@hakula.xyz>
* Revise rank calculation
* Replace contributions by commits
* Lower average stats and S+ threshold
* Fix calculateRank.test.js
Missing key in dictionary constructor
Co-authored-by: Rick Staa <rick.staa@outlook.com>
* refactor: run prettier
* feat: change star weight to 0.75
* Separate PRs and issues
* Tweak weights
* Add count_private back
* fix: enable 'count_private' again
* test: fix tests
* refactor: improve code formatting
* Higher targets
---------
Co-authored-by: Rick Staa <rick.staa@outlook.com>
* add pie chart layout to language card
* resolve failing top-lang card tests
* scale down pie chart
* update readme.md
* Update readme.md
Co-authored-by: Rick Staa <rick.staa@outlook.com>
* style: format code
* update donut layout to be created without dependencies
* minor update
* style: format readme
* resolve failing tests
* refactor: clean up code and add extra tests
This commit cleans up the pie chart generation code and adds additional
tests.
* feat: improve pie chart positioning
* rename layout pie to donut
* add animation to donut layout
* refactor: rename pie and doughnut to donut
* feat: decrease donus animation delay
---------
Co-authored-by: rickstaa <rick.staa@outlook.com>
The previous mock logic was too simplistic and has been fixed in the
commit. If the mock logic had been properly implemented, then the
mistaken pageInfo.endCursor keys should have made the test case "should
fetch two pages of stars if 'FETCH_MULTI_PAGE_STARS' env variable is set
to `true`" stuck.
* feat(theme): add github_dark_dimmed theme
* feat(theme): change github_dark_dimmed icon color
* contrast ratio adjustment
contrast ratio adjustment on github_dark_dimmed theme
* feat(theme): readme preview
* feat(theme): github themes next to each other
* github themes next to each other
* feat(RankIcon): add rank icon option
* feat(RankIcon): extract rankIcon to icons file
* feat(RankIcon): update readme
* feat(RankIcon): test coverage
* Update readme.md
Co-authored-by: Rick Staa <rick.staa@outlook.com>
* add wakatime default range
* update wakatime demos in readme with most active user
* update wakatime demo in readme
* remove &range=all_time from wakatime demos in readme
---------
Co-authored-by: Rick Staa <rick.staa@outlook.com>