Commit Graph

51 Commits

Author SHA1 Message Date
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 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
Willian Rodrigues
6e73a0035d
feat: add wakatime card (#392)
* Adds wakatime card route

* Adds language progress on wakatime card

* Adds wakatime card on README

* Adds no coding activity node

* Remove percent displayed on wakatime's card

* Update readme

* refactor: refactored code & added tests

Co-authored-by: Anurag <hazru.anurag@gmail.com>
2020-09-19 12:53:39 +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
416f027fae
fix: total commit counts (#211)
* fix: wip fix total commit counts

* tests: added tests

* chore: remove console logs

* docs: added docs for include_all_commits

* chore: increased value offset x

* chore: added reference/links comments

* docs: updated docs
2020-07-31 13:37:39 +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
anuraghazra
6d5a828542 chore: added secondary warning message in renderError 2020-07-25 13:29:32 +05:30
Fábio Rosado
4c0518616f
feat: Add count_private flag to count private contributions (#148)
* Add private contributions count

* Remove unused var and add tests

* Update readme

* fix: tests & minor code formating

* docs: updated docs

Co-authored-by: anuraghazra <hazru.anurag@gmail.com>
2020-07-24 19:34:38 +05:30
Mario Lubenka
3a9ded0a09
feat(repocard): parse emojis in description (#67)
* feat: add remove_emojis option

Removes emojis in repo card description

* feat: parse emojis

* feat: rename remove_emojis to show_emojis option for consistency

* docs: update docs

Co-authored-by: anuraghazra <hazru.anurag@gmail.com>
2020-07-24 18:56:26 +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
Joydip Roy
5ed75e11be
feat: added isTemplate badge & refactored console.logs (#146)
* feat: template option added husky added for same commit disable console in test \
logger utils added env checked for log modified git ignore

* changed are done as per the suggesstion

* changed style and font

* text color dynamic

* fix border and using .bagde class as common

* simplified the badge svg code through a common method

* chore: updated css & fixed tests

Co-authored-by: anuraghazra <hazru.anurag@gmail.com>
2020-07-23 13:05:50 +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
anuraghazra
fdf445d734 feat: added ability to set custom cache 2020-07-20 21:43:51 +05:30
Anurag Hazra
2c26329e13
feat: added inbuilt themes (#105)
* feat: added inbuilt themes

* docs: added theming docs

* docs: update docs
2020-07-19 20:34:41 +05:30
Anurag Hazra
2709d5b434
feat: added hide_title option (#88) 2020-07-17 23:01:16 +05:30
omrilotan
9e4d83247e
feat: display username in repo card (optional) (#78)
* Display username in repo card (optional)

* fix: show_owner boolean flag & used nameWithOwner from gql api
2020-07-16 18:03:33 +05:30
anuraghazra
5fce46d67c fix: query param booleans 2020-07-15 18:32:16 +05:30
anuraghazra
429d65a52b refactor: refactored retryer logic & handled invalid tokens 2020-07-15 17:46:31 +05:30
anuraghazra
3d8dea90e2 fix: github rate limiter with multiple PATs 2020-07-15 14:59:25 +05:30
anuraghazra
db49ca7b71 feat: added rankings 2020-07-13 19:41:47 +05:30
anuraghazra
9af56df2c1 feat: added bg_color options, added RepoCard color options too 2020-07-12 12:46:08 +05:30
JoaoVSouto
59b8bded9c feat: receives text, title and icon colors from URL 2020-07-11 16:01:44 -03:00
anuraghazra
3180144fa4 chore: ignore lock file 2020-07-11 23:20:42 +05:30
anuraghazra
45941f6c70 test: added test & refactored files 2020-07-11 22:10:13 +05:30
anuraghazra
12fd842fce fix: description trimming & htmlEncode 2020-07-11 14:17:51 +05:30
Omid Nikrah
9083ae3e49
Use destructuring props assignment 2020-07-10 21:35:14 +04:30
anuraghazra
4292212b30 feat: added better error handling 2020-07-10 18:12:31 +05:30
anuraghazra
aaefd5054d fix: fixed overflowing layout 2020-07-10 12:41:06 +05:30
anuraghazra
01fb2b490c fix: fix description edge case fixes #10 2020-07-10 11:32:59 +05:30
anuraghazra
5f84b594a3 feat: added pins! 2020-07-09 22:23:14 +05:30
anuraghazra
9f1e90ad2c refactor: refactored code & added line_height option 2020-07-09 21:29:50 +05:30
anuraghazra
a54a2a4009 feat: added hide_border 2020-07-09 20:32:34 +05:30
Urmil Shroff
5650db143f
Fixed capitalization 2020-07-09 19:28:56 +05:30
anuraghazra
1383a636bb feat: added icons support 2020-07-09 18:46:41 +05:30
Anurag Hazra
61626af2d4
feat: added ability to hide specific stats (#3)
* feat: added ability to hide specific stats

* chore: added docs for ?hide=

* chore: fix readme docs

* chore: updated docs preview link
2020-07-09 17:50:15 +05:30
anuraghazra
59ae7f366e fix: font family fix 2020-07-09 16:34:13 +05:30