Commit graph

376 commits

Author SHA1 Message Date
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
Alexandr Garbuzov
91db5356fc
fix(stats card): set correct value of commits count in accessability label (#3610) 2024-01-23 14:41:03 +01: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
Alexandr Garbuzov
59367dc6b0
refactor(wakatime card): move duplicate value format logic into separate function (#3512) 2023-12-26 13:57:22 +01:00
Alexandr Garbuzov
c402a23360
refactor: add missing export for wakatime options type (#3531) 2023-12-11 19:35:07 +01:00
Alexandr Garbuzov
1262002624
fix(wakatime card): add percent display format for compact layout (resolves #3503) (#3504) 2023-11-25 09:00:22 +01:00
Ritik Raj
b8983dd697
feat: show wakatime stats in percentage (resolves #3016) (#3326)
* added option to display wakatime in percentage

* updated exclusive options in wakatime

* added percent sign

* Update readme.md

Co-authored-by: Rick Staa <rick.staa@outlook.com>

* made the required changes

* Update wakatime-card.js

* Update wakatime-card.js

---------

Co-authored-by: Rick Staa <rick.staa@outlook.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-11-23 21:13:48 +02:00
Alexandr Garbuzov
a8663a8025
feat(wakatime card): add disable animations query option (#3496)
* feat(wakatime card): add disable animations query option

* docs
2023-11-23 21:06:01 +02:00
Alexandr Garbuzov
ddcc30d641
feat(repo card): add description lines count query parameter (#3453)
* feature(repo card): add description lines count query parameter

* dev

* dev

* docs

* test
2023-11-20 20:08:48 +02:00
dependabot[bot]
e04e1397c5
build(deps-dev): Bump prettier from 3.0.3 to 3.1.0 (#3476)
* build(deps-dev): Bump prettier from 3.0.3 to 3.1.0

Bumps [prettier](https://github.com/prettier/prettier) from 3.0.3 to 3.1.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/3.0.3...3.1.0)

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

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-11-13 22:22:39 +03:00
Wertzui123
ff16984988
refactor: fix typos in a comment (#3437)
* Fix typos in a comment

* Add a comma
2023-11-01 15:47:03 +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
Bohdan Karashchuk
db921818be
fix(top langs fetcher): fix typo inside error message (#3431)
* Update top-languages-fetcher.js

* Update fetchTopLanguages.test.js

---------

Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com>
2023-10-28 22:26:31 +03:00
Alexandr Garbuzov
0691084c39
ci(preview theme): allow gradient colors (2) (#3427) 2023-10-26 20:00:55 +02:00
Bohdan Karashchuk
8084ba9e3b
i18n: improve Ukrainian translations (#3422) 2023-10-26 09:49:53 +03:00
Joseph Madamba
6bcc98d99d
fix: fix WakaTime brand casing (#3411)
* `Wakatime` -> `WakaTime`

* Fix wrong `WakaTime` brand naming on tr translation

* `wakatime stats` -> `WakaTime stats`
2023-10-24 09:57:32 +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
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