Commit Graph

143 Commits

Author SHA1 Message Date
Anurag Hazra d049f0688d fix: hotfix for graphql api error (#1409) 2021-10-23 13:50:33 +05:30
Markus Tyrkkö 02e714aeb4 fix: word-wrap bug (#1378)
* Fixed word-wrap bug

* ci(workflow): add 'npm' cache for actions/setup-node in .github/workflows (#1382)

* Revert "ci(workflow): add 'npm' cache for actions/setup-node in .github/workflows (#1382)"

This reverts commit 2723f00cb8.

* chore: remove action cache

* chore: minor change

Co-authored-by: Markus Tyrkkö <markus.tyrkko@nitor.com>
Co-authored-by: Oscar Dominguez <dominguez.celada@gmail.com>
Co-authored-by: Anurag <hazru.anurag@gmail.com>
2021-10-18 19:11:50 +05:30
Anurag Hazra 02ebd3243b refactor: jsdoc in utils & minor changes (#1377)
* refactor: jsdoc in utils & minor changes

* chore: jsdoc Card class

* chore: jsdoc for getStyles
2021-10-10 20:41:40 +05:30
Anurag Hazra 62d65ab483 refactor: refactor repo card (#1325)
* refactor: refactored repo-card

* test: fix tests

* test: fixed tests

* fix: unprovided description error
2021-09-26 21:02:27 +05:30
Anurag Hazra 97690e173d feat(layout): improve flexLayout & fixed layout overlaps (#1314)
* feat(layout): improve flexLayout & fixed layout overlaps

* chore: fix vercel build
2021-09-18 22:39:28 +05:30
Anurag Hazra c3ecd0cea3 chore: change total stars to total stars earned (#1293) 2021-09-06 00:29:18 +05:30
Anurag 98ceb75688 chore: revert total stars naming 2021-09-04 19:59:21 +05:30
Julian Holfeld d790404c76 fix: text overlap (#1207)
* feat(statCard): added more concise description

* fix: removed isLongLocale param

* Revert "fix: removed isLongLocale param"

This reverts commit 55f1e2d8c2c063476c591714146aa82003cddbfd.

* feat: add de and nl to longLocal to fix padding
2021-09-02 22:59:39 +05:30
Julian Holfeld 1a3edcaae0 feat: hide wakatime languages (#1212)
* feat: added option to hide languages

* feat: recalculate percentages for hidden languages

* refactor: reverted langs_count and did some formatting

* doc: added hide to readme

* feat: make languages var mutable and improve filter logic

Co-authored-by: Adrian Kunz <clashsoft@hotmail.com>

* refactor: improve code and added tests

Co-authored-by: Adrian Kunz <clashsoft@hotmail.com>
Co-authored-by: Anurag <hazru.anurag@gmail.com>
2021-08-28 00:35:10 +05:30
Alexandro Perez 7907a5d338 fix: subfolder support for api_domain wakatime api (#1235) 2021-08-14 20:39:09 +05:30
Anurag Hazra 112efb4b92 refactor: language card renderer refactor (#1184)
* refactor: language card render refactor

* chore: change error msg
2021-07-11 19:28:06 +05:30
JacobLinCool dfecef5c34 fix: return "" instead of return undefined (#1133)
the function renderGradient may return  undefined if colors.bgColor !== "object"

which may render "undefined" into svg
2021-06-24 22:34:13 +05:30
Maruf Khan e088a16151 chore(translation): added Bengali language (bn) to the stat card. (#1157) 2021-06-24 22:33:12 +05:30
kato 45057973e2 chore(translation): added arabic translations (#1109)
Add Arabic Langauge
2021-06-10 01:04:33 +05:30
Florian Bussmann 24063f149b fix: wakatime langs_count when layout=compact (#1041) 2021-06-10 00:40:40 +05:30
Anurag fef8bc3a4a refactor: minor refactors 2021-05-07 00:49:43 +05:30
Florian Bussmann f8b0c8767e fix: langs_count overflow when hide is set (#989) 2021-05-07 00:31:04 +05:30
Rishi Suresh 7a096acf66 feat: added border_color option (#1000)
* feat: Allow customization of border color

* docs: Update readme
2021-04-28 00:28:44 +05:30
Mohammed Mushahid Qureshi 465faa7c32 fix: hide in top_languages interfering with number of languages displayed (#959)
* added a dark theme like the github dark theme

* fixed hide in top_languages interfering with number of languages displayed

* fixed hide in top_languages interfering with number of languages displayed

* fixed hide in top_languages interfering with number of languages displayed

* fixed misplaced function argument

* style(themes): Add GitHub dark theme (#758)

This styling falls in line with the recently released GitHub dark mode

Co-authored-by: Anurag Hazra <hazru.anurag@gmail.com>

* docs: add covid fund link (#1019)

* docs: add `npm install` step to CONTRIBUTING.md (#1015)

* fix: apply parseBoolean to hide_border in pin.js (#1014)

* feat: limit langs shown on wakatime card (#988)

* fix: fixed javascript oof moment

Co-authored-by: Issy <48881813+issy@users.noreply.github.com>
Co-authored-by: Anurag Hazra <hazru.anurag@gmail.com>
Co-authored-by: Mike Beaton <mjsbeaton@gmail.com>
Co-authored-by: Florian Bussmann <hallo@florian-bussmann.de>
2021-04-27 01:12:24 +05:30
Florian Bussmann 9773d924fb feat: limit langs shown on wakatime card (#988) 2021-04-27 00:34:34 +05:30
Ferdinand Mütsch 24e5f866c0 feat: allow to customize wakatime range (#874)
* chore: allow to customize wakatime data range

* docs: document wakatime range parameter
docs: add wakatime section to german readme

Co-authored-by: Anurag Hazra <hazru.anurag@gmail.com>
2021-03-08 11:39:43 +05:30
Teddy Heinen c8a5e835a5 feat: add corner rounding parameter so we can make square cards (#845)
* add corner rounding parameter so i can make square cards

* rename rx to border_radius
2021-03-07 22:23:32 +05:30
José Javier Rodríguez Zas (JJ) ad486d1aa2 docs(translation): Improve Spanish translations (#868)
* improve some spanish translations

* update and improve spanish readme

Co-authored-by: Anurag Hazra <hazru.anurag@gmail.com>
2021-03-07 22:19:36 +05:30
Haraldo Filho 32976d8bd6 fix: wakatime compact card bargraph rendering (#885)
* fix: wakatime compact card bargraph rendering at the right side

* Updated snapshots
2021-03-07 22:16:02 +05:30
Alexandr a41c886442 docs: improve russian translation of wakatime stats card (#911) 2021-03-07 22:06:18 +05:30
Haoran Du d5679b5e28 docs(translation): update chinese translations.js (#836)
improve Chinese Translation
2021-03-07 22:03:33 +05:30
Anurag Hazra 93ae8d995b fix: wakatime stats fetcher (#871)
fixes #865
2021-02-10 23:40:57 +05:30
Nathan Chu c1a88baad4 feat: add support for custom wakatime api domain (#620)
* feat: add support for custom wakatime api domain

* Update src/fetchers/wakatime-fetcher.js

* Update src/fetchers/wakatime-fetcher.js

Co-authored-by: 춤추는망고 <ensia96@gmail.com>

Co-authored-by: Nathan Chu <63111210+nthnchu@users.noreply.github.com>
Co-authored-by: 춤추는망고 <ensia96@gmail.com>
2021-01-27 12:41:21 +05:30
Alexandr 5600f0d241 fix(translation): more languages marked as long (#804) 2021-01-17 15:02:12 +05:30
Alexandr 2817bb9846 fix: added russian into long locales (#614) 2021-01-10 12:10:03 +05:30
Sergey Romanenko c4c3b9e1ea chore(translation): fix russian card translations (#791) 2021-01-07 19:52:17 +05:30
Yishuai Li cf8f23a0cc chore(translation): improved Chinese locale (#774)
Localise with English annotated
2021-01-07 19:38:16 +05:30
Sergey Romanenko 7bc0ccebc2 chore(translation): added ukrainian card translations (#784) 2021-01-07 19:31:48 +05:30
Johann Pinson b7bada3ed4 chore(translation): improve french translations (#738)
Co-authored-by: Anurag Hazra <hazru.anurag@gmail.com>
2021-01-07 17:20:17 +05:30
Mustafa Çağrı Güven 2239b5e522 chore(translation): added Turkish locale (#750)
Co-authored-by: Anurag Hazra <hazru.anurag@gmail.com>
2021-01-07 17:16:00 +05:30
Jakub Złotek f629f47c51 chore(translation): added polish locales (#786) 2021-01-07 17:02:59 +05:30
Carlos_Mesquita 68f02b095a chore: fix pt br locales (#767)
* fix: the correct term is 'Commits' instead of 'Compromissos'

* fix: the correct term is 'Commits' instead of 'Problemas'

* fix: the correct term is 'Arquivados' instead of 'Arquivada'

* fix: the correct term is 'Linguagens' instead of 'Linguas'
2021-01-03 13:21:22 +05:30
Karel Krýda 629457d323 chore: added Czech locale (#618) 2020-12-13 23:08:29 +05:30
Nubb Dev 65f18a6ee9 chore: added Indonesian/Malaysia Language (#621)
* Add locale=id (Bahasa Indonesia)

* added locale=my (Malaysia)

Co-authored-by: Anurag Hazra <hazru.anurag@gmail.com>
2020-12-13 23:07:31 +05:30
Luke 1f8bd55316 chore: added slovak translations in cards (#617) 2020-12-13 23:03:28 +05:30
Anurag Hazra 1c12326081 feat: auto resize card if rank is hidden (#721) 2020-12-13 20:15:00 +05:30
춤추는망고 8b33b7b813 docs(translation) improved Korean translation (KR) (#679)
* [change] contents with better translation

Changed the content that seemed to fit better.

* [change] readme version to latest
- translate partially

* [translate] github stats part partially

* [translate] before github extra pin

* [translate] before wakatime week stats

* [finished] translation

* [refine] sentences

* docs: fix issues link

Co-authored-by: Anurag Hazra <hazru.anurag@gmail.com>
2020-12-10 22:20:33 +05:30
Anurag Hazra f7f11d0b25 feat: added disable_animations flag (#643) 2020-11-14 18:52:36 +05:30
Willian Rodrigues 94aeabe300 feat: add wakatime compact layout (#560)
* Add wakatime compact layout

* Update readme

* test: added & updated test snapshots

Co-authored-by: Anurag <hazru.anurag@gmail.com>
2020-11-04 23:51:57 +05:30
Nathan Chu 6e82cfb32d fix: names ending in "X" or "S" (#612)
* Update stats-card.js

* Update stats-card.js
2020-11-04 23:33:14 +05:30
Alexandr 9ca5039e55 chore(card-translation): added russian card translations (#606) 2020-11-04 23:32:04 +05:30
Anurag Hazra 10d8ca6a38 fix: fixed available locale list (#603) 2020-10-31 14:50:46 +05:30
Stephan Muller ff9cf1317f chore: full Dutch (The Netherlands) support (#541)
* Added full dutch langauge support

* Update

Co-authored-by: Anurag Hazra <hazru.anurag@gmail.com>
2020-10-31 14:29:06 +05:30
Péter Németh 9f84fa64ea feat(translation): added Hungarian card translations (#598) 2020-10-31 14:05:22 +05:30
Panagiotis 57e9d5f6e0 feat(translation): added Greek card translation (#584) 2020-10-25 18:09:07 +05:30