Commit Graph

15 Commits

Author SHA1 Message Date
Ray Chan
c0d7493c3f
Fix truncation of compact wakatime progress bar when langs_count is set (#2228)
* refactor: use default value for languages

* fix: truncated compact progress bar

* test: add test for truncated compact progress bar with langs_count set
2022-10-28 20:47:09 +02:00
rickstaa
8886b93a7e
refactor: clean up imports 2022-09-24 14:10:06 +02:00
rsk2
107f7ca52c
Feature/grs 1955 change commonjs imports (#1995)
* GRS-1955: Using ES6 import/export in src files

* GRS-1955: Using ES6 import/export in test files

* GRS-1955: Using ES6 import/export in themes index.js

* GRS-1955: Readding blank line at end of top-languages-card.js

* feat: fix test es6 import errors

This commit makes sure jest is set-up to support es6. It also fixes
several test errors and sorts the imports.

* test: update test node version

This commit makes sure node 16 is used in the github actions.

* refactor: run prettier

Co-authored-by: rickstaa <rick.staa@outlook.com>
2022-09-24 10:20:54 +02:00
Rick Staa
f9b9015ec2
feat(stats): add 'not_bold' option to stats card (#1468) 2022-09-17 13:32:40 +02:00
Anurag Hazra
4e2f631f95
feat: added accessibility label and title in svg (#1787) 2022-05-26 21:59:51 +05:30
Anurag Hazra
8d1e7f6ab5
feat: improve default card black color, a more modern color (#1624) 2022-03-01 01:19:34 +05:30
T. de Kimpe
b6c184e8ff
fix: firefox text overflow issue (#1492)
* Fixed Firefox text overflow / overwriting issue

Tests currently don't work becouse it appears that '@supports' is not supported by cssToObject used within the tests. I currently have no idea how to fix that test but the cards themself appear to not be broken

Fixes anuraghazra/github-readme-stats#664

Fixes anuraghazra/github-readme-stats#1134

* Fixed tests by moving to other css-to-object

Moved the `css-to-object` package to @uppercod's version for test fix. This doesn't seem to have the same issues as the older package

* chore: cleanup test

Co-authored-by: Anurag <hazru.anurag@gmail.com>
2021-12-13 20:12:03 +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
Anurag
99aea7f803 test: fixed snapshot tests 2021-06-24 22:43:24 +05:30
Florian Bussmann
24063f149b
fix: wakatime langs_count when layout=compact (#1041) 2021-06-10 00:40:40 +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
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
Anurag Hazra
93ae8d995b
fix: wakatime stats fetcher (#871)
fixes #865
2021-02-10 23:40:57 +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