Commit Graph

357 Commits

Author SHA1 Message Date
Alexandr Garbuzov f8aa2db39d ci(theme preview): allow gradient themes (#3400) 2023-10-23 11:22:18 +02:00
Alexandr Garbuzov 8278980d25 infra: enable no-negated-condition eslint rule (#3283)
* infra: enable no-negated-condition eslint rule

* dev

* dev
2023-10-15 21:38:32 +03:00
Alexandr Garbuzov 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 Garbuzov b753d49158 infra: enable radix eslint rule (#3261) 2023-10-13 22:21:12 +03:00
Alexandr Garbuzov 1c07f4142c feature: fetch only requested data from GitHub GraphQL API to reduce load (#3208)
* feature: fetch only requested data from GitHub GraphQL API to reduce load

* dev

* dev
2023-10-13 22:14:06 +03:00
Alexandr Garbuzov 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 Garbuzov 88c507ce46 refactor: fix typo in TRY_AGAIN_LATER constant name (#3274) 2023-10-12 10:40:04 +02:00
Alexandr Garbuzov 7bf4a873f1 refactor: add GitHub REST API error to CustomError class (#3272) 2023-09-22 17:43:58 +02:00
Alexandr Garbuzov 65c3300189 refactor(stats card fetcher): improve could not fetch total commits error message (#3255) 2023-09-21 20:30:24 +02:00
Alexandr Garbuzov 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 Garbuzov c1be93922d infra: enable no-use-before-define eslint rule (#3234) 2023-09-17 15:55:27 +02:00
Rick Staa 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 Garbuzov 64f56e88b4 refactor: change confusing behavior of showing 0 commints when upstream API fails (#3238) 2023-09-17 11:14:40 +02:00
Alexandr Garbuzov 6370d0c44d refactor: fix I18n class constructor jsdoc to resolve vscode type errors (#3195) 2023-09-14 13:25:52 +02:00
Alexandr Garbuzov ef0ec6e26b refactor: use more clear retryer error message (2) (#3227) 2023-09-14 10:47:00 +02:00
Alexandr Garbuzov 976db143de refactor: use more clear retryer error messages (#3216) 2023-09-12 10:07:20 +02:00
Alexandr Garbuzov c42798b39e refactor: enable curly eslint rule (#3137) 2023-09-12 10:06:01 +02:00
Alexandr Garbuzov b611018476 i18n: set locale only once instead of on each call (#3200) 2023-09-12 09:31:11 +02:00
Alexandr Garbuzov 8879c7fe2e refactor: fix createProgressNode function jsdoc and enable ts-check (#3211) 2023-09-12 09:24:07 +02:00
Alexandr Garbuzov 09b7ad6a58 refactor: move duplicated code for rendering repo/gist cards into utils (#3214) 2023-09-11 22:08:22 +02:00
Alexandr Garbuzov b55aaa4cff refactor: fix card colors type and function to resolve vscode type errors (#3191) 2023-09-11 10:47:55 +02:00
Alexandr Garbuzov b0e15fb17c refactor(wakatime card): fix createTextNode function jsdoc to resolve type error (#3201) 2023-09-06 08:04:07 +02:00
Alexandr Garbuzov ecf1db6dce refactor: add missing jsdoc inside calculateRank.js (#3155) 2023-08-28 09:16:56 +02:00
Alexandr Garbuzov 20be43939b refactor: add missing jsdoc for I18n class methods (#3153) 2023-08-27 09:54:07 +02:00
Alexandr Garbuzov 0ac5280ba6 Top langs card: Remove unreachable code from fetcher and increase tests coverage (#3126) 2023-08-22 09:00:56 +02:00
Alexandr Garbuzov 93733caaa6 Gist card: handle not found error (#3100) 2023-08-20 09:58:16 +02:00
Alexandr Garbuzov 2e619cc8a8 feat(gist): handle missing param error (#3101) 2023-08-19 08:35:52 +02:00
Alexandr Garbuzov 24ac78bdb0 Refactor: Gist card: Fix description type since it can be not set (#3089) 2023-08-17 09:43:06 +02:00
Alexandr Garbuzov 6c15843c7d Refactor: Move hide_border into common options (#3086) 2023-08-16 09:45:58 +02:00
Alexandr Garbuzov 4eefd2497d Refactor: Top langs card: Use default value instead if statement (#3082) 2023-08-15 09:30:06 +02:00
Alexandr Garbuzov da82999f06 Feature: Gist card: Add hide_border option support (#3080) 2023-08-15 09:25:04 +02:00
Alexandr Garbuzov 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 Garbuzov 48830adefa Refactor: Stats card: Set username param type for totalCommitsFetcher function inside data fetcher (#3068) 2023-08-14 10:44:54 +02:00
Alexandr Garbuzov 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 Garbuzov 135176f073 Enable consistent return eslint rule (#3065) 2023-08-12 08:11:12 +02:00
Alexandr Garbuzov c04dd426b1 Refactor: Top langs card: Use typedef tags inside data fetcher (#3061) 2023-08-10 08:41:35 +02:00
Alexandr Garbuzov 75d378dfa8 feat(I10n): add partially-missing Malayalam translations (#3057) 2023-08-09 09:24:11 +02:00
Alexandr Garbuzov 38ae6494fc Stats card: Add Malayalam to long languages (#3058) 2023-08-09 09:23:12 +02:00
Alexandr Garbuzov 72cfdf832d Refactor: Stats card: Use typedef tags inside data fetcher (#3056) 2023-08-09 09:22:44 +02:00
Alexandr Garbuzov 20f0868a17 Refactor: Repo card: Use typedef tags to resolve eslint errors (#3053) 2023-08-08 08:32:39 +02:00
Alexandr Garbuzov 879dbf1a59 Refactor: Use typedef tags inside request utils function to resolve eslint errors (#3054) 2023-08-08 08:32:15 +02:00
Alexandr Garbuzov d2e4dddcd5 Refactor: Top langs card: Resolve type error with hide_border variable (#3042) 2023-08-06 23:06:17 +02:00
Alexandr Garbuzov 3b975d0fbc Refactor: Repo card: Use typedef tags inside data fetcher to resolve eslint errors (#3043) 2023-08-05 06:09:37 +02:00
Alexandr Garbuzov 036f80f7ae Refactor: Top langs card: Use typedef tags to resolve eslint errors (#3040) 2023-08-04 07:09:20 +02:00
Alexandr Garbuzov 4a4531091f Refactor: Stats card: Use typedef tags to resolve eslint errors (#3039) 2023-08-04 07:08:50 +02:00
Alexandr Garbuzov 8e15656dc2 Refactor: Top langs card: Fix returns tag in docstrings (#3036) 2023-08-03 08:02:13 +02:00
Alexandr Garbuzov e3e1495a53 Refactor: Wakatime card: Use typedef tags to resolve eslint errors (#3037) 2023-08-03 08:01:32 +02:00
Alexandr Garbuzov dc5d23e187 Refactor: Wakatime card: Use @typedef to resolve eslint errors (#3033) 2023-08-02 08:58:37 +02:00
Alexandr Garbuzov 6d086b4c40 Refactor: Wakatime card: Add missing returns statement for createTextNode function (#3032) 2023-08-02 08:58:04 +02:00
Alexandr Garbuzov 8bae143e27 Refactor: Fix docstring for rankIcon function (#3029) 2023-08-01 08:37:18 +02:00