Commit graph

4099 commits

Author SHA1 Message Date
PTLux1517
e8ddd7785e
feat(layout): add xenia_alt and hyperroll (@PTLux1517) (#5662) 2024-07-28 20:59:08 +02:00
Sanidhya Singh
da555e6ba9
feat(practice): add option to practice missed biwords (@sanidhyas3s) (#5637)
also converts practice popup to a modal
2024-07-28 20:33:27 +02:00
Miodec
cdb926e123 fix(tape mode): scrolling sometimes glitching out and not being smooth 2024-07-28 16:35:07 +02:00
Jack
9606ddaaf4
Revert "feat(languages): add portuguese 320k (@jeffersonjpr) (#5648)" (#5669)
This reverts commit 962b1a79ec.
2024-07-28 11:25:26 +02:00
Miodec
47ef6575a6 fix: blind mode not working in highlight mode off
closes #5663
2024-07-27 19:39:41 +02:00
Miodec
751763cc82 fix: missing env definition
!nuf
2024-07-27 18:10:08 +02:00
Miodec
2305176253 impr(dev): add quick login button to frontend dev modal
!nuf
2024-07-27 16:48:58 +02:00
Miodec
c6d1ea09cc impr(dev): disable ads in dev
!nuf
2024-07-27 16:47:00 +02:00
Miodec
f4bfe27175 chore: notify user the config coming from the database is in the wrong format 2024-07-27 16:39:35 +02:00
Miodec
c1afd13362 fix(tape mode): not scrolling for extra letters 2024-07-27 13:45:52 +02:00
Miodec
f96b8efdaa impr: disable sw caching for version file
!nuf
2024-07-27 13:42:25 +02:00
Miodec
13a15c94d6 fix: reenable login inputs if loading user data fails 2024-07-26 19:05:15 +02:00
Miodec
0b3e3d9a32 chore: output version to version.json 2024-07-26 18:17:08 +02:00
Miodec
93b2e0036f fix(dev): vite preview not working 2024-07-26 15:52:45 +02:00
Jefferson Michael
962b1a79ec
feat(languages): add portuguese 320k (@jeffersonjpr) (#5648)
* Adding portuguese_320k

* Removing duplicates
2024-07-25 18:27:59 +02:00
Miodec
5c58270bde build(frontend): check ts on build 2024-07-25 16:04:55 +02:00
Miodec
c832f7eb39 build: split vite config 2024-07-25 15:51:19 +02:00
Nikola Perović
bdaca701cb
impr(languages): serbian 10k lists (@Fooftilly) (#5652)
* Add Serbian 10k option

* Add Serbian to groups and list

* Removed potentially problematic words

* fixed names

* word quality improvements

fixed typos and removed word that are not from Serbian, removed fantasy words, words from Latin, words that probably do not exist...
2024-07-25 11:30:54 +02:00
Miodec
c24bf0fa80 fix: incorrect portuguese group array 2024-07-25 11:09:07 +02:00
Miodec
a1a94db1a3 impr(authentication): error message when sign in popup was blocked by the browser
fixes #5530
2024-07-25 11:09:07 +02:00
Breno Queiroz Lima
c0f7e25726
fix(util): hexToRgb function (brenob6) (#5643)
* fix: invalid return values

* add: hexToRgb test suite

* test: update hexToRgb test value

* add more tests

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2024-07-25 11:08:02 +02:00
Miodec
2eb9b7aa25 chore: add supporter 2024-07-25 10:46:56 +02:00
Christian Fehmer
40514cd248
chore: start application in dev mode using docker (@fehmer) (#5647)
* chore: start application in dev mode using docker (@fehmer)

* expose port env variable

* regen lock

* regen lock

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2024-07-24 19:48:01 +02:00
Miodec
ee49c79d6f fix(word generator): custom mode with time limit generating the wrong amount of starting words
closes #5627
2024-07-24 12:07:53 +02:00
github-actions[bot]
a2b4cee021
refactor: run prettier (#5636)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2024-07-24 11:51:18 +02:00
Miodec
be304906e9 chore(dev): prevent terminal screen from being cleared by vite 2024-07-24 11:40:23 +02:00
Miodec
5f7565a695 chore(dev): fix tsconfig path 2024-07-24 11:39:09 +02:00
Miodec
8d9875f4eb fix(caret): block width going down to 0 when typing with blind mode on 2024-07-24 11:28:16 +02:00
Miodec
799902949b fix(blind mode): tape mode still scrolling when making mistakes
closes #5635
2024-07-24 11:28:16 +02:00
dependabot[bot]
b5444d827d
chore(deps-dev): bump vite from 5.1.2 to 5.1.7 in /frontend (#5639)
* chore(deps-dev): bump vite from 5.1.2 to 5.1.7 in /frontend

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.1.2 to 5.1.7.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.1.7/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.1.7/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

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

* package-lock.json

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Christian Fehmer <cfe@sexy-developer.com>
2024-07-22 16:11:31 +02:00
dependabot[bot]
26c60c683b
chore(deps-dev): bump postcss from 8.4.27 to 8.4.31 in /frontend (#5640)
* chore(deps-dev): bump postcss from 8.4.27 to 8.4.31 in /frontend

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

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
...

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

* package-lock.json

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Christian Fehmer <cfe@sexy-developer.com>
2024-07-22 16:11:17 +02:00
Jack
3e88ac2f12
refactor: restructure project to a true monorepo (#5626)
* split ts files

* packages

* nomore workspace?

* blah

* build, exports

* declaration

* blargh

* turrrrbo

* fix fontawesome paths

* allow file in eslint, fix ts errors

* optimise package, update tsconfig

* fix ts

* update turbo config

* eslint split

* fix imports

* fix types

* lock

* add turbo task

* script

* test task

* pretty scripts

* update prettier ignore

* no cache for tests

* lint task

* turbo

* no out

* depend on env

* fix mono breaking things

* odl

* fix version dependency of mongodb-memory-server

* Revert "fix version dependency of mongodb-memory-server"

This reverts commit 52ffac47b1.

* update vitest-mongodb

* release scripts

* update ci

* update dev script

* ignore issues around firebase config

* add check ts tasks

* import isaxioserror

* shared types package

* replace tsnodedev with tsx

* fix import

* shared types

* module

* backend imports

* declaration

* node version

* test code

* assert json

* verbatim

* type

* lodash

* ts ver

* fix fix fix?

* remove assert

* remove module and resolution

* cleanup

* tsconfig

* fix frontend

* remove unecessary props

* more unused

* remove skiplib

* declaration map, dev script

* remove install scripts

* fix regex

* move shared types to package

* dont include shared types

* remove path

* update scripts

* test code

* test code

* fix backend types

* fully fix backend

* fix frontend d.ts

* add .js to imports

* remove module

* revert add .js

* update tsconfig

* use bundler module resolution

* almost all frontend types

* mooore

* date fns

* fix backend docker

* fix ape keys

* fix type

* clean rimraf type

* fix shared-types in workspace

* fix import resolving

* fix docker builds

* ignore type problems on slim-select until new version is released

* turrrrbo

* fix npm ci

* fix lint task

* expose env variables needed by frontend build

* fix dependencies

* package-lock

* backend watch ts and lint

* add fe and be build scripts to root

* fix dev not building packages

* shared-types missing eslint

* move shared types back to dev-deps

* add packages to labeler

* add packages step to ci

* typo

* filter update

* remove concurrently from root

* add scripts

* abbreviate

* rename

* yeet

* fixed path

* test pkg

* consistent ordering

* rename

* Revert "backend imports"

This reverts commit d715198829.

* fix missing imports, remove last .js

* remove test package

---------

Co-authored-by: Christian Fehmer <cfe@sexy-developer.com>
2024-07-22 15:08:11 +02:00
Christian Fehmer
c96185e90a
impr: replace ṅ with n in lazy mode (@fehmer) (#5638) 2024-07-22 11:41:33 +02:00
Miodec
deeea0fb78 chore: increase inconsistent test duration window
part of #5401
2024-07-17 22:25:08 +02:00
Andrés Silva
62305cc025
impr(languages): Add useful Vim motions and sort JSON (#5618) 2024-07-17 18:26:03 +02:00
Miodec
3b768e0d78 fix(quotes): user reports 2024-07-17 10:56:36 +02:00
Jack
8f4d291fcf
Revert "impr: use tsrest/zod for type-safety on both ends (@fehmer) (#5479)" (#5619)
This reverts commit 4c9e949f10.
2024-07-16 17:29:09 +02:00
Christian Fehmer
4c9e949f10
impr: use tsrest/zod for type-safety on both ends (@fehmer) (#5479)
!nuf
2024-07-16 15:24:06 +02:00
Miodec
0db50e30d8 chore: add firebase tools dependency 2024-07-16 13:38:14 +02:00
Miodec
a5f485c711 chore: rename file, fix duplicate 2024-07-16 10:38:16 +02:00
Miodec
3ccd3b5e8d chore: add log to try to debug an issue 2024-07-16 10:36:31 +02:00
Miodec
cf74cd7cbf fix: hide extra letters causing caret to go to the start of the active word 2024-07-16 10:34:58 +02:00
Christian Fehmer
5b970ecea7
impr: use typescript for font-preview and fontawesome scripts (@fehmer) (#5613) 2024-07-15 12:17:31 +02:00
Miodec
f729b9e01a fix(quote): remove duplicate 2024-07-15 12:14:47 +02:00
Nikola Perović
b243d1472b
feat(languages): add Serbian 10k (Fooftilly) (#5603)
* Add Serbian 10k option

* Add Serbian to groups and list

* Removed potentially problematic words

* fixed names
2024-07-15 12:13:46 +02:00
mufasachan
864ade1571
impr(quotes): add CUDA quotes (#5611)
I browsed GitHub to get CUDA codes and that's all I got, one repo.
- I filtered out the repo with less than 100 stars.
- I did not tried to include source under other licenses than GPL3 or public domain license.
- I did not take learning resources.
- I did not take code without license.
- I did not take few physics-simutlation repos, I wanted data structures or Deep Learning related code.

I am looking forward to see more CUDA quotes, no matter the source =)
2024-07-15 12:12:53 +02:00
max
81ef04bbc5
feat(quotes): add the walking dead quote (@mxz7) (#5609) 2024-07-15 12:12:12 +02:00
Türker
339ce44ae2
feat(quotes): add Turkish quotes (@turkwr) (#5608)
* feat(quotes): add Turkish quotes from various sources

* feat(quotes): update Turkish quotes lengths

The lengths of the Turkish quotes in the `turkish.json` file have been updated to reflect the correct character count.

* feat(quotes): add Turkish quotes from various sources

This commit adds Turkish quotes from different sources, including "The Poet X", "Gurren Lagann", "İnanılmaz Aile (TV Serisi)", and "Oscar Wilde". The quotes are added to the `turkish.json` file in the `frontend/static/quotes` directory.

* feat(quotes): add Turkish quotes from Mother Teresa, Anais Nin, Emily Dickinson, Technoblade, and Bilinmeyen

The commit adds Turkish quotes from Mother Teresa, Anais Nin, Emily Dickinson, Technoblade, and Bilinmeyen to the `turkish.json` file in the `frontend/static/quotes` directory.

* feat(quotes): add Turkish quote from "The Poet X"

Add a Turkish quote from "The Poet X" to the `turkish.json` file in the `frontend/static/quotes` directory.

* feat(quotes): update Turkish quotes in turkish.json

Update the Turkish quotes in the `turkish.json` file in the `frontend/static/quotes` directory.

* feat(quotes): update Turkish quotes in turkish.json
2024-07-15 12:11:09 +02:00
Mejans
bd29e4f68a
feat(languages): add Occitan 200, 1k, 2k, 5k, 10k (Mejans) (#5571)
* Adds Occitan word lists

List of most used words in Occitan language

* Adds Occitan files

Adds list of 200, 1 000, 2 000, 5 000 and 10 000 words.

* Adds Occitan languages

* Chance name value

* Change name value

* Change name value

* Change name value
2024-07-15 12:08:48 +02:00
Miodec
16f248d9de fix(tape mode): test words sometimes being clipped 2024-07-13 21:28:51 +02:00