github-readme-stats/tests
Rick Staa 60fae292a3
feat: enable multi page star fetching for private vercel instances (#2159)
* feat: enable multi-page stars' fetching for private vercel instances

This commit enables multi-page stars' support from fetching on private Vercel
instances. This feature can be disabled on the public Vercel instance by adding
the `FETCH_SINGLE_PAGE_STARS=true` as an env variable in the public Vercel
instance. This variable will not be present when people deploy their own Vercel
instance, causing the code to fetch multiple star pages.

* fix: improve stats multi-page fetching behavoir

This commit makes sure that the GraphQL api is only called one time per
100 repositories. The old method added one unnecesairy GraphQL call.

* docs: update documentation

* style: improve code syntax

Co-authored-by: Matteo Pierro <pierromatteo@gmail.com>

* lol happy new year

* docs: remove rate limit documentation for now

Remove the `FETCH_SINGLE_PAGE_STARS` from documentation for now since it
might confuse people.

* fix: fix error in automatic merge

* feat: make sure  env variable is read

Co-authored-by: Matteo Pierro <pierromatteo@gmail.com>
Co-authored-by: Anurag <hazru.anurag@gmail.com>
2023-01-21 18:32:37 +01:00
..
__snapshots__ test: update snapshots 2022-11-20 08:39:44 +01:00
e2e fix: fix e2e test data 2023-01-21 17:58:35 +01:00
api.test.js feat: enable multi page star fetching for private vercel instances (#2159) 2023-01-21 18:32:37 +01:00
calculateRank.test.js Missing term in calculation of TOTAL_VALUES. (#2116) 2022-11-18 15:19:04 +01:00
card.test.js refactor: clean up imports 2022-09-24 14:10:06 +02:00
fetchRepo.test.js test: cleanup tests 2022-10-09 15:18:11 +02:00
fetchStats.test.js feat: enable multi page star fetching for private vercel instances (#2159) 2023-01-21 18:32:37 +01:00
fetchTopLanguages.test.js refactor: clean up imports 2022-09-24 14:10:06 +02:00
fetchWakatime.test.js fix: fix es6 import file extension 2022-09-24 13:20:52 +02:00
flexLayout.test.js fix: fix es6 import file extension 2022-09-24 13:20:52 +02:00
pin.test.js refactor: clean up imports 2022-09-24 14:10:06 +02:00
renderRepoCard.test.js refactor: clean up imports 2022-09-24 14:10:06 +02:00
renderStatsCard.test.js test: update snapshots 2023-01-10 10:08:33 +00:00
renderTopLanguages.test.js test: cleanup tests 2022-10-09 15:18:11 +02:00
renderWakatimeCard.test.js Fix truncation of compact wakatime progress bar when langs_count is set (#2228) 2022-10-28 20:47:09 +02:00
retryer.test.js refactor: clean up imports 2022-09-24 14:10:06 +02:00
top-langs.test.js fix: fix es6 import file extension 2022-09-24 13:20:52 +02:00
utils.test.js fix: improve boolean parse behaviour (#2029) 2022-11-21 10:10:46 +01:00