Commit Graph

14 Commits

Author SHA1 Message Date
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