Rick Staa
f9b9015ec2
feat(stats): add 'not_bold' option to stats card ( #1468 )
2022-09-17 13:32:40 +02:00
rickstaa
eacc3cd29c
fix: add missing StatsCard types
2022-09-17 11:28:50 +02:00
Rick Staa
c1324b31bf
feat: add 'exclude_repo' option to stats card ( #1450 )
...
This commit allows users to exclude repositories for the stats card
using the `exclude_repo` option.
2022-09-16 13:09:19 +02:00
Artem Kostiuk and rickstaa
b0bb994ad3
Fix #1170 : Allow customizable width for GitHub Stats Card ( #1334 )
...
* Change default stats card width with hide rank
* Add tests for stats card with card_width
* Add card_width Stats Card description to readme
* fix: add icon width to stats-card min width calculation
* fix: fixes rank circle padding problem
This commit fixes a padding problem that was introduced in
f9c0e0bff6 . In the new code, the padding
around the rank circle will be 50 when the stats card is bigger than
450. When it is smaller than 450 the left and right padding will shrink
equally.
* style: run prettier
* tests: add extra stats 'card_width' tests
This commit makes sure we also test the stats card width for the case that the 'show_icons'
option is enabled.
* style: run prettier
Co-authored-by: rickstaa <rick.staa@outlook.com >
2022-09-16 12:50:30 +02:00
Steven
4c2307ab4b
Add prettier check to CI ( #1999 )
...
* Add prettier check to CI
* Run prettier:format
2022-09-06 09:09:45 +02:00
Adil Hanney
a481021dab
Fix NaN and undefined for empty profiles ( #1965 )
...
* totalCommits: don't return NaN
* rank: B+ should cover everyone
Empty profile used to show "undefined" as the rank. Now empty profile shows "A+"... is B+ possible?
2022-08-26 22:28:48 +02:00
Qi Mo Lin and Rick Staa
dd5a41d696
feat: add min width languages card ( #1953 )
...
* Add min width to languages card
* Add test for min width languages card
* feat: increase lang card min width
Co-authored-by: Rick Staa <rick.staa@outlook.com >
2022-08-18 10:32:03 +02:00
akmhmgc
4b6f4650b2
refactor: improve level calculator ( #1946 )
2022-08-13 20:24:44 +02:00
Kisaragi
b6d75b2e65
refactor: remove arrow function body braces ( #1917 )
2022-08-02 12:26:07 +02:00
Cong
7ceec92455
refactor: fix typo in comment ( #1912 )
2022-08-01 10:13:59 +02:00
Fidel Alejandro Fernández Arias
fd80b67e08
Fixed misspelling ( #1885 )
2022-07-26 09:04:24 +02:00
Anurag Hazra
4e2f631f95
feat: added accessibility label and title in svg ( #1787 )
2022-05-26 21:59:51 +05:30
Mr. Green's Workshop
f5c91ccc9c
fix; japanese translation fix ( #1783 )
...
The Japanese translation was too long to so text was overlap the numbers. This commit fixes that.
2022-05-23 08:06:30 +02:00
BubbaJJ
1294ab2d0b
added swedish translations ( #1747 )
2022-05-16 10:07:56 +02:00
Sukka and Rick Staa
2fb452c119
chore: replace git.io links ( #1724 )
...
* chore: replace `git.io` links
* Update src/common/utils.js
Co-authored-by: Rick Staa <rick.staa@outlook.com >
Co-authored-by: Rick Staa <rick.staa@outlook.com >
2022-05-16 10:04:41 +02:00
Nick Lin
de05a574b1
feat: gradient units to userSpaceOnUse ( #1644 )
2022-03-19 14:27:58 +05:30
Davoleo
de80488f17
feat: added script to automate language color retrieval ( #1654 )
2022-03-19 14:26:50 +05:30
Shunsuke Mano
d7d0ba5fbd
fix(style): centering rank text in the circle ( #1628 )
2022-03-13 02:38:00 +05:30
H.M.Tajul Islam and tajultonim
968d25f4d7
card(translation): bengali language improved ( #1620 )
...
Co-authored-by: tajultonim <mail@tajultonim.com >
2022-02-28 23:13:55 +05:30
Nguyễn Đức Chiến
4d442abfb1
Add Vietnamese Language ( #1321 )
2022-02-23 17:08:11 +01:00
Anurag Hazra
e00fe88ed3
feat: added better error messages ( #1608 )
2022-02-23 20:52:18 +05:30
Anurag Hazra
d57251cdf1
refactor(cards): added typings for cards and fetchers ( #1596 )
...
* refactor(cards): added typings for cards and fetchers
* chore: move types to separate file
2022-02-23 20:15:01 +05:30
Rick Staa and Bahriddin Mo'minov
8b9f9317d8
add uzbek translation ( #1604 )
...
* Add Uzbek language
* fix: apply proposed changes
Co-authored-by: Bahriddin Mo'minov <64766486+MrMuminov@users.noreply.github.com >
2022-02-20 17:23:13 +01:00
YueYue
36aeb5cbdf
Add traditional Chinese (zh-tw) ( #1238 )
...
Add traditional Chinese (zh-tw)
2022-02-17 08:44:52 +01:00
Michał Miszczyszyn and rickstaa
70a59fafbd
Fix grammar in Polish translation and make it more natural ( #1267 )
...
* Fix grammar in Polish translation and make it more natural
* docs: improve pl card translation
Co-authored-by: rickstaa <rick.staa@outlook.com >
2022-02-17 08:41:22 +01:00
NicolasGE
a79887ab92
updated fr locale ( #1194 )
2022-02-17 08:13:40 +01:00
Fayas Noushad
ace8fa9e26
Added Malayalam language (ml) to the stat card ( #1591 )
...
* Add malayalam
* Fix translation of waketime
2022-02-16 16:14:46 +01:00
Sem
e9a192a72c
Improved the Dutch strings
2022-02-16 08:32:43 +01:00
Petrus Nguyễn Thái Học
f83080601e
style: update Kotlin color ( #1111 )
2021-12-29 21:23:50 +05:30
T. de Kimpe and Anurag
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
Anurag Hazra
798bf72dee
fix: auth token header ( #1474 )
2021-11-25 21:12:27 +05:30
Markus Tyrkkö and Markus Tyrkkö
28fa0b8877
fix: bug where wakatime api returns undefined languages ( #1403 )
...
Co-authored-by: Markus Tyrkkö <markus.tyrkko@nitor.com >
2021-11-05 19:49:51 +05:30
Anurag Hazra
d049f0688d
fix: hotfix for graphql api error ( #1409 )
2021-10-23 13:50:33 +05:30
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 55f1e2d8c2 .
* feat: add de and nl to longLocal to fix padding
2021-09-02 22:59:39 +05:30
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