211 Commits

Author SHA1 Message Date
anuraghazra 53e40413e7 chore: update 2024-10-11 23:10:49 +05:30
Alexandr Garbuzov 6c6888e516 tests(e2e): fix stats card data name (#3839) 2024-07-06 20:09:53 +03:00
Alexandr Garbuzov 5f411be854 tests(e2e): update data to fix retrieve stats card test (#3643)
* tests(e2e): update data to fix retrieve stats card test

* dev
2024-02-06 12:14:45 +01:00
Alexandr Garbuzov 547660b0f1 tests(e2e): update data to fix retrieve stats card test (#3626) 2024-01-30 22:41:57 +01:00
Alexandr Garbuzov 319e3d401f tests: refactor stats card e2e test to avoid future error due to yearly data update (#3612)
* tests: refactor stats card e2e test to avoid future error due to yearly data update

* dev
2024-01-25 10:31:54 +01:00
Alexandr Garbuzov 533469d677 tests(e2e): update data to fix retrieve stats card test (#3609) 2024-01-23 14:23:26 +01:00
Alexandr Garbuzov 4710f24670 tests(stats card): fix render translations test (#3580) 2024-01-07 08:42:23 +01:00
Alexandr Garbuzov 1656ec6d3c tests: add pin card performance test (#3374) 2023-11-28 19:44:21 +02:00
Alexandr Garbuzov 0616df3746 tests: add gist card performance test (#3372) 2023-11-28 19:39:15 +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
Alexandr Garbuzov f26b83d6cd tests: fix typo inside card class proper height/width test (#3489) 2023-11-20 09:57:29 +01:00
Alexandr Garbuzov e5b5da86e5 tests: add basic wakatime endpoint test (#3454) 2023-11-06 19:40:30 +01:00
Alexandr Garbuzov 6d8169fd2c tests(wakatime-fetcher): fix brand casing (#3455) 2023-11-06 15:21:14 +01:00
Alexandr Garbuzov 5b72dfbc32 tests(stats card): cover with test changes in #3298 (#3443) 2023-10-30 11:34:42 +01:00
Alexandr Garbuzov 89fc14609e refactor: improve blacklisted username error by adding secondary message (#3444) 2023-10-30 11:31:41 +01: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
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 3977b905b8 tests:: allow gradient themes (#3401) 2023-10-23 11:31:30 +02: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 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 428e97bfcc Add performance tests base (#3141)
* Add basic bench tests

* dev
2023-10-13 11:27:04 +02: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 65c3300189 refactor(stats card fetcher): improve could not fetch total commits error message (#3255) 2023-09-21 20:30:24 +02:00
Alexandr Garbuzov 12f84f89c8 tests: add top langs endpoint proper cache header test (#3269) 2023-09-21 20:24:28 +02:00
Alexandr Garbuzov 41a2ba8cbe tests: add pin endpoint proper cache header test (#3260) 2023-09-20 15:29:45 +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
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 ef0ec6e26b refactor: use more clear retryer error message (2) (#3227) 2023-09-14 10:47:00 +02:00
Alexandr Garbuzov 81f030fd1c tests(stats card fetcher): add upstream API error test when include_all_commits true (#3186) 2023-09-12 11:54:57 +03:00
Alexandr Garbuzov c42798b39e refactor: enable curly eslint rule (#3137) 2023-09-12 10:06:01 +02:00
Alexandr Garbuzov 7a6ed4d8a8 tests: add missing card set title test (#3190) 2023-09-04 10:11:28 +02:00
Alexandr Garbuzov 438ffb5ee8 tests: add I18n class tests (#3188) 2023-09-01 08:36:23 +02:00
Alexandr Garbuzov cb037aefd8 Tests: Stats card: Add hide all stats and rank icon test (#3149) 2023-08-28 09:12:18 +02:00
Alexandr Garbuzov b6156a8688 Tests: Add pin endpoint missing params test (#3151) 2023-08-27 09:55:31 +02:00
Alexandr Garbuzov 1c91d1ac43 tests: add gist endpoint proper cache header test (#3152) 2023-08-27 09:55:02 +02:00
Alexandr Garbuzov eab5fc0274 Tests: Stats card: Add invalid username fetcher test (#3148) 2023-08-26 09:53:21 +02:00
Alexandr Garbuzov e8b9ccf203 tests: add pin endpoint wrong locale test (#3143) 2023-08-25 09:21:12 +02:00
Alexandr Garbuzov 2cf933c81a Tests: Add top langs endpoint wrong locale test (#3142) 2023-08-25 09:20:31 +02:00
Alexandr Garbuzov 5c688f9e7c Tests: Add pin endpoint blacklist test (#3136) 2023-08-24 08:08:22 +02:00
Alexandr Garbuzov 4ccad77d44 Tests: Add top langs endpoint blacklist test (#3135) 2023-08-24 07:39:38 +02:00
Alexandr Garbuzov a5ddf2632b Tests: Add index endpoint wrong locale test (#3131) 2023-08-23 14:26:04 +02:00
Alexandr Garbuzov 988044a199 Tests: Add index endpoint blacklist test (#3130) 2023-08-23 09:58:21 +02:00
Alexandr Garbuzov 4cf33ad1bf Tests: Add gist endpoint wrong locale test (#3127) 2023-08-22 09:03:59 +02:00
Alexandr Garbuzov fb45135b4f tests: reduce size of wakatime fetcher test (#3111) 2023-08-22 09:03:34 +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 272c712a36 tests: Add Wakatime fetcher error response test to increase coverage (#3112) 2023-08-21 09:09:18 +02:00
Alexandr Garbuzov 4e69e3a358 Tests: Add gist endpoint not found test (#3110) 2023-08-21 09:07:47 +02:00
Alexandr Garbuzov 03b0adc8b7 Tests: Add gist endpoint missing id param test (#3106) 2023-08-20 09:58:48 +02:00
Alexandr Garbuzov 93733caaa6 Gist card: handle not found error (#3100) 2023-08-20 09:58:16 +02:00