Commit Graph
10 Commits
Author SHA1 Message Date
Alexandr GarbuzovandAlexandr 3bcd26a6a9 refactor: move cache headers logic into reusable functions (#4533)
* refactor: move cache headers logic into reusable functions

* dev

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 16:39:05 +02:00
Alexandr GarbuzovandAlexandr b80ace0a5a chore: enable ts-check for bench tests utils (#4512)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 13:00:06 +02:00
Ophelia GoldsteinandAlexandr f5582dd496 chore: improve bench tests utils jsdoc readability (#4501)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 12:54:13 +02:00
5a7f21812f tests: use custom benchmarking solution instead of outdated jest-bench package (#4468)
* Remove jest-bench dependency and use custom solutions

* review

* Update tests/bench/calculateRank.bench.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-25 12:49:22 +02:00
Mohd AmirandAlexandr f2efd6052b fix: display correct data when user don't have any pull requests (#4452)
* Fix: When user doesn't have any PR, it's Merged PRs Percentage is NAN (fixes #4449)

* review

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 12:39:44 +02:00
Ophelia GoldsteinandAlexandr 43dc6788fa tests(e2e): fix gist description (#4450)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 12:38:59 +02:00
Ophelia GoldsteinandAlexandr ab2b0f4c97 fix: react on both type and message-based rate-limit signals (#4440)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 12:37:28 +02:00
08517568d9 feat: implement commits year option and display appropriate year label (#2107)
* add custom year

* edit fetcher

* add tests

* add documentation

* Update vercel.json

* Update fetchStats.test.js

* Update readme.md

* Update readme.md

Co-authored-by: Rick Staa <rick.staa@outlook.com>

* test: fix tests

* style: format code

* fix: fix commit stats time frame description #1053

This commit makes sure the last year label is shown when
`include_all_commits` or `year` is not provided. See #1053 for more
information.

* resolved merge conflict

* Update stats-fetcher.js

* resolve comments

* Update src/cards/types.d.ts

Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com>

* Update src/fetchers/stats-fetcher.js

Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com>

* graphQL year only to commit

* change argument name to commits_year

* Update readme.md

Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com>

* Update readme.md

Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com>

* Update readme.md

Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com>

* wrap label into function

* review

* more review

* fix test

* Update readme.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* docs

---------

Co-authored-by: Touch Sungkawichai <talay@10ninox.com>
Co-authored-by: Rick Staa <rick.staa@outlook.com>
Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-25 11:46:42 +02:00
7ee200b060 feat: add bytes stats format option for top-languages card (#3708)
* feat: add `display_bytes` option to top-languages.

* docs: add description about display bytes in top-languages

* feat: add `stats_format` option instead of `display_bytes`

* docs: add description about stats format in top-languages

* refactor: rewrite with function to determine display value

* docs: add `stats_format`to table of parameter

* fix: remove unnecessary decimal part from format of bytes

* tests: add tests of stats_format in top-langs card

* Update tests/renderTopLanguagesCard.test.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update readme.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* prettier

* jsdoc

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-25 11:31:06 +02:00
martin-mfg d149e0e1f5 initiate monorepo, add original github-trends 2025-09-18 11:30:25 +02:00