Commit Graph

860 Commits

Author SHA1 Message Date
Jonathan Yik Chang Ting ebafbfc9ab Fixed typos and grammars in readme.md (#2919) 2023-07-07 09:46:02 +02:00
Alexandr Garbuzov 1726c5bb99 Fixed docstring for scripts helper function (#2913) 2023-07-05 08:32:22 +02:00
Rick Staa b7928aae24 build: rename lint command (#2909)
This commit renames the eslint npm command so that it is consistent with
the naming used for the other commands.
2023-07-05 01:08:59 +03:00
Alexandr Garbuzov 6c92fe9d2a Eslint integration (#2885)
* eslint integration

* ci & pre commit

* dev

* dev

* dev
2023-07-03 08:54:19 +02:00
Rick Staa de4efa9ea1 ci: fix id-token 'read' bug (#2904)
This commit fixes a bug that is present when the `read` option is used
for the `id-token` permission (see https://github.com/github/docs/issues/26481).
2023-07-03 00:07:29 +03:00
Alexandr Garbuzov 888c4cee94 CI: Resolve OSSF GitHub token permissions security alert (#2891) 2023-07-02 09:06:04 +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
Alexandr Garbuzov 720617a817 Docs: reorder themes contributing guidelines (#2897) 2023-07-01 00:18:58 +02:00
Alexandr Garbuzov 5d959bc76c Docs: add link to themes contribution guidelines (#2898) 2023-07-01 00:16:52 +02:00
Alexandr Garbuzov 0d74d5a25d Docs (translations): Add missing alt attributes for codecov badges (#2895) 2023-06-29 22:52:49 +02:00
Alexandr Garbuzov c3a8086e45 Docs: Add contrast ration check notice into themes contributing guide (#2894) 2023-06-29 22:52:19 +02:00
Alexandr Garbuzov 40c5f41caf Docs: Add missing alt attribute for codecov badge (#2892) 2023-06-28 21:42:41 +02:00
Alexandr Garbuzov 9f7184cc9e Top langs card tests: Fixed helper functions docstrings (#2893) 2023-06-28 20:25:26 +02:00
Alexandr Garbuzov ee978f332b CI: Fix warnings variable usage inside theme preview workflow (#2886) 2023-06-27 13:19:26 +02:00
Alexandr Garbuzov f0268559e0 Docs (translations): Add missing GitHub contributors badges (#2887) 2023-06-27 13:18:57 +02:00
Alexandr Garbuzov 0b642d4fd6 Docs (translations): Add OSSF badges (#2884) 2023-06-26 15:16:59 +02:00
Alexandr Garbuzov e2fa7ad423 CI: Add OSSF scorecard analysis workflow (#2879)
* CI: Add OSSF scorecard analysis workflow

* dev

* dev

* dev

* replace action versions with hashes

* readme badge
2023-06-26 15:27:54 +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
Alexandr Garbuzov 5486e2ca06 Increase e2e tests timeout secs (#2878) 2023-06-23 09:24:17 +02:00
Rick Staa e5f1399cc2 docs: remove progress rank icon example (#2876) 2023-06-22 16:52:46 +03: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
Alexandr Garbuzov f282ce4d64 Docs: improve quick align tip section (#2865)
* Docs: move extra pins align tip into correct section

* dev

* dev

* dev

* dev

* dev

* dev
2023-06-22 10:29:10 +02:00
Alexandr Garbuzov de431b934d Use stable axios version 1.x.x (#2873) 2023-06-22 10:27:54 +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
Alexandr Garbuzov de093e8118 Docs: improve GitHub media feature example HTML formatting (#2862) 2023-06-20 08:42:11 +02:00
Alexandr Garbuzov ae6e2cc31b CI: improve pull requests labeler (#2863) 2023-06-20 08:41:40 +02:00
Alexandr Garbuzov 697c3e52b4 Docs: change example wakatime profile (#2861) 2023-06-20 07:58: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 9a1cbaf062 Set prettier as workspace default formatter (#2854)
* Set prettier as workspace default formatter

* fix: fix conflicts

---------

Co-authored-by: rickstaa <rick.staa@outlook.com>
2023-06-19 09:45:23 +02:00
Alexandr Garbuzov d727d178f0 Docs: fix link for extra pins card options (#2855) 2023-06-19 08:33:02 +02: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 eebaa44f2a CI: Add missing bracket inside theme preview workflow warning (#2847) 2023-06-18 00:04:35 +02:00
Alexandr Garbuzov 2e65a2ee10 Docs: fix broken demos link (#2848) 2023-06-18 00:03:56 +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 c5d4bcbc1a Docs: make important notice link clickable (#2841) 2023-06-17 06:19:20 +02:00
Alexandr Garbuzov 331fa1183a Docs: Increase maximum languages count to 20 (#2843) 2023-06-17 06:18:02 +02:00
Alexandr Garbuzov a43fb81b23 Add missing bracket inside CONTRIBUTING.md notice (#2842) 2023-06-17 06:14:13 +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 4db78d7796 Docs: improve GitHub media feature HTML example formatting (#2830) 2023-06-16 08:46:44 +02:00
Alexandr Garbuzov 05efc2811b Docs: make discussion link clickable (#2831) 2023-06-16 08:45:25 +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 22a12e1ade ci: increase top-issues-action list size (#2826) 2023-06-15 23:28:19 +03:00