Commit Graph

32 Commits

Author SHA1 Message Date
Anurag Hazra 4e2f631f95 feat: added accessibility label and title in svg (#1787) 2022-05-26 21:59:51 +05:30
Sukka 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
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
Petrus Nguyễn Thái Học f83080601e style: update Kotlin color (#1111) 2021-12-29 21:23:50 +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
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
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
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
Anurag fef8bc3a4a refactor: minor refactors 2021-05-07 00:49:43 +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
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
Anurag Hazra 1c12326081 feat: auto resize card if rank is hidden (#721) 2020-12-13 20:15:00 +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
Anurag Hazra 10d8ca6a38 fix: fixed available locale list (#603) 2020-10-31 14:50:46 +05:30
Nathan Chu f1df178643 feat: card locale translations (#509)
* Add Card Translations

* Add tests and documentation for `?lang` option

* Card Translations: update Italian

* Run Prettier

* Correct German Translations.

Co-authored-by: schmelto <30869493+schmelto@users.noreply.github.com>

* refactor: added i18n class to manage translation logic & improved code

* Make the new src/translations.js more concise

* Update translations.js

Co-authored-by: schmelto <30869493+schmelto@users.noreply.github.com>

* Revert 4175484d69289e4ee7283ab968b8e71c3c5d77df

* fix: overlap because of language length

Co-authored-by: lrusso96 <russo.1699981@studenti.uniroma1.it>
Co-authored-by: schmelto <30869493+schmelto@users.noreply.github.com>
Co-authored-by: Anurag <hazru.anurag@gmail.com>
2020-10-04 13:35:15 +05:30
Nathan Chu 057ff69ac2 feat: custom card title (#293)
* Custom stats title (anuraghazra#229)

* Add custom title test

* remove unused code

* Update readme.md to include the `custom_title` option

* Update readme_es.md to include `custom_title` option

Co-Authored-By: José Javier Rodríguez Zas <jjavierdguezas@gmail.com>

* Merge branch 'master' of https://github.com/anuraghazra/github-readme-stats.git into custom-title

* feat: added customTitle option in Card

Co-authored-by: José Javier Rodríguez Zas <jjavierdguezas@gmail.com>
Co-authored-by: Anurag <hazru.anurag@gmail.com>
2020-09-27 13:10:39 +05:30
Bas950 8aea1e3c35 feat: added repo card hide border option (#488)
* 🚀 Prettier config

* 🚀 hide_border for Repo Card

* fix: wrong total commits (#490)

* chore: run prettier on all files

* chore: lol lets add the trailing commas

Co-authored-by: Anurag Hazra <hazru.anurag@gmail.com>
2020-09-24 21:38:14 +05:30
Anurag Hazra 278d6a1739 refactor: refactored createProgressNode logic (#486) 2020-09-24 13:20:12 +05:30
anuraghazra 941eae6545 chore: remove console log 2020-08-17 16:47:57 +05:30
Anurag Hazra 6fa8c26754 fix: added temporary blacklist (#399) 2020-08-17 14:18:17 +05:30
Anurag Hazra ec246d27ab fix: increase cache 2020-08-13 19:26:42 +05:30
Anurag Hazra ee513240ef feat: adde CustomError class for better secondary errors (#355) 2020-08-10 19:36:56 +05:30
Anurag Hazra af1929a3e6 refactor: Improved gradient (#350)
* fix: fixed tests for gradient

* docs: added docs for gradient
2020-08-09 22:11:01 +05:30
Nathan Chu 66836db71b Merge https://github.com/anuraghazra/github-readme-stats into gradient-background-1 2020-08-02 09:23:06 -04:00
Anurag Hazra 67b434dc79 chore(*): reorganized all files and folders (#283) 2020-08-02 13:07:26 +05:30