Commit Graph

322 Commits

Author SHA1 Message Date
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
Alexandr Garbuzov cfd6464b4f Stats card: Add Uzbek to long languages (#3019) 2023-07-31 07:18:50 +02:00
Alexandr Garbuzov f3136d2d20 I10n: Add partially-missing Uzbek translations (#3018) 2023-07-31 07:18:14 +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 6822dc77d4 Refactor: Repo card: Fixed type error in iconWithLabel function (#2999) 2023-07-27 22:01:54 +02:00
Alexandr Garbuzov 36eb17ffbb Refactor: Wakatime card: Add missing return statements for helper functions (#2998)
* Refactor: Wakatime card: Add missing return statements for helper functions

* dev
2023-07-27 22:01:01 +02:00
Alexandr Garbuzov 1ee613765e Refactor: Top langs card: Set correct type for hideProgress variable in all functions docstrings (#2995) 2023-07-26 21:33:22 +02:00
Alexandr Garbuzov b2917beabf Refactor: Top langs card: Fix return statement in helpers functions docstrings (#2996) 2023-07-26 21:26:52 +02:00
Alexandr Garbuzov 833324fc0d Refactor: Resolve vscode type error in renderStatsCard function card width calc (#2984) 2023-07-24 20:55:05 +02:00
Alexandr Garbuzov b6d5835441 Refactor: Resolve vscode type error in renderStatsCard function long locales check (#2985) 2023-07-24 20:54:42 +02:00
dependabot[bot] 0173e13e39 Build(deps-dev): Bump prettier from 2.7.1 to 3.0.0 (#2967)
* Build(deps-dev): Bump prettier from 2.7.1 to 3.0.0

Bumps [prettier](https://github.com/prettier/prettier) from 2.7.1 to 3.0.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.7.1...3.0.0)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* dev

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-07-23 21:12:09 +03:00
Alexandr Garbuzov 16c6caaa52 Silence vscode type error in chunkArray function (#2965) 2023-07-23 12:23:58 +02:00
Alexandr Garbuzov 82917825f9 Refactor: Fixed vscode type error in renderTopLanguages function (#2964) 2023-07-23 12:23:14 +02:00
Alexandr Garbuzov b56689b4bd Ranks: Take into account user reviewed PRs count (#2857)
* Rank: Take into account user reviewed PRs count

* e2e

* fix tests

* dev

* docs

* dev

* dev
2023-07-21 13:59:53 +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 6835adfc2b Uppercase total reviews title to match all another titles style (#2955) 2023-07-20 22:50:19 +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 813ad3e7d6 Refactor: Fix several eslint errors and warnings (#2930) 2023-07-19 09:45:41 +02:00
Alexandr Garbuzov 2be4f86efd Refactor: Fixed renderStatsCard function docstring (#2946) 2023-07-16 20:42:55 +02:00
Alexandr Garbuzov 87619d618e Refactor: remove redundant import from wakatime data fetcher (#2944) 2023-07-15 19:27:41 +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
Alexandr Garbuzov d5fdfe1251 Refactor: Fixed stats card createTextNode function docstring (#2933) 2023-07-12 08:41:11 +02:00
Alexandr Garbuzov 9ca24c67cc Refactor: Fixed returns statement for wakatime card functions docstrings (#2934) 2023-07-12 08:40:25 +02:00
Alexandr Garbuzov 6c92fe9d2a Eslint integration (#2885)
* eslint integration

* ci & pre commit

* dev

* dev

* dev
2023-07-03 08:54:19 +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
Max Duval 18c9de0a18 refactor: object shorthand (#2882) 2023-06-26 10:40:54 +02:00
Alexandr Garbuzov b7eb65f819 I18n: Fixed docstring for statsCardLocales function and enable ts-check (#2883) 2023-06-25 22:07:46 +02:00
Alexandr Garbuzov a7998f0186 Top langs card: Fixed getLongestLang function docstring to resolve vscode errors (#2881) 2023-06-24 11:39:23 +02:00
iwbc-mzk a48d653fa4 Fixed resizing of stats card when all metrics except rank are hidden (#2868)
* fixed card resizing in case of rank only

* fixed to display error when both stats and rank are hidden

* fix: fix visual alignment

---------

Co-authored-by: rickstaa <rick.staa@outlook.com>
2023-06-22 12:07:52 +02: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