Commit Graph

867 Commits

Author SHA1 Message Date
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 1bfad4604d Set ecmaVersion inside .eslintrc (#2931) 2023-07-11 21:44:30 +02:00
dependabot[bot] 317a3d920e Build(deps): Bump tough-cookie from 4.1.2 to 4.1.3 (#2927)
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.1.2...v4.1.3)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
...

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-10 01:43:58 +03:00
Alexandr Garbuzov ebbadef5f6 Refactor: Fixed docstrings for preview theme workflow helper functions (#2924) 2023-07-09 10:19:44 +02:00
Alexandr Garbuzov 6dbc1f5a9e Refactor: Fixed docstrings for close stale theme PRS workflow helper functions (#2923) 2023-07-08 17:57:09 +02:00
Alexandr Garbuzov 631dfe7402 Fixed docstring for fetchOpenPRs function (#2920) 2023-07-07 14:12:48 +02:00
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