Commit Graph

794 Commits

Author SHA1 Message Date
Anirban Das 041ef07ea4 Added neon theme (#2579)
Added neon themes with bright colors that goes well with dark backgrounds.
2023-06-11 12:34:54 +02:00
Alexandr Garbuzov dc60ea9b30 Docs: set correct separation symbol between translations links (#2806) 2023-06-11 12:11:17 +02:00
Alexandr Garbuzov 9520baac1f Docs: rename wakatime stats card section (#2807) 2023-06-11 12:10:04 +02:00
Rick Staa 9105c74af4 docs: add PAT permission to docs (#2805)
This commit changes the README so that users are aware that they also
need to set the `user` permission when creating the PAT when they want
their private commits to show up.
2023-06-11 03:39:33 +03:00
Rick Staa a6645325e7 docs: add FAQ to readme (#2804)
* docs: add FAQ to readme

* Change separation symbol to correct one

* dev

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-06-11 03:38:18 +03:00
Rick Staa fec686a432 ci: fix top-issues action (#2803) 2023-06-11 03:20:08 +03:00
Alexandr Garbuzov 5696c96372 Docs: fixed table of contents aligment (#2795)
* Fixed table of contents aligment inside README

* dev

* docs: decrease toc depth

---------

Co-authored-by: rickstaa <rick.staa@outlook.com>
2023-06-11 03:18:56 +03:00
Alexandr Garbuzov a775176766 Remove restrictedContributionsCount from GraphQL query and tests (#2799) 2023-06-10 10:40:41 +02:00
Alexandr Garbuzov c506eccb8e Explain our themes PRs merging policy inside CONTRIBUTING.md (#2801) 2023-06-10 08:53:07 +02:00
Alexandr Garbuzov 4eda5cd4fa Beautify themes contribution note inside CONTRIBUTING.md (#2800) 2023-06-10 03:52:00 +02:00
Rick Staa ec5b110cda docs: add package debug steps to contribution guidelines (#2798) 2023-06-10 04:26:47 +03:00
しぐれ 44c268e05a Update readme.md about maxDuration (#2792)
* Update readme.md about maxDuration

I think we can remove this warning section since that value in  `.json` has been changed to 10 by default nowadays?

* Update readme.md

remove related section in self deployment section as well

* docs: add inverse maxDuration warning

---------

Co-authored-by: rickstaa <rick.staa@outlook.com>
2023-06-09 10:06:45 +03:00
Alexandr Garbuzov 7a302f6f67 Docs: add warning about top languages card behavior. (#2789)
* Docs: add warning about top languages card behavior.

* dev

* dev
2023-06-09 07:43:32 +02:00
Alexandr Garbuzov 3416ae114f Fix clampValue function docstring (#2796) 2023-06-09 07:41:58 +02:00
Alexandr Garbuzov b5f5befe32 Remove redundant ask for theme screenshot from CONTRIBUTING.md (#2797) 2023-06-09 07:41:28 +02:00
Rick Staa 3e66189c44 feat: add CACHE_SECONDS environment variable (#2266)
* feat: add CACHE_SECONDS environment variable

This commit adds the CACHE_SECONDS environment variable. This variable
can be used to circumvent our cache clamping values for self hosted
Vercel instances.

* refactor: apply formatter
2023-06-09 04:44:42 +03:00
Alexandr Garbuzov 38c8a7a1e4 Resolved dependabot vulnerability alert about json5 package (#2788) 2023-06-08 08:10:31 +02:00
Alexandr Garbuzov 7053a03081 Docs: fixed small typo inside readme in keep fork up to date section (#2787) 2023-06-08 08:09:21 +02:00
Rick Staa b9200c6cf6 feat: remove 'include_private' (#2736)
* feat: remove 'include_private'

As explained in #2517 the 'include_private' flag is confusing and
doesn't work as expected. This commit therefore removes this flag.

* fix: fix tests

* docs: remove redundant private deploy note
2023-06-07 11:21:28 +03:00
Rick Staa 0fe51cd539 docs: fix some typos (#2783) 2023-06-07 10:59:59 +03:00
Alexandr Garbuzov 606775c33c Fix no languages data node function docstring (#2782)
* Fix docstring for noLanguagesDataNode function

* dev
2023-06-07 09:21:19 +02:00
Alexandr Garbuzov dfe0766cbb Fix docstring for noCodingActivityNode function (#2781) 2023-06-07 09:20:59 +02:00
Alexandr Garbuzov 4044a0b666 Use compact layout default langs count when hide_progress param was set (#2780) 2023-06-07 09:20:03 +02:00
Rick Staa f2841e09e1 fix: fix stats contributed to translations (#2708)
* fix: fix stats contributed to translations

* Improved russian and ukrainian translation of statcard.contribs (#2715)

---------

Co-authored-by: Alexandr Garbuzov <53787217+qwerty541@users.noreply.github.com>
2023-06-07 10:19:40 +03:00
Rick Staa 31ffe56168 docs: improve readme links (#2696) 2023-06-07 10:17:20 +03:00
Alexandr Garbuzov bdef1cccdd Add note about private contributions into readme (#2776)
* Add note about private contributions into readme

* dev
2023-06-06 17:26:15 +02:00
Anurag Hazra a8ecd3dc96 chore: added new dono link (#2779)
* chore: added new dono link

* chore: update
2023-06-06 20:35:11 +05:30
Alexandr Garbuzov 894f2e2c5a Different default languages count for different languages card layouts (#2774)
* Different default languages count for different layouts

* docs: update default  documentation

Updates the README so that the new `langs_count` default behavoir is
explained to users.

---------

Co-authored-by: rickstaa <rick.staa@outlook.com>
2023-06-06 16:42:46 +02:00
Rick Staa cec5ee3462 ci: add top themes and labels to 'top issues dashboard' action (#2711) 2023-06-06 14:24:17 +05:30
Alexandr Garbuzov fa4d7ee7a1 Cover with test changes in #2770 pull request (#2775) 2023-06-06 08:56:23 +02:00
Alexandr Garbuzov 14fe4cf1db Remove redundant async notation from several top languages card tests (#2767) 2023-06-05 12:14:33 +02:00
Alexandr Garbuzov 1e0183d202 Conver with test changes in #2755 pull request (#2766) 2023-06-05 12:11:55 +02:00
Alexandr Garbuzov 98b047751e Fixed layout toLowerCase bug (#2770) 2023-06-05 12:10:22 +02:00
Rick Staa 1a2a82c3be test: add new ranking to e2e test (#2750) 2023-06-02 14:44:12 +05:30
Rick Staa c301289f7d fix: Make WakaTime card compatible with new API (#2707)
* fix: Make WakaTime card compatible with new API

This commit makes sure that the WakaTime card works with the new
WakaTime API. See https://github.com/anuraghazra/github-readme-stats/issues/2698
for more information.

* fix: fix chinese simplified translations

* fix: improve WakaTime range order

* test: fix WakaTime tests

* refactor: remove WakaTime range loop

* refactor: remove redundant WakaTime call

* test: fix e2e tests

Co-authored-by: Hakula Chen <i@hakula.xyz>

---------

Co-authored-by: Hakula Chen <i@hakula.xyz>
2023-06-02 14:37:59 +05:30
github-actions[bot] e0b3d833b0 refactor: update languages JSON (#2760)
Co-authored-by: rickstaa <rickstaa@users.noreply.github.com>
2023-05-31 13:24:11 +02:00
Alexandr Garbuzov 275c1fc1c7 Show notice about no languages data instead of empty card (#2755)
* Show message about no languages data instead of empty card

* dev

* dev

* dev

* dev

* dev

* dev
2023-05-29 08:45:19 +02:00
Alexandr Garbuzov 73b0a91b7b Improve ukrainian translation of langcard.title (#2756) 2023-05-29 08:43:37 +02:00
François Rozet c96e84a9ae Ranking System v2 (#1186)
* Revise rank calculation

* Replace contributions by commits

* Lower average stats and S+ threshold

* Fix calculateRank.test.js

Missing key in dictionary constructor

Co-authored-by: Rick Staa <rick.staa@outlook.com>

* refactor: run prettier

* feat: change star weight to 0.75

* Separate PRs and issues

* Tweak weights

* Add count_private back

* fix: enable 'count_private' again

* test: fix tests

* refactor: improve code formatting

* Higher targets

---------

Co-authored-by: Rick Staa <rick.staa@outlook.com>
2023-05-26 15:39:35 +02:00
Alexandr Garbuzov ff2e02ba68 Docs: fix top languages card available layouts number (#2738) 2023-05-22 22:40:21 +02:00
Alexandr Garbuzov c8d5eda27c Docs (translations): add top languages card donut vertical layout (#2739) 2023-05-22 22:39:43 +02:00
Alexandr Garbuzov f9427b2a54 Top languages card donut vertical layout (#2701)
* Top languages card donut layout

* dev

* dev

* dev

* dev
2023-05-19 10:45:29 +02:00
Alexandr Garbuzov 7ec1a76c65 Docs (translations): add missing top languages card layouts. (#2728) 2023-05-17 08:37:25 +02:00
Alexandr Garbuzov 6d45f89c9e Top languages card render test: move repeated code into helper function (#2718) 2023-05-13 13:21:06 +02:00
Alexandr Garbuzov d59a80599f Docs: add missing top languages card layouts. (#2717) 2023-05-13 13:20:18 +02:00
Alexandr Garbuzov ff9839b73c Top languages card pie layout (#2709)
* Top languages card donut layout

* Top languages card pie layout

* renames

* dev

* docs

* dev

* dev

* animations

* dev

* handle one language
2023-05-11 08:49:57 +02:00
Alexandr Garbuzov 1f4a2c4d82 Add missing argument to create compact lang node function to resolve vscode type error (#2714) 2023-05-11 08:36:21 +02:00
Alexandr Garbuzov 4b19453c1a Fixed docstring for create donut language node function (#2713) 2023-05-10 22:59:00 +02:00
Nabil Alamin c5e7f7b490 add pie chart layout to language card (#2099)
* add pie chart layout to language card

* resolve failing top-lang card tests

* scale down pie chart

* update readme.md

* Update readme.md

Co-authored-by: Rick Staa <rick.staa@outlook.com>

* style: format code

* update donut layout to be created without dependencies

* minor update

* style: format readme

* resolve failing tests

* refactor: clean up code and add extra tests

This commit cleans up the pie chart generation code and adds additional
tests.

* feat: improve pie chart positioning

* rename layout pie to donut

* add animation to donut layout

* refactor: rename pie and doughnut to donut

* feat: decrease donus animation delay

---------

Co-authored-by: rickstaa <rick.staa@outlook.com>
2023-05-09 20:54:34 +02:00
Alexandr Garbuzov daa1977ba3 Fixed docstring for wakatime card recalculate percentages function (#2710) 2023-05-09 09:04:02 +02:00