Commit Graph
101 Commits
Author SHA1 Message Date
Alexandr GarbuzovandGitHub ac749b75e3 refactor: resolve vscode type errors in wakatime card render and remove redundant css (#3232)
* refactor: resolve vscode type errors in wakatime card render and remove redundant css

* dev
2023-10-15 10:03:18 +02:00
Alexandr GarbuzovandGitHub b753d49158 infra: enable radix eslint rule (#3261) 2023-10-13 22:21:12 +03:00
0fd1ea3ce9 feature: do not aks user's to open issues on upstream API errors (#3273)
Co-authored-by: rickstaa <rick.staa@outlook.com>
2023-10-13 11:16:14 +02:00
Alexandr GarbuzovandGitHub 88c507ce46 refactor: fix typo in TRY_AGAIN_LATER constant name (#3274) 2023-10-12 10:40:04 +02:00
Alexandr GarbuzovandGitHub 7bf4a873f1 refactor: add GitHub REST API error to CustomError class (#3272) 2023-09-22 17:43:58 +02:00
Alexandr GarbuzovandGitHub 2ee803fc16 feature: extend default card cache time to 6 hours (#3242)
* feature: extend default card cache time to 8 hours

* reduce to six hours
2023-09-19 11:54:27 +02:00
Alexandr GarbuzovandGitHub c1be93922d infra: enable no-use-before-define eslint rule (#3234) 2023-09-17 15:55:27 +02:00
Rick StaaandGitHub bc8eaecaf4 feat: rate limit error chaching (#2448)
* feat: rate limit error chaching

Rate limit error caching to alleviate PATs.

* refactor: improve code comments
2023-09-17 15:45:17 +02:00
Alexandr GarbuzovandGitHub 6370d0c44d refactor: fix I18n class constructor jsdoc to resolve vscode type errors (#3195) 2023-09-14 13:25:52 +02:00
Alexandr GarbuzovandGitHub ef0ec6e26b refactor: use more clear retryer error message (2) (#3227) 2023-09-14 10:47:00 +02:00
Alexandr GarbuzovandGitHub 976db143de refactor: use more clear retryer error messages (#3216) 2023-09-12 10:07:20 +02:00
Alexandr GarbuzovandGitHub c42798b39e refactor: enable curly eslint rule (#3137) 2023-09-12 10:06:01 +02:00
Alexandr GarbuzovandGitHub b611018476 i18n: set locale only once instead of on each call (#3200) 2023-09-12 09:31:11 +02:00
Alexandr GarbuzovandGitHub 8879c7fe2e refactor: fix createProgressNode function jsdoc and enable ts-check (#3211) 2023-09-12 09:24:07 +02:00
Alexandr GarbuzovandGitHub 09b7ad6a58 refactor: move duplicated code for rendering repo/gist cards into utils (#3214) 2023-09-11 22:08:22 +02:00
Alexandr GarbuzovandGitHub b55aaa4cff refactor: fix card colors type and function to resolve vscode type errors (#3191) 2023-09-11 10:47:55 +02:00
Alexandr GarbuzovandGitHub 20be43939b refactor: add missing jsdoc for I18n class methods (#3153) 2023-08-27 09:54:07 +02:00
Alexandr GarbuzovandGitHub fe901dd337 Feature: Add gist card (#3064)
* Feature: Add gist card

* dev

* dev

* dev

* dev

* dev

* dev

* e2e

* e2e test timeout
2023-08-14 11:28:01 +02:00
Alexandr GarbuzovandGitHub a258b29db5 Feature: Stats card: Show merged PRs count and percentage (#3003)
* Feature: Stats card: Show merged PRs count and percentage

* dev

* dev

* renames
2023-08-14 02:18:57 +03:00
Alexandr GarbuzovandGitHub 72cfdf832d Refactor: Stats card: Use typedef tags inside data fetcher (#3056) 2023-08-09 09:22:44 +02:00
Alexandr GarbuzovandGitHub 879dbf1a59 Refactor: Use typedef tags inside request utils function to resolve eslint errors (#3054) 2023-08-08 08:32:15 +02:00
Alexandr GarbuzovandGitHub 8bae143e27 Refactor: Fix docstring for rankIcon function (#3029) 2023-08-01 08:37:18 +02:00
Alexandr GarbuzovandGitHub ffafcf29ed Refactor: Fix docstring for getCardColors utils function (#3011) 2023-07-30 12:08:44 +02:00
Alexandr GarbuzovandGitHub d7b534abb8 Refactor: Fix MissingParamError class constructor docstring (#3012) 2023-07-30 10:22:23 +02:00
Alexandr GarbuzovandGitHub 0f8a790cc3 Refactor: Improve docstring for dateDiff utils function (#3001) 2023-07-28 20:10:15 +02:00
Alexandr GarbuzovandGitHub f3341ddf5f Refactor: Improve docstring for lowercaseTrim utils function (#3002) 2023-07-28 20:09:31 +02:00
Alexandr GarbuzovandGitHub 16c6caaa52 Silence vscode type error in chunkArray function (#2965) 2023-07-23 12:23:58 +02:00
Alexandr GarbuzovandGitHub 96d3a47a9f Refactor: Fixed docstring for flexLayout function (#2949)
* Refactor: Fixed docstring for flexLayout function

* dev
2023-07-21 11:44:55 +02:00
Alexandr GarbuzovandGitHub ad54117e4b Refactor: Fixed fallbackColor function docstring (#2954) 2023-07-21 11:43:41 +02:00
Alexandr GarbuzovandGitHub f7b51ab3c8 Refactor: Fixed getCardColors function docstring (#2943)
* Refactor: Fixed getCardColors function docstring

* dev
2023-07-19 09:55:12 +02:00
Alexandr GarbuzovandGitHub 4eb01d80a2 Refactor: Improve docstrings for card class methods (#2938) 2023-07-13 23:42:25 +02:00
Alexandr GarbuzovandGitHub 45f4320008 Refactor: Fixed docstring for retryer function (#2937) 2023-07-13 23:41:57 +02:00
ecac85edd5 refactor: update languages JSON (#2899)
Co-authored-by: rickstaa <rickstaa@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-07-01 15:38:30 +03:00
2642fc546c add percentile rank icon (#2859)
* feat: add 'percentile' rank icon

This commit adds the `percentile` option for the `rank_icon` query
variable. This option displays the rank percentile the user belongs to.

* style: improve percentile rank icon styling

* dev

* dev

* dev

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-06-20 08:47:02 +02:00
Rick StaaandGitHub a362af0ebc feat: add 'progress' rank icon (#2858)
This pull request allows users to replace the rank level with the rank progress
by setting the `rank_icon` query to `progress`.
2023-06-19 12:58:02 +02:00
Alexandr GarbuzovandGitHub 92518e375f Stats card: show started and answered discussions stats (#2849)
* Stats card: show started and answered discussions stats

* trans

* dev
2023-06-19 05:51:58 +02:00
Rick StaaandGitHub a5260cb38a feat: improve locale translation not found error (#2853) 2023-06-19 06:06:24 +03:00
1bb65ddc29 Added pr reviews to stats (#1404)
* Added pr reviews to stats

* Add 'show' query parameter

* Fix show test

* refactoring

* cleanup

* refactor: restructure stats-card code

---------

Co-authored-by: Markus <markus.tyrkko@gmail.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
Co-authored-by: rickstaa <rick.staa@outlook.com>
2023-06-15 09:35:09 +02:00
Alexandr GarbuzovandGitHub 3416ae114f Fix clampValue function docstring (#2796) 2023-06-09 07:41:58 +02:00
c301289f7d fix: Make WakaTime card compatible with new API (#2707)
* 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>
2023-06-02 14:37:59 +05:30
e0b3d833b0 refactor: update languages JSON (#2760)
Co-authored-by: rickstaa <rickstaa@users.noreply.github.com>
2023-05-31 13:24:11 +02:00
Alexandr GarbuzovandGitHub a4d6fe104f Fixed card constructor docstring to resolve vscode type errors (#2674) 2023-05-03 07:04:33 +02:00
Alexandr GarbuzovandGitHub 2f4279e738 Fixed vscode type error in get card colors function (#2660) 2023-04-30 08:20:26 +02:00
Alexandr GarbuzovandGitHub 6eebfe36e8 Fixed docs typo inside src/common/utils.js (#2651) 2023-04-28 09:51:24 +02:00
879937c11d feat(RankIcon): add rank_icon option (#2628)
* 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>

---------

Co-authored-by: Rick Staa <rick.staa@outlook.com>
2023-04-24 13:56:14 +00:00
b928f51442 refactor: update languages JSON (#2596)
Co-authored-by: rickstaa <rickstaa@users.noreply.github.com>
2023-03-31 06:40:22 +05:30
d60d53cdb4 refactor: update languages JSON (#2554)
Co-authored-by: rickstaa <rickstaa@users.noreply.github.com>
2023-03-01 06:47:56 +05:30
Rick StaaandGitHub 112000667c ci: add update languages action (#2484)
* ci: add update languages action

* ci: make sure PR is created when upstream languages are updated
2023-01-29 15:19:01 +01:00
077d40561a feat: add PAT monitoring functions (#2178)
* feat: add PAT monitoring functions

This commit adds two monitoring functions that can be used to check
whether the PATs are functioning correctly:
 - status/up: Returns whether the PATs are rate limited.
 - status/pat-info: Returns information about the PATs.

* feat: add shields.io dynamic badge json response

This commit adds the ability to set the return format of the
`/api/status/up` cloud function. When this format is set to `shields` a
dynamic shields.io badge json is returned.

* feat: add 'json' type to up monitor

* feat: cleanup status functions

* ci: decrease pat-info rate limiting time

* feat: decrease monitoring functions rate limits

* refactor: pat code

* feat: add PAT monitoring functions

This commit adds two monitoring functions that can be used to check
whether the PATs are functioning correctly:
 - status/up: Returns whether the PATs are rate limited.
 - status/pat-info: Returns information about the PATs.

* feat: add shields.io dynamic badge json response

This commit adds the ability to set the return format of the
`/api/status/up` cloud function. When this format is set to `shields` a
dynamic shields.io badge json is returned.

* feat: add 'json' type to up monitor

* feat: cleanup status functions

* ci: decrease pat-info rate limiting time

* feat: decrease monitoring functions rate limits

* refactor: pat code

* test: fix pat-info tests

* Update api/status/pat-info.js

Co-authored-by: Anurag Hazra <hazru.anurag@gmail.com>

* test: fix broken tests

* chore: fix suspended account

* chore: simplify and refactor

* chore: fix test

* chore: add resetIn field

---------

Co-authored-by: Anurag <hazru.anurag@gmail.com>
2023-01-28 19:52:02 +05:30
Rick StaaandGitHub 06a2a78cfc Revert "Revert "Add loading Animation to Most used Language card (#2197)" (#2396)" (#2419)
This reverts commit 4b8198fa21.
2023-01-16 12:30:39 +01:00