Alexandr Garbuzov
b56689b4bd
Ranks: Take into account user reviewed PRs count ( #2857 )
...
* Rank: Take into account user reviewed PRs count
* e2e
* fix tests
* dev
* docs
* dev
* dev
2023-07-21 13:59:53 +02:00
Alexandr Garbuzov
96d3a47a9f
Refactor: Fixed docstring for flexLayout function ( #2949 )
...
* Refactor: Fixed docstring for flexLayout function
* dev
2023-07-21 11:44:55 +02:00
Alexandr Garbuzov
ad54117e4b
Refactor: Fixed fallbackColor function docstring ( #2954 )
2023-07-21 11:43:41 +02:00
Alexandr Garbuzov
6835adfc2b
Uppercase total reviews title to match all another titles style ( #2955 )
2023-07-20 22:50:19 +02:00
Alexandr Garbuzov
f7b51ab3c8
Refactor: Fixed getCardColors function docstring ( #2943 )
...
* Refactor: Fixed getCardColors function docstring
* dev
2023-07-19 09:55:12 +02:00
Alexandr Garbuzov
813ad3e7d6
Refactor: Fix several eslint errors and warnings ( #2930 )
2023-07-19 09:45:41 +02:00
Alexandr Garbuzov
2be4f86efd
Refactor: Fixed renderStatsCard function docstring ( #2946 )
2023-07-16 20:42:55 +02:00
Alexandr Garbuzov
87619d618e
Refactor: remove redundant import from wakatime data fetcher ( #2944 )
2023-07-15 19:27:41 +02:00
Alexandr Garbuzov
4eb01d80a2
Refactor: Improve docstrings for card class methods ( #2938 )
2023-07-13 23:42:25 +02:00
Alexandr Garbuzov
45f4320008
Refactor: Fixed docstring for retryer function ( #2937 )
2023-07-13 23:41:57 +02:00
Alexandr Garbuzov
d5fdfe1251
Refactor: Fixed stats card createTextNode function docstring ( #2933 )
2023-07-12 08:41:11 +02:00
Alexandr Garbuzov
9ca24c67cc
Refactor: Fixed returns statement for wakatime card functions docstrings ( #2934 )
2023-07-12 08:40:25 +02:00
Alexandr Garbuzov
6c92fe9d2a
Eslint integration ( #2885 )
...
* eslint integration
* ci & pre commit
* dev
* dev
* dev
2023-07-03 08:54:19 +02:00
github-actions[bot]
ecac85edd5
refactor: update languages JSON ( #2899 )
...
Co-authored-by: rickstaa <rickstaa@users.noreply.github.com >
Co-authored-by: Alexandr <qwerty541zxc@gmail.com >
2023-07-01 15:38:30 +03:00
Max Duval
18c9de0a18
refactor: object shorthand ( #2882 )
2023-06-26 10:40:54 +02:00
Alexandr Garbuzov
b7eb65f819
I18n: Fixed docstring for statsCardLocales function and enable ts-check ( #2883 )
2023-06-25 22:07:46 +02:00
Alexandr Garbuzov
a7998f0186
Top langs card: Fixed getLongestLang function docstring to resolve vscode errors ( #2881 )
2023-06-24 11:39:23 +02:00
iwbc-mzk
a48d653fa4
Fixed resizing of stats card when all metrics except rank are hidden ( #2868 )
...
* fixed card resizing in case of rank only
* fixed to display error when both stats and rank are hidden
* fix: fix visual alignment
---------
Co-authored-by: rickstaa <rick.staa@outlook.com >
2023-06-22 12:07:52 +02:00
Rick Staa
2642fc546c
add percentile rank icon ( #2859 )
...
* feat: add 'percentile' rank icon
This commit adds the `percentile` option for the `rank_icon` query
variable. This option displays the rank percentile the user belongs to.
* style: improve percentile rank icon styling
* dev
* dev
* dev
---------
Co-authored-by: Alexandr <qwerty541zxc@gmail.com >
2023-06-20 08:47:02 +02:00
Rick Staa
a362af0ebc
feat: add 'progress' rank icon ( #2858 )
...
This pull request allows users to replace the rank level with the rank progress
by setting the `rank_icon` query to `progress`.
2023-06-19 12:58:02 +02:00
Alexandr Garbuzov
62080c019c
Remove several redundant number -> string -> number conversions ( #2856 )
...
* Top langs card: remove redundant number -> string -> number conversion
* refactor(waka): remove redundant praseInt
---------
Co-authored-by: rickstaa <rick.staa@outlook.com >
2023-06-19 13:45:49 +03:00
Alexandr Garbuzov
92518e375f
Stats card: show started and answered discussions stats ( #2849 )
...
* Stats card: show started and answered discussions stats
* trans
* dev
2023-06-19 05:51:58 +02:00
Rick Staa
a5260cb38a
feat: improve locale translation not found error ( #2853 )
2023-06-19 06:06:24 +03:00
Alexandr Garbuzov
03b0ba096c
Wakatime card: add missing translations ( resolves #2839 ) ( #2850 )
2023-06-18 18:31:58 +02:00
Alexandr Garbuzov
b70b089b8e
Stats card: migrate from show_total_reviews to show option ( resolves #2836 ) ( #2844 )
...
* Stats card: migrate from show_total_reviews to show option (resolves #2836 )
* dev
* docs: improve documentation
---------
Co-authored-by: rickstaa <rick.staa@outlook.com >
2023-06-17 23:10:13 +03:00
Alexandr Garbuzov
6cbb08e218
Stats card: remove duplicate hide option default value from render function ( #2845 )
2023-06-17 11:14:24 +02:00
Alexandr Garbuzov
1997328951
Top langs card: Increase maximum languages count to 20 ( #2832 )
2023-06-16 09:27:37 +02:00
Alexandr Garbuzov
99aca1b6d5
Fixed docstring for trimTopLanguages function ( #2833 )
...
* Fixed docstring for trimTopLanguages function
* dev
2023-06-16 09:25:46 +02:00
Alexandr Garbuzov
3831d18991
Stats card: Change total reviews label and add missing translations ( #2835 )
2023-06-16 08:44:19 +02:00
Alexandr Garbuzov
7a89ceedc9
Stats card: Reorder total reviews count position ( #2834 )
2023-06-16 08:43:07 +02:00
Rick Staa
632549ddee
Revert "Use default json import ( #2820 )" ( #2829 )
...
This reverts commit 1474a3abbe .
2023-06-15 23:25:07 +03:00
Rick Staa
89e37aa885
refactor: add PR review translations ( #2825 )
2023-06-15 22:24:47 +02:00
Markus Tyrkkö
1bb65ddc29
Added pr reviews to stats ( #1404 )
...
* Added pr reviews to stats
* Add 'show' query parameter
* Fix show test
* refactoring
* cleanup
* refactor: restructure stats-card code
---------
Co-authored-by: Markus <markus.tyrkko@gmail.com >
Co-authored-by: Alexandr <qwerty541zxc@gmail.com >
Co-authored-by: rickstaa <rick.staa@outlook.com >
2023-06-15 09:35:09 +02:00
Alexandr Garbuzov
1474a3abbe
Use default json import ( #2820 )
2023-06-15 09:27:28 +02:00
François Rozet
66e5492654
Add finer ranking levels ( #2762 )
...
* Add finer ranking levels
* Update rank description
2023-06-12 14:38:07 +02:00
Alexandr Garbuzov
a775176766
Remove restrictedContributionsCount from GraphQL query and tests ( #2799 )
2023-06-10 10:40:41 +02:00
Alexandr Garbuzov
3416ae114f
Fix clampValue function docstring ( #2796 )
2023-06-09 07:41:58 +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
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
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
Alexandr Garbuzov
98b047751e
Fixed layout toLowerCase bug ( #2770 )
2023-06-05 12:10:22 +02:00
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
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