Commit Graph

112 Commits

Author SHA1 Message Date
github-actions[bot] bb68a8621d refactor: update languages JSON (#4047)
Co-authored-by: qwerty541 <53787217+qwerty541@users.noreply.github.com>
2024-12-02 22:50:41 +03:00
anuraghazra cdc6ad1eaf feat: cost optimize, increase cache 2024-10-11 23:07:05 +05:30
github-actions[bot] 856ea613e6 refactor: update languages JSON (#3910)
Co-authored-by: qwerty541 <53787217+qwerty541@users.noreply.github.com>
2024-09-02 21:10:51 +03:00
github-actions[bot] 0496044a76 refactor: update languages JSON (#3832)
Co-authored-by: qwerty541 <53787217+qwerty541@users.noreply.github.com>
2024-07-04 20:34:38 +03:00
github-actions[bot] fd12c01494 refactor: update languages JSON (#3711)
Co-authored-by: qwerty541 <53787217+qwerty541@users.noreply.github.com>
2024-03-31 21:43:02 +03:00
github-actions[bot] d2dbffeb2d refactor: update languages JSON (#3567)
Co-authored-by: qwerty541 <qwerty541@users.noreply.github.com>
2024-01-07 08:44:52 +01:00
github-actions[bot] 1886fe0379 refactor: update languages JSON (#3450)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-10-31 07:24:10 +03:00
Pritam Sharma 9c6eb22862 feature: render error card in same theme as requested card (resolves #3259) (#3298)
* Error theme Based on Design

* Update src/common/utils.js

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

* Update src/common/utils.js

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

---------

Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com>
2023-10-28 22:31:24 +03:00
Alexandr Garbuzov 0691084c39 ci(preview theme): allow gradient colors (2) (#3427) 2023-10-26 20:00:55 +02:00
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 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 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 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 20be43939b refactor: add missing jsdoc for I18n class methods (#3153) 2023-08-27 09:54:07 +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 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 72cfdf832d Refactor: Stats card: Use typedef tags inside data fetcher (#3056) 2023-08-09 09:22:44 +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 8bae143e27 Refactor: Fix docstring for rankIcon function (#3029) 2023-08-01 08:37:18 +02:00
Alexandr Garbuzov ffafcf29ed Refactor: Fix docstring for getCardColors utils function (#3011) 2023-07-30 12:08:44 +02:00
Alexandr Garbuzov d7b534abb8 Refactor: Fix MissingParamError class constructor docstring (#3012) 2023-07-30 10:22:23 +02:00
Alexandr Garbuzov 0f8a790cc3 Refactor: Improve docstring for dateDiff utils function (#3001) 2023-07-28 20:10:15 +02:00
Alexandr Garbuzov f3341ddf5f Refactor: Improve docstring for lowercaseTrim utils function (#3002) 2023-07-28 20:09:31 +02:00
Alexandr Garbuzov 16c6caaa52 Silence vscode type error in chunkArray function (#2965) 2023-07-23 12:23:58 +02:00
Alexandr Garbuzov 96d3a47a9f Refactor: Fixed docstring for flexLayout function (#2949)
* Refactor: Fixed docstring for flexLayout function

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

* dev
2023-07-19 09:55:12 +02:00
Alexandr Garbuzov 4eb01d80a2 Refactor: Improve docstrings for card class methods (#2938) 2023-07-13 23:42:25 +02:00
Alexandr Garbuzov 45f4320008 Refactor: Fixed docstring for retryer function (#2937) 2023-07-13 23:41:57 +02:00
github-actions[bot] 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
Rick Staa 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 Staa 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 Garbuzov 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 Staa a5260cb38a feat: improve locale translation not found error (#2853) 2023-06-19 06:06:24 +03:00
Markus Tyrkkö 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 Garbuzov 3416ae114f Fix clampValue function docstring (#2796) 2023-06-09 07:41:58 +02:00