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
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 4175484d69
* 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
d4e2a1b395
feat: added "exclude_repo" option to Top Langs ( #493 )
...
* 🚀 Added "exclude_repo" option to Top Langs
* chore: code style update
Co-authored-by: Anurag <hazru.anurag@gmail.com>
2020-09-27 12:39:44 +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
Benjamin Ashbaugh
e9019c1453
feat: added number of languages param for top langs card ( #445 )
...
* feat: num_langs param for top langs
* fix: top-langs card bottom padding with num_langs param
* fix: clamp toplangs num_langs rather than throwing error
* feat: changed param name & fixed minor issues, added tests
Co-authored-by: anuraghazra <hazru.anurag@gmail.com>
2020-09-12 18:46:18 +05:30
Anurag Hazra
6fa8c26754
fix: added temporary blacklist ( #399 )
2020-08-17 14:18:17 +05:30
Anurag Hazra
056aaaf189
fix: catched all errors ( #384 )
2020-08-13 21:18:26 +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
67b434dc79
chore(*): reorganized all files and folders ( #283 )
2020-08-02 13:07:26 +05:30
Anurag Hazra
3b0f1b11a0
refactor: added reusable Card class to reduce code & test duplication ( #260 )
...
* refactor: added reusable Card class to reduce code & test duplication
* fix: top-langs card width & documented card_width option
2020-07-30 19:19:03 +05:30
Sagar
b8330a88e1
feat: Added compact layout for top languages card ( #179 )
...
* compact layout for top langs card
* 🐞 FIX: most used lang should be first, apply correct colors, removed nested svgs and height set
* 🐞 FIX: conditionally rendering layout compact
* 🐞 FIX: border radius on lang progressbar
* refactor: refactored code & fixed bugs
* fix: toFixed
* chore: change string interpolation
* docs: updated readme
Co-authored-by: anuraghazra <hazru.anurag@gmail.com>
2020-07-26 21:45:23 +05:30
Anurag Hazra
aa44bd7615
fix: hide parameter array implementation ( #162 )
...
* fix: hide paramter array implementation
* chore: parseArray str check
* docs: updated readme
* chore: add codecov threshold
* docs: update docs
2020-07-23 21:01:23 +05:30
Arjun Mahishi
c2adcfd6fe
feat: hide specific languages in "Top languages" card ( #150 )
...
* add new query param to hide specific languages in top languages card
* [top-langs] add function to clean out the provided lang name
* [top-langs] rename 'hide_lang' => 'hide', refactor logic for parsing the list of provided languages to hide
* [top-langs] take list of languages to hide, as a json array
* chore: minor changes
* docs: added docs for hide lang
Co-authored-by: anuraghazra <hazru.anurag@gmail.com>
2020-07-23 19:47:04 +05:30
anuraghazra
4a8fd03d8d
feat: added hide_langs_below option
2020-07-21 18:37:16 +05:30
anuraghazra
7c104cf8c5
tests: added tests for renderTopLanguages & top-langs
2020-07-21 18:04:58 +05:30
anuraghazra
411d8f1ffa
feat: added Top languages card
2020-07-21 17:03:05 +05:30