Commit Graph

85 Commits

Author SHA1 Message Date
Max Niederman 19fc5cb13e fix: use consistent case for card titles (#497)
The WakaTIme stats card used different casing for the title than other cards.
2020-09-26 13:02:02 +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 3c6c142c75 fix: wrong total commits (#490) 2020-09-24 21:24:16 +05:30
Anurag Hazra 278d6a1739 refactor: refactored createProgressNode logic (#486) 2020-09-24 13:20:12 +05:30
Luigi Russo 9c0e130a90 fix(top-langs): fix fetching (#432, #403) (#435) 2020-09-24 12:36:16 +05:30
Boris K 851bb7b4b8 fix(stats-card): commits count when include_all_commits is true (#391) 2020-09-24 12:33:32 +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
Luigi Russo e377770a71 fix: stats fetcher include stars of forked repos (fix #467) (#470) 2020-09-19 11:35:25 +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
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
Anurag Hazra f0b89d0f72 fix: label overlap (#274) 2020-07-31 14:54:41 +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
Nathan Chu 65cdb1877f remove unused code 2020-07-30 11:26:35 -04:00
Nathan Chu b0362c4e12 resolve merge conflict 2020-07-30 11:21:24 -04:00
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
Nathan Chu 074e22017e Verify hex color in gradient 2020-07-29 10:53:13 -04:00
anuraghazra 0833e8531d fix: xss vulnerability on renderError 2020-07-29 19:02:06 +05:30
Nathan Chu be285cb33e Fix gradient themes 2020-07-29 09:19:47 -04:00
Nathan Chu bd0ef4afc1 Repo and Top Langs card gradient (anuraghazra#218) 2020-07-28 20:00:19 -04:00
Nathan Chu d685d4d9df Stats card gradient (anuraghazra#218) 2020-07-28 19:32:35 -04:00
anuraghazra 8854c6d6cb chore: added code comments 2020-07-28 23:46:48 +05:30
anuraghazra 826f0201aa feat: improved top lang fetching & changed title 2020-07-28 23:33:43 +05:30
Leo Hanisch 11757dba42 feat: multiline text in repo description (#206)
* Enable multi line repo card descriptions

* Adjust unit tests to multi line descriptions

* refactor: refactored code & fixed tests

* style: minor height adjustments

* chore: codecov stuck

Co-authored-by: anuraghazra <hazru.anurag@gmail.com>
2020-07-27 14:09:35 +05:30
Anurag Hazra 68198d8b16 Merge pull request #204 from SSARCandy/master
fix: fetch top lang in each repository
2020-07-26 22:19:26 +05:30
ssarcandy d929e8b20a fix: fetch top lang in ech repository 2020-07-27 00:26:50 +08:00
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
anuraghazra 2812ce0fd3 fix: weird unicode char 2020-07-24 23:35:20 +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
Liam 9624cf6acd fix: stats hide_border bug (#151)
* fix: stats hide border bug

* fix white border on dark mode issue

* chore: refactor code & tests

Co-authored-by: anuraghazra <hazru.anurag@gmail.com>
2020-07-24 13:07:09 +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 d394add560 fix: languages color fallback & hide lang if not present 2020-07-23 13:41:37 +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 8a8ff5b390 fix: fixed sorting of languages by percentage 2020-07-21 19:58:13 +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
Sreetam Das dd2c7ed278 fix: proper apostrophe in stats card's header
* fix: remove 's' after apostrophe if name ends with 's'

* fix: respect GITHUB_TOKEN env var before PAT_s

* revert: verbose console log for retries

* Revert "fix: respect GITHUB_TOKEN env var before PAT_s"

This reverts commit 2becbe595c2df4580aa81d690482187b1e6ba512.

* test: added test for title apostrophe

Co-authored-by: anuraghazra <hazru.anurag@gmail.com>
2020-07-20 00:02:07 +05:30
Hi120ki 30da0119bf fix style collapses on stats card by css font config 2020-07-20 00:24:54 +09:00
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
anuraghazra 253eb39b19 refactor: added FlexLayout for flex layouts 2020-07-18 22:44:27 +05:30