Commit Graph

612 Commits

Author SHA1 Message Date
Rick Staa bd9865d5a2 test: burst cache in e2e tests (#2154) 2022-10-07 20:01:01 +02:00
rickstaa 39535db38c style: update formatting 2022-10-07 19:46:05 +02:00
rickstaa 80e8233c53 style: improve templates formatting 2022-10-07 19:25:36 +02:00
Brian Choromanski 06e3e052df ci: updated issue template (#2127)
* Updated issue templates

* style: improve template formatting

* style: update formatting

Co-authored-by: rickstaa <rick.staa@outlook.com>
2022-10-07 19:20:57 +02:00
rickstaa 36a8c392d0 fix: improve graphql error handling 2022-10-07 17:40:26 +02:00
Shivam Kotak 343058cc15 fix: adding doc strings to files in src folder where it was missing (#2129)
* fix: adding doc strings to files in src folder where it was missing

* refactor: add docstrings

* style: run formatter

Co-authored-by: rickstaa <rick.staa@outlook.com>
2022-10-07 16:22:02 +02:00
rickstaa d7451d8288 docs: improve caching documentation 2022-10-07 14:53:51 +02:00
rickstaa 5c514dbda0 docs: improve admonition boxes 2022-10-07 14:43:16 +02:00
rickstaa 15533596e6 docs: add admonition boxes 2022-10-07 14:40:19 +02:00
rickstaa df243efdd5 docs: update readme 2022-10-07 14:32:01 +02:00
rickstaa 15620a11db test: fix tests 2022-10-07 12:42:04 +02:00
Taehyun Hwang e8dfbde7bb Add format script to pre-commit hook (#2146)
* Add format script to pre-commit hook

* build: add husky prepare step

* build: add lint-staged

* build: add lint-staged

Co-authored-by: rickstaa <rick.staa@outlook.com>
2022-10-07 12:33:54 +02:00
rickstaa bcb8ae9281 style: improve small syntax error 2022-10-07 11:13:01 +02:00
rickstaa 04595dfe62 style: improve formatting 2022-10-07 11:10:48 +02:00
rickstaa cea4a39548 ci: improve theme preview action
This commit makes sure that theme PRs that contain invalid JSON are
labeled `invalid` and changes are requested.
2022-10-07 11:09:34 +02:00
rickstaa aae83cb22e fix: temporary disable multi page star fetch 2022-10-05 00:47:14 +02:00
Rick Staa 94d0978d2b docs: fix readme logo alignment (#2112) 2022-10-04 14:19:30 +02:00
Matteo Pierro af97e5765b fix: fetch all repos for for the stats card (#2100)
* fetch all stars

* stop fetching when there are repos with zero stars

* remove not needed parameters from the query

* add docstring

* removed not needed mock

* style: update formatting

Co-authored-by: rickstaa <rick.staa@outlook.com>
2022-10-04 13:10:50 +02:00
nekiwo acbc03dc0f Fix card length during error (#2105)
* Fix card length during error

Fixes #1774
The size of the box should be 550px to allow 25px padding from both sides
I found the width of the text using `getComputedTextLength()` method

* fix: improve error card size

Co-authored-by: rickstaa <rick.staa@outlook.com>
2022-10-04 10:00:48 +02:00
Akshat Goel 388ba06a8f Update the Vercel deployement guide (#2102)
* Update the Vercel deployement guide

Updated Readme.md - The guide on deploying your own Vercel instance

* docs: fix some small grammer errors

Co-authored-by: rickstaa <rick.staa@outlook.com>
2022-10-04 09:32:40 +02:00
Rick Staa e6a6384eff docs: improve readme syntax (#2106) 2022-10-04 09:19:37 +02:00
Aditya Shelke 7accd1a8d7 feat: default values for wakatime and language (#2103)
* default values for wakatime and language

* docs: update formatting

Co-authored-by: rickstaa <rick.staa@outlook.com>
2022-10-04 08:58:18 +02:00
Jagruti Tiwari c03bb2f250 fix: adding docstrings to the files where it was missing (#2101)
* fix: adding docstrings to missing files

* style: format code

* style: improve formatting

Co-authored-by: Jagruti Tiwari <jagrutit@cdac.in>
Co-authored-by: rickstaa <rick.staa@outlook.com>
2022-10-03 13:03:23 +02:00
Ayushi Vishwakarma 9e1fc0b7da update default values in readme (#2094)
* update default values in readme

* docs: improve formatting

* docs: improve readme punctation

Co-authored-by: rickstaa <rick.staa@outlook.com>
2022-10-03 09:14:37 +02:00
Manan1612 aa084f31c4 Added Contributors Badge (#2096) 2022-10-03 08:42:32 +02:00
rickstaa c5bea57638 docs: fix india care logo 2022-10-02 18:07:43 +02:00
rickstaa c2c984a872 docs: format readme 2022-10-02 17:58:34 +02:00
ianbromwichuos 2faf9c54ff docs: fix link to go India logo svg (#2085) 2022-10-02 17:47:14 +02:00
rickstaa 5d42af59c0 ci: fix small bug in theme-preview action 2022-10-02 17:42:58 +02:00
Rick Staa 822efbf6cb ci: fix small bugs in theme-preview action (#2093)
* ci: fix small bugs in theme-preview action

* ci: format code
2022-10-02 17:41:28 +02:00
Anurag Hazra 84c9d354b3 docs(theme): Auto update theme readme (#2091)
Co-authored-by: Github Readme Stats Bot <no-reply@githubreadmestats.com>
2022-10-02 17:31:38 +02:00
Rick Staa d56b294ca1 style: improve code style 2022-10-02 14:50:03 +02:00
rickstaa 6f8bd9fe10 ci: increase top-issues dashboard update frequency 2022-10-02 14:15:25 +02:00
Jagruti Tiwari f0daab11c8 feat: added default options to readme (#2051)
* feat: added default options to readme

* Update readme.md

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

* fix: added default values for stats card

* style: some small readme changes

Co-authored-by: Rick Staa <rick.staa@outlook.com>
2022-10-02 14:03:22 +02:00
rickstaa 3a07cb02db ci: fix e2e test 2022-10-02 12:27:34 +02:00
rickstaa 510cf6266c feat: remove border color from transparent theme 2022-10-02 11:47:56 +02:00
Rick Staa 406dbc5656 feat: add transparent theme
Adds a transparent theme with a contrast ratio of 4.5 on both black and white (see https://ux.stackexchange.com/a/86226).
2022-10-02 11:45:55 +02:00
Rick Staa b8faef6857 ci: add stale theme pull request closer action push (#2067)
This commit adds the `stale-theme-pr-closer` closer action. This action
is used to close theme pull requests with an `invalid` label that has
been stale for a given number of `STALE_DAYS`.
2022-10-02 11:05:13 +02:00
rickstaa 986070a597 Merge branch 'master' of github.com:anuraghazra/github-readme-stats 2022-10-02 10:52:39 +02:00
rickstaa 51e7887b95 ci: fix e2e test 2022-10-02 10:52:33 +02:00
Oscar Dominguez 098331069a ci(label-pr): upgrade actions/labeler to v4 (#2080)
Co-authored-by: rickstaa <rick.staa@outlook.com>
2022-10-02 10:51:37 +02:00
Jongwoo Han f86059f097 chore: Update workflows to cache dependencies (#2083) 2022-10-02 10:38:07 +02:00
rickstaa aaf710c024 ci: fix e2e test 2022-10-02 10:35:11 +02:00
Rick Staa d5d8912954 ci: improve theme preview action (#2088)
This commit makes sure that 4,5,6,8 digit hex colors are also accepted.
It further also includes the border_color attribute in the tests.
2022-10-02 10:33:29 +02:00
Rick Staa 6b7e91abb6 ci: improve theme-preview actiot push (#2065)
This commit makes sure that:
 - The theme-preview action can test multiple themes.
 - Fails if something goes wrong.
 - Requests changes if the theme does not adhere to the guidelines.
 - Approves the PR if the theme adheres to the guidelines.
2022-10-01 14:01:29 +02:00
Rick Staa f8e32f9e0c ci: add e2e vercel test action (#2054)
* ci: add e2e vercel test action

This commit adds several end-to-end tests that can be used
to test whether the Vercel Preview deployment successfully
returns the cards.

* test: add additional e2e card tests

* test: improve e2e card tests

This commit makes sure that the tests also check whether a valid cards
are returned from the preview deployment.
2022-10-01 13:59:02 +02:00
rickstaa fe1ca87e33 ci: filter #1772 from top-issues-dashboard 2022-09-25 11:16:37 +02:00
Rick Staa 9a909ff0a4 build: fix wakatime json import bug (#2050)
* build: fix vercel node version

* build: remove engine property

* fix: add json import workarround

This commit adds a workaround for importing the `languageColors` JSON
file. This needed to be done since Vercel uses v16.4, which does not
support JSON file importing without the `experimental-json-modules`
flag. See https://simonplend.com/import-json-in-es-modules/
for more information. The workaround can be found [here](https://stackoverflow.com/questions/66726365/how-should-i-import-json-in-node).
2022-09-24 15:37:19 +02:00
rickstaa dbf6560781 build: update package-lock file 2022-09-24 14:17:32 +02:00
rickstaa 8886b93a7e refactor: clean up imports 2022-09-24 14:10:06 +02:00