Commit graph

4269 commits

Author SHA1 Message Date
Miodec 2dcb1072e1 feat(custom text): remember custom text settings between sessions
closes #4182
2024-09-19 15:21:17 +02:00
Miodec 09ce4bd672 impr(local storage with schema): add fallback value copy to migrate parameters
!nuf
2024-09-19 15:21:16 +02:00
Georgi Rumenov Angelov 1d7e7bbb91
impr(quotes): add bulgarian quotes (@Gogo200202) (#5898)
### Description
add bulgarian quote
translations: If I win, I win for the whole nation – if I lose, I lose
only myself.
<!-- Please describe the change(s) made in your PR -->

### Checks

- [x] Adding quotes?
- [x] Make sure to include translations for the quotes in the
description (or another comment) so we can verify their content.
- [ ] Adding a language or a theme?
- [ ] If is a language, did you edit `_list.json`, `_groups.json` and
add `languages.json`?
  - [ ] If is a theme, did you add the theme.css?
- Also please add a screenshot of the theme, it would be extra awesome
if you do so!
- [ ] Check if any open issues are related to this PR; if so, be sure to
tag them below.
- [ ] Make sure the PR title follows the Conventional Commits standard.
(https://www.conventionalcommits.org for more info)
- [ ] Make sure to include your GitHub username prefixed with @ inside
parentheses at the end of the PR title.

<!-- label(optional scope): pull request title (@your_github_username)
-->

<!-- I know I know they seem boring but please do them, they help us and
you will find out it also helps you.-->

Closes #

<!-- the issue(s) your PR resolves if any (delete if that is not the
case) -->
<!-- please also reference any issues and or PRs related to your pull
request -->
<!-- Also remove it if you are not following any issues. -->

<!-- pro tip: you can mention an issue, PR, or discussion on GitHub by
referencing its hash number e.g:
[#1234](https://github.com/monkeytypegame/monkeytype/pull/1234) -->

<!-- pro tip: you can press . (dot or period) in the code tab of any
GitHub repo to get access to GitHub's VS Code web editor Enjoy! :) -->
2024-09-19 15:20:53 +02:00
Valorance f360452c50
feat(layout): add night (@luminespire) (#5901)
### Description

Added the night layout.

---------

Co-authored-by: Jack <jack@monkeytype.com>
2024-09-19 14:10:13 +02:00
ibrab000 0f3485f9e8
feat(layout): add the rain layout (@ibrab000) (#5899)
### Description

Added the rain layout.
2024-09-19 13:51:23 +02:00
Miodec 11aeb313ef feat(commandline): add back commands that quickly practise missed and slow words 2024-09-19 11:54:27 +02:00
Anže Pintar eb03bea626
feat(languages): add Slovenian 1k and 5k word lists (@anzepintar) (#5889)
### Description

Added Slovenian 1k and 5k word lists
source is from clarin.si -> ccKUUS (učbeniki za učenje slovenščine)

<!-- Please describe the change(s) made in your PR -->

### Checks

- [ ] Adding quotes?
- [ ] Make sure to include translations for the quotes in the
description (or another comment) so we can verify their content.
- [x] Adding a language or a theme?
- [x] If is a language, did you edit `_list.json`, `_groups.json` and
add `languages.json`?
  - [ ] If is a theme, did you add the theme.css?
- Also please add a screenshot of the theme, it would be extra awesome
if you do so!
- [x] Check if any open issues are related to this PR; if so, be sure to
tag them below.
- [x] Make sure the PR title follows the Conventional Commits standard.
(https://www.conventionalcommits.org for more info)
- [x] Make sure to include your GitHub username prefixed with @ inside
parentheses at the end of the PR title.

<!-- label(optional scope): pull request title (@your_github_username)
-->

<!-- I know I know they seem boring but please do them, they help us and
you will find out it also helps you.-->

Closes #

<!-- the issue(s) your PR resolves if any (delete if that is not the
case) -->
<!-- please also reference any issues and or PRs related to your pull
request -->
<!-- Also remove it if you are not following any issues. -->

<!-- pro tip: you can mention an issue, PR, or discussion on GitHub by
referencing its hash number e.g:
[#1234](https://github.com/monkeytypegame/monkeytype/pull/1234) -->

<!-- pro tip: you can press . (dot or period) in the code tab of any
GitHub repo to get access to GitHub's VS Code web editor Enjoy! :) -->
2024-09-18 13:11:51 +02:00
Miodec 0a9f08bc50 fix(quotes): user reports 2024-09-18 12:59:23 +02:00
Jack 7e703028bd
refactor: enable no-unsafe-member-access (@miodec) (#5887)
### Description

<!-- Please describe the change(s) made in your PR -->

### Checks

- [ ] Adding quotes?
- [ ] Make sure to include translations for the quotes in the
description (or another comment) so we can verify their content.
- [ ] Adding a language or a theme?
- [ ] If is a language, did you edit `_list.json`, `_groups.json` and
add `languages.json`?
  - [ ] If is a theme, did you add the theme.css?
- Also please add a screenshot of the theme, it would be extra awesome
if you do so!
- [ ] Check if any open issues are related to this PR; if so, be sure to
tag them below.
- [ ] Make sure the PR title follows the Conventional Commits standard.
(https://www.conventionalcommits.org for more info)
- [ ] Make sure to include your GitHub username prefixed with @ inside
parentheses at the end of the PR title.

<!-- label(optional scope): pull request title (@your_github_username)
-->

<!-- I know I know they seem boring but please do them, they help us and
you will find out it also helps you.-->

Closes #

<!-- the issue(s) your PR resolves if any (delete if that is not the
case) -->
<!-- please also reference any issues and or PRs related to your pull
request -->
<!-- Also remove it if you are not following any issues. -->

<!-- pro tip: you can mention an issue, PR, or discussion on GitHub by
referencing its hash number e.g:
[#1234](https://github.com/monkeytypegame/monkeytype/pull/1234) -->

<!-- pro tip: you can press . (dot or period) in the code tab of any
GitHub repo to get access to GitHub's VS Code web editor Enjoy! :) -->
2024-09-18 12:56:52 +02:00
matthew c75ba9a2ba
feat(layout): add the inqwerted layout (@aoi-buh) (#5880)
Added the inqwerted layout.

### Description

<!-- Please describe the change(s) made in your PR -->

### Checks

- [ ] Adding quotes?
- [ ] Make sure to include translations for the quotes in the
description (or another comment) so we can verify their content.
- [ ] Adding a language or a theme?
- [ ] If is a language, did you edit `_list.json`, `_groups.json` and
add `languages.json`?
  - [ ] If is a theme, did you add the theme.css?
- Also please add a screenshot of the theme, it would be extra awesome
if you do so!
- [ ] Check if any open issues are related to this PR; if so, be sure to
tag them below.
- [ ] Make sure the PR title follows the Conventional Commits standard.
(https://www.conventionalcommits.org for more info)
- [ ] Make sure to include your GitHub username prefixed with @ inside
parentheses at the end of the PR title.

<!-- label(optional scope): pull request title (@your_github_username)
-->

<!-- I know I know they seem boring but please do them, they help us and
you will find out it also helps you.-->

Closes #

<!-- the issue(s) your PR resolves if any (delete if that is not the
case) -->
<!-- please also reference any issues and or PRs related to your pull
request -->
<!-- Also remove it if you are not following any issues. -->

<!-- pro tip: you can mention an issue, PR, or discussion on GitHub by
referencing its hash number e.g:
[#1234](https://github.com/monkeytypegame/monkeytype/pull/1234) -->

<!-- pro tip: you can press . (dot or period) in the code tab of any
GitHub repo to get access to GitHub's VS Code web editor Enjoy! :) -->
2024-09-18 11:51:15 +02:00
dependabot[bot] 94c6ee74ed
chore(deps-dev): bump vite from 5.1.7 to 5.2.14 in /frontend (#5896)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite)
from 5.1.7 to 5.2.14.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitejs/vite/releases">vite's
releases</a>.</em></p>
<blockquote>
<h2>create-vite@5.2.3</h2>
<p>Please refer to <a
href="https://github.com/vitejs/vite/blob/create-vite@5.2.3/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a>
for details.</p>
<h2>create-vite@5.2.2</h2>
<p>Please refer to <a
href="https://github.com/vitejs/vite/blob/create-vite@5.2.2/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a>
for details.</p>
<h2>create-vite@5.2.1</h2>
<p>Please refer to <a
href="https://github.com/vitejs/vite/blob/create-vite@5.2.1/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a>
for details.</p>
<h2>create-vite@5.2.0</h2>
<p>Please refer to <a
href="https://github.com/vitejs/vite/blob/create-vite@5.2.0/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a>
for details.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/vitejs/vite/blob/v5.2.14/packages/vite/CHANGELOG.md">vite's
changelog</a>.</em></p>
<blockquote>
<h2><!-- raw HTML omitted -->5.2.14 (2024-09-16)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: avoid DOM Clobbering gadget in
<code>getRelativeUrlFromDocument</code> (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18115">#18115</a>)
(<a href="https://github.com/vitejs/vite/commit/ebb94c5">ebb94c5</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/18115">#18115</a></li>
<li>fix: fs raw query (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18112">#18112</a>)
(<a href="https://github.com/vitejs/vite/commit/8339d74">8339d74</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/18112">#18112</a></li>
</ul>
<h2><!-- raw HTML omitted -->5.2.13 (2024-06-07)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: backport to 5.2 (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17411">#17411</a>)
(<a href="https://github.com/vitejs/vite/commit/e6913d1">e6913d1</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/17411">#17411</a></li>
</ul>
<h2><!-- raw HTML omitted -->5.2.12 (2024-05-28)<!-- raw HTML omitted
--></h2>
<ul>
<li>chore: move to eslint flat config (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16743">#16743</a>)
(<a href="https://github.com/vitejs/vite/commit/8f16765">8f16765</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16743">#16743</a></li>
<li>chore(deps): remove unused deps (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17329">#17329</a>)
(<a href="https://github.com/vitejs/vite/commit/5a45745">5a45745</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/17329">#17329</a></li>
<li>chore(deps): update all non-major dependencies (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16722">#16722</a>)
(<a href="https://github.com/vitejs/vite/commit/b45922a">b45922a</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16722">#16722</a></li>
<li>fix: mention <code>build.rollupOptions.output.manualChunks</code>
instead of <code>build.rollupOutput.manualChunks</code> (<a
href="https://github.com/vitejs/vite/commit/89378c0">89378c0</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16721">#16721</a></li>
<li>fix(build): make SystemJSWrapRE match lazy (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16633">#16633</a>)
(<a href="https://github.com/vitejs/vite/commit/6583ad2">6583ad2</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16633">#16633</a></li>
<li>fix(css): avoid generating empty JS files when JS files becomes
empty but has CSS files imported (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/1">#1</a>
(<a href="https://github.com/vitejs/vite/commit/95fe5a7">95fe5a7</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16078">#16078</a></li>
<li>fix(css): handle lightningcss compiled css in Deno (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17301">#17301</a>)
(<a href="https://github.com/vitejs/vite/commit/8e4e932">8e4e932</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/17301">#17301</a></li>
<li>fix(css): only use files the current bundle contains (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16684">#16684</a>)
(<a href="https://github.com/vitejs/vite/commit/15a6ebb">15a6ebb</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16684">#16684</a></li>
<li>fix(css): page reload was not happening with .css?raw (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16455">#16455</a>)
(<a href="https://github.com/vitejs/vite/commit/8041846">8041846</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16455">#16455</a></li>
<li>fix(deps): update all non-major dependencies (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16603">#16603</a>)
(<a href="https://github.com/vitejs/vite/commit/6711553">6711553</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16603">#16603</a></li>
<li>fix(deps): update all non-major dependencies (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16660">#16660</a>)
(<a href="https://github.com/vitejs/vite/commit/bf2f014">bf2f014</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16660">#16660</a></li>
<li>fix(deps): update all non-major dependencies (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17321">#17321</a>)
(<a href="https://github.com/vitejs/vite/commit/4a89766">4a89766</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/17321">#17321</a></li>
<li>fix(error-logging): rollup errors weren't displaying id and
codeframe (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16540">#16540</a>)
(<a href="https://github.com/vitejs/vite/commit/22dc196">22dc196</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16540">#16540</a></li>
<li>fix(hmr): normalize the path info (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14255">#14255</a>)
(<a href="https://github.com/vitejs/vite/commit/6a085d0">6a085d0</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/14255">#14255</a></li>
<li>fix(hmr): trigger page reload when calling invalidate on root module
(<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16636">#16636</a>)
(<a href="https://github.com/vitejs/vite/commit/2b61cc3">2b61cc3</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16636">#16636</a></li>
<li>fix(logger): truncate log over 5000 characters long (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16581">#16581</a>)
(<a href="https://github.com/vitejs/vite/commit/b0b839a">b0b839a</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16581">#16581</a></li>
<li>fix(optimizer): log dependencies added by plugins (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16729">#16729</a>)
(<a href="https://github.com/vitejs/vite/commit/f0fb987">f0fb987</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16729">#16729</a></li>
<li>fix(sourcemap): improve sourcemap compatibility for vue2 (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16594">#16594</a>)
(<a href="https://github.com/vitejs/vite/commit/913c040">913c040</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16594">#16594</a></li>
<li>docs: correct proxy shorthand example (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15938">#15938</a>)
(<a href="https://github.com/vitejs/vite/commit/abf766e">abf766e</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/15938">#15938</a></li>
<li>docs: deprecate server.hot (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16741">#16741</a>)
(<a href="https://github.com/vitejs/vite/commit/e7d38ab">e7d38ab</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16741">#16741</a></li>
</ul>
<h2><!-- raw HTML omitted -->5.2.11 (2024-05-02)<!-- raw HTML omitted
--></h2>
<ul>
<li>feat: improve dynamic import variable failure error message (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16519">#16519</a>)
(<a href="https://github.com/vitejs/vite/commit/f8feeea">f8feeea</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16519">#16519</a></li>
<li>fix: dynamic-import-vars plugin normalize path issue (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16518">#16518</a>)
(<a href="https://github.com/vitejs/vite/commit/f71ba5b">f71ba5b</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16518">#16518</a></li>
<li>fix: scripts and styles were missing from built HTML on Windows (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16421">#16421</a>)
(<a href="https://github.com/vitejs/vite/commit/0e93f58">0e93f58</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16421">#16421</a></li>
<li>fix(deps): update all non-major dependencies (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16488">#16488</a>)
(<a href="https://github.com/vitejs/vite/commit/2d50be2">2d50be2</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16488">#16488</a></li>
<li>fix(deps): update all non-major dependencies (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16549">#16549</a>)
(<a href="https://github.com/vitejs/vite/commit/2d6a13b">2d6a13b</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16549">#16549</a></li>
<li>fix(dev): watch publicDir explicitly to include it outside the root
(<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16502">#16502</a>)
(<a href="https://github.com/vitejs/vite/commit/4d83eb5">4d83eb5</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16502">#16502</a></li>
<li>fix(preload): skip preload for non-static urls (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16556">#16556</a>)
(<a href="https://github.com/vitejs/vite/commit/bb79c9b">bb79c9b</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16556">#16556</a></li>
<li>fix(ssr): handle class declaration and expression name scoping (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16569">#16569</a>)
(<a href="https://github.com/vitejs/vite/commit/c071eb3">c071eb3</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16569">#16569</a></li>
<li>fix(ssr): handle function expression name scoping (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16563">#16563</a>)
(<a href="https://github.com/vitejs/vite/commit/02db947">02db947</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16563">#16563</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="673ae1607d"><code>673ae16</code></a>
release: v5.2.14</li>
<li><a
href="ebb94c5b3b"><code>ebb94c5</code></a>
fix: avoid DOM Clobbering gadget in
<code>getRelativeUrlFromDocument</code> (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18115">#18115</a>)</li>
<li><a
href="8339d74086"><code>8339d74</code></a>
fix: fs raw query (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18112">#18112</a>)</li>
<li><a
href="51bf7ea7d1"><code>51bf7ea</code></a>
release: v5.2.13</li>
<li><a
href="e6913d1440"><code>e6913d1</code></a>
fix: backport to 5.2 (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17411">#17411</a>)</li>
<li><a
href="bed3faa0cb"><code>bed3faa</code></a>
release: v5.2.12</li>
<li><a
href="5a457454bf"><code>5a45745</code></a>
chore(deps): remove unused deps (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17329">#17329</a>)</li>
<li><a
href="15a6ebb414"><code>15a6ebb</code></a>
fix(css): only use files the current bundle contains (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16684">#16684</a>)</li>
<li><a
href="f0fb9876de"><code>f0fb987</code></a>
fix(optimizer): log dependencies added by plugins (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16729">#16729</a>)</li>
<li><a
href="8f167653ed"><code>8f16765</code></a>
chore: move to eslint flat config (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16743">#16743</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vitejs/vite/commits/v5.2.14/packages/vite">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vite&package-manager=npm_and_yarn&previous-version=5.1.7&new-version=5.2.14)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/monkeytypegame/monkeytype/network/alerts).

</details>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Miodec <jack@monkeytype.com>
2024-09-18 11:50:51 +02:00
Christian Fehmer dd657acb24
fix: dark note theme dots being too big (@fehmer) (#5893)
Dots for correct letters are too big: 

![image](https://github.com/user-attachments/assets/35aca184-54c4-4fa6-a49c-2e5bfa0a53eb)

Signed-off-by: Christian Fehmer <cfe@sexy-developer.com>
2024-09-17 09:43:27 +02:00
Jack c4dbaf2ec1
revert: use css for heatmap colors (@fehmer) (#5892)
Reverts monkeytypegame/monkeytype#5879

Co-authored-by: Christian Fehmer <fehmer@users.noreply.github.com>
2024-09-16 10:13:25 +02:00
Miodec 07d94a6d1c impr(dev): add function and tests to get a message from an error 2024-09-13 17:08:42 +02:00
Jack ceedf8ace2
refactor: enable no-unsafe-call rule (@miodec) (#5883)
### Description

<!-- Please describe the change(s) made in your PR -->

### Checks

- [ ] Adding quotes?
- [ ] Make sure to include translations for the quotes in the
description (or another comment) so we can verify their content.
- [ ] Adding a language or a theme?
- [ ] If is a language, did you edit `_list.json`, `_groups.json` and
add `languages.json`?
  - [ ] If is a theme, did you add the theme.css?
- Also please add a screenshot of the theme, it would be extra awesome
if you do so!
- [ ] Check if any open issues are related to this PR; if so, be sure to
tag them below.
- [ ] Make sure the PR title follows the Conventional Commits standard.
(https://www.conventionalcommits.org for more info)
- [ ] Make sure to include your GitHub username prefixed with @ inside
parentheses at the end of the PR title.

<!-- label(optional scope): pull request title (@your_github_username)
-->

<!-- I know I know they seem boring but please do them, they help us and
you will find out it also helps you.-->

Closes #

<!-- the issue(s) your PR resolves if any (delete if that is not the
case) -->
<!-- please also reference any issues and or PRs related to your pull
request -->
<!-- Also remove it if you are not following any issues. -->

<!-- pro tip: you can mention an issue, PR, or discussion on GitHub by
referencing its hash number e.g:
[#1234](https://github.com/monkeytypegame/monkeytype/pull/1234) -->

<!-- pro tip: you can press . (dot or period) in the code tab of any
GitHub repo to get access to GitHub's VS Code web editor Enjoy! :) -->
2024-09-13 15:18:00 +02:00
Jack 8b2c1723a8
chore: upgrade slim-select (@miodec) (#5884)
Finally!
2024-09-13 14:49:26 +02:00
Miodec fa3ae6668e refactor: move file 2024-09-13 13:27:16 +02:00
Igor Bedesqui 604fc208ea
feat(language): add javascript react language (@bdsqqq) (#5873) 2024-09-13 13:26:57 +02:00
Jack 70842599a9
feat(dev): add deepclone util function (@miodec) (#5882)
!nuf
2024-09-13 13:24:56 +02:00
Jack 955eeae2a7
refactor: enable no-unsafe-assignment rule (@miodec) (#5874)
Co-authored-by: Nad Alaba <37968805+NadAlaba@users.noreply.github.com>
Co-authored-by: Christian Fehmer <fehmer@users.noreply.github.com>
Co-authored-by: Igor Bedesqui <igorbedesqui@gmail.com>
Co-authored-by: amarnathsama <63007641+amarnathsama@users.noreply.github.com>
2024-09-13 13:18:06 +02:00
Christian Fehmer e19b3e3e8b
refactor: remove leftover code from ts-rest migration (@fehmer) (#5875) 2024-09-13 12:27:35 +02:00
amarnathsama 8a6c81669e
feat(settings): allow partial presets (@amarnathsama, @miodec, @fehmer) (#5813) 2024-09-12 21:42:29 +02:00
Igor Bedesqui dd93fdbf02
impr(language): add common javascript words, symbols and functions (@bdsqqq) (#5869) 2024-09-12 20:59:36 +02:00
Christian Fehmer 98acf75613
refactor: use css for heatmap colors (@fehmer) (#5879) 2024-09-12 20:57:20 +02:00
Nad Alaba f9bd7d778b
fix(quote search): search service not building in code_javascript quotes (@NadAlaba) (#5876) 2024-09-12 20:38:52 +02:00
Jack 93d6fff895
refactor: enable no-unsafe-argument rule (@miodec) (#5872) 2024-09-11 14:23:00 +02:00
Christian Fehmer c7b3e2c916
impr: move permission checks to contracts (@fehmer, @miodec) (#5848)
!nuf
2024-09-10 11:35:57 +02:00
Jam Moonbami 14277538c3
feat(themes): add suisei theme (@moonbamijam) (#5820)
Co-authored-by: Christian Fehmer <fehmer@users.noreply.github.com>
Co-authored-by: Christian Fehmer <cfe@sexy-developer.com>
2024-09-09 17:34:03 +02:00
Nad Alaba 618d53ebff
fix: multi-line words causing issues in ui scrolling and tape mode (@NadAlaba, @Miodec) (#5857) 2024-09-09 11:27:39 +02:00
Christian Fehmer b06b9f73e5
refactor: rework rate limiting (@fehmer) (#5845)
!nuf
2024-09-09 10:39:08 +02:00
Miodec e655aa741a fix: unnecessary assertion
!nuf
2024-09-08 13:05:35 +02:00
Miodec 38d8ac7212 fix: unresolved ts type
!nuf
2024-09-08 12:46:39 +02:00
Miodec 89016d390d impr: dont sent results shorter than 1 second
closes #5858
2024-09-08 10:35:15 +02:00
Christian Fehmer 6de9ad6e1c
fix: result filters defaults invalid (@fehmer) (#5860) 2024-09-07 13:05:13 +02:00
fsq 5f695b4229
feat(layout): add the scythe layout (@forusu) (#5854)
* Update _list.json

Adds the scythe layout.

* Update _list.json

Fixed JSON syntax errors

* Update _list.json
2024-09-06 12:08:14 +02:00
Nad Alaba cbaefbf210
fix(caret): getting last letter top in long multiline words (@NadAlaba) (#5856)
* fix(caret): getting last letter top in long multiline words (@NadAlaba)

* no need to check for invisible extra letters

This check was needed when `letterPosTop` was
`currentLetter?.offsetTop ?? previousLetter?.offsetTop ??
lastWordLetter?.offsetTop` where `previousLetter?.offsetTop` was defined
but 0 in extra letters in blind mode, so we got the value of zero
although in some fonts the real value (`lastWordLetter` value) is not 0.

However, now we don't use `previousLetter`, and `currentLetter` is
undefined in extra letters (blind mode or not), so we'll get the value
we want (`lastWordLetter` value) in extra letters.

* update comment
2024-09-06 11:59:27 +02:00
Christian Fehmer 77c1e8e298
feat(funbox): add instant messaging (@fehmer) (#5850)
Thanks
2024-09-05 17:36:10 +02:00
Alessandro Chitarrini b8ca187ab3
Open impr(quotes): add English quote (@chitvs) (#5844)
Co-authored-by: Jack <jack@monkeytype.com>
2024-09-05 17:32:13 +02:00
Christian Fehmer 259894ab9f
impr: use tsrest for user endpoints (@fehmer) (#5815)
!nuf
2024-09-05 17:28:19 +02:00
Christian Fehmer 8e0a6c3417
impr(settings): add hints to tag buttons on mouseover (@fehmer) (#5849) 2024-09-05 11:12:32 +02:00
Nad Alaba 661c138812
fix(zen mode): issues when changing tape mode and other caret issues (@NadAlaba) (#5824)
* fix(zen mode): undefined word when changing tape mode during test (@NadAlaba)

* fix(zen mode): shrinking full-width-caret when changing tape mode during test (@NadAlaba)

* fix(zen mode): messed up caret in RTL languages (@NadAlaba)

because of the letter '_' that is added to the beginning of a word
in zen mode, the caret is getting positioned on the 2nd letter.

Also, since lastWordLetter is always undefined (because wordLen is
always 0) offsetHeight and offsetTop are getting the default values
regardless of font characteristics.

* fix caret staying in position in (blind + word tape + zen) mode

* refactor: combine last 2 solutions

* rename parameter
2024-09-02 12:10:45 +02:00
Nad Alaba 55496996de
refactor: determine active word based on logical value, not DOM class (@NadAlaba) (#5834)
* refactor: use active word based on logical value, not DOM class

* use existing const instead of querying DOM

activeWord.offsetTop changes when the DOM element gets updated
no need to query the active word again

* better naming

* no need to requery DOM, we have the top of the previous word saved
2024-09-02 11:49:41 +02:00
Andrew Hermes 02490213d6
impr(quotes): add English quote (#5832) 2024-09-02 10:58:44 +02:00
Miodec 8ddb23ac40 fix: cookie modal not being shown for new users 2024-09-01 16:35:30 +02:00
Miodec cc00295a5d fix: words flashing when line jumping in some modes 2024-08-30 20:27:36 +02:00
Christian Fehmer 1804ebcd8a
impr: use tsrest for quotes endpoints (@fehmer) (#5802)
!nuf
2024-08-29 15:42:42 +02:00
amarnathsama 253efb7340
fix(presets): auto-switch theme checkbox values not loaded correctly (@amarnathsama) (#5826)
* fixed bug where presets wouldnt change auto light and dark theme checkbox values

* mode code to setting.ts

* updated variable name

* updated setting.ts
2024-08-29 12:40:19 +02:00
Miodec 7b4a789f2e refactor: await addWord if the test is out of words
fixes #5630 by not always awaiting
closes #5819
2024-08-28 13:51:07 +02:00
Miodec 13eab07139 fix(language): duplicate word 2024-08-28 12:06:35 +02:00
Miodec c3274f0f02 refactor: update based on logical value, not DOM class 2024-08-28 12:04:29 +02:00