Commit Graph
124 Commits
Author SHA1 Message Date
Alexandr GarbuzovandGitHub 6c15843c7d Refactor: Move hide_border into common options (#3086) 2023-08-16 09:45:58 +02:00
Alexandr GarbuzovandGitHub 4eefd2497d Refactor: Top langs card: Use default value instead if statement (#3082) 2023-08-15 09:30:06 +02:00
Alexandr GarbuzovandGitHub da82999f06 Feature: Gist card: Add hide_border option support (#3080) 2023-08-15 09:25:04 +02:00
Alexandr GarbuzovandGitHub fe901dd337 Feature: Add gist card (#3064)
* Feature: Add gist card

* dev

* dev

* dev

* dev

* dev

* dev

* e2e

* e2e test timeout
2023-08-14 11:28:01 +02:00
Alexandr GarbuzovandGitHub a258b29db5 Feature: Stats card: Show merged PRs count and percentage (#3003)
* Feature: Stats card: Show merged PRs count and percentage

* dev

* dev

* renames
2023-08-14 02:18:57 +03:00
Alexandr GarbuzovandGitHub 38ae6494fc Stats card: Add Malayalam to long languages (#3058) 2023-08-09 09:23:12 +02:00
Alexandr GarbuzovandGitHub 20f0868a17 Refactor: Repo card: Use typedef tags to resolve eslint errors (#3053) 2023-08-08 08:32:39 +02:00
Alexandr GarbuzovandGitHub d2e4dddcd5 Refactor: Top langs card: Resolve type error with hide_border variable (#3042) 2023-08-06 23:06:17 +02:00
Alexandr GarbuzovandGitHub 036f80f7ae Refactor: Top langs card: Use typedef tags to resolve eslint errors (#3040) 2023-08-04 07:09:20 +02:00
Alexandr GarbuzovandGitHub 4a4531091f Refactor: Stats card: Use typedef tags to resolve eslint errors (#3039) 2023-08-04 07:08:50 +02:00
Alexandr GarbuzovandGitHub 8e15656dc2 Refactor: Top langs card: Fix returns tag in docstrings (#3036) 2023-08-03 08:02:13 +02:00
Alexandr GarbuzovandGitHub e3e1495a53 Refactor: Wakatime card: Use typedef tags to resolve eslint errors (#3037) 2023-08-03 08:01:32 +02:00
Alexandr GarbuzovandGitHub dc5d23e187 Refactor: Wakatime card: Use @typedef to resolve eslint errors (#3033) 2023-08-02 08:58:37 +02:00
Alexandr GarbuzovandGitHub 6d086b4c40 Refactor: Wakatime card: Add missing returns statement for createTextNode function (#3032) 2023-08-02 08:58:04 +02:00
Alexandr GarbuzovandGitHub cfd6464b4f Stats card: Add Uzbek to long languages (#3019) 2023-07-31 07:18:50 +02:00
Alexandr GarbuzovandGitHub 6822dc77d4 Refactor: Repo card: Fixed type error in iconWithLabel function (#2999) 2023-07-27 22:01:54 +02:00
Alexandr GarbuzovandGitHub 36eb17ffbb Refactor: Wakatime card: Add missing return statements for helper functions (#2998)
* Refactor: Wakatime card: Add missing return statements for helper functions

* dev
2023-07-27 22:01:01 +02:00
Alexandr GarbuzovandGitHub 1ee613765e Refactor: Top langs card: Set correct type for hideProgress variable in all functions docstrings (#2995) 2023-07-26 21:33:22 +02:00
Alexandr GarbuzovandGitHub b2917beabf Refactor: Top langs card: Fix return statement in helpers functions docstrings (#2996) 2023-07-26 21:26:52 +02:00
Alexandr GarbuzovandGitHub 833324fc0d Refactor: Resolve vscode type error in renderStatsCard function card width calc (#2984) 2023-07-24 20:55:05 +02:00
Alexandr GarbuzovandGitHub b6d5835441 Refactor: Resolve vscode type error in renderStatsCard function long locales check (#2985) 2023-07-24 20:54:42 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
0173e13e39 Build(deps-dev): Bump prettier from 2.7.1 to 3.0.0 (#2967)
* Build(deps-dev): Bump prettier from 2.7.1 to 3.0.0

Bumps [prettier](https://github.com/prettier/prettier) from 2.7.1 to 3.0.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.7.1...3.0.0)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* dev

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-07-23 21:12:09 +03:00
Alexandr GarbuzovandGitHub 82917825f9 Refactor: Fixed vscode type error in renderTopLanguages function (#2964) 2023-07-23 12:23:14 +02:00
Alexandr GarbuzovandGitHub 813ad3e7d6 Refactor: Fix several eslint errors and warnings (#2930) 2023-07-19 09:45:41 +02:00
Alexandr GarbuzovandGitHub 2be4f86efd Refactor: Fixed renderStatsCard function docstring (#2946) 2023-07-16 20:42:55 +02:00
Alexandr GarbuzovandGitHub d5fdfe1251 Refactor: Fixed stats card createTextNode function docstring (#2933) 2023-07-12 08:41:11 +02:00
Alexandr GarbuzovandGitHub 9ca24c67cc Refactor: Fixed returns statement for wakatime card functions docstrings (#2934) 2023-07-12 08:40:25 +02:00
Alexandr GarbuzovandGitHub a7998f0186 Top langs card: Fixed getLongestLang function docstring to resolve vscode errors (#2881) 2023-06-24 11:39:23 +02:00
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
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 StaaandGitHub 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
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 GarbuzovandGitHub 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
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 GarbuzovandGitHub 6cbb08e218 Stats card: remove duplicate hide option default value from render function (#2845) 2023-06-17 11:14:24 +02:00
Alexandr GarbuzovandGitHub 1997328951 Top langs card: Increase maximum languages count to 20 (#2832) 2023-06-16 09:27:37 +02:00
Alexandr GarbuzovandGitHub 99aca1b6d5 Fixed docstring for trimTopLanguages function (#2833)
* Fixed docstring for trimTopLanguages function

* dev
2023-06-16 09:25:46 +02:00
Alexandr GarbuzovandGitHub 7a89ceedc9 Stats card: Reorder total reviews count position (#2834) 2023-06-16 08:43:07 +02:00
Rick StaaandGitHub 632549ddee Revert "Use default json import (#2820)" (#2829)
This reverts commit 1474a3abbe.
2023-06-15 23:25:07 +03:00
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 GarbuzovandGitHub 1474a3abbe Use default json import (#2820) 2023-06-15 09:27:28 +02:00
François RozetandGitHub 66e5492654 Add finer ranking levels (#2762)
* Add finer ranking levels

* Update rank description
2023-06-12 14:38:07 +02:00
Alexandr GarbuzovandGitHub 606775c33c Fix no languages data node function docstring (#2782)
* Fix docstring for noLanguagesDataNode function

* dev
2023-06-07 09:21:19 +02:00
Alexandr GarbuzovandGitHub dfe0766cbb Fix docstring for noCodingActivityNode function (#2781) 2023-06-07 09:20:59 +02:00
Alexandr GarbuzovandGitHub 4044a0b666 Use compact layout default langs count when hide_progress param was set (#2780) 2023-06-07 09:20:03 +02:00
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
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 GarbuzovandGitHub 98b047751e Fixed layout toLowerCase bug (#2770) 2023-06-05 12:10:22 +02:00
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
Alexandr GarbuzovandGitHub 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