Commit graph

3243 commits

Author SHA1 Message Date
Miodec
f5576adc9a refactor: use button element instead of class 2023-11-22 14:51:12 +00:00
Miodec
5ea9c712c5 fix: unnecessary media query 2023-11-22 14:46:18 +00:00
Serdar Bilici
f8f5271516
impr(language): update turkish 1k (s3rdarb) (#4806)
* Update turkish_5k.json

correction for misspelled words and a few additions and deletions

* Update turkish_5k.json

fixed typos and added new words for improvement

* Update turkish.json

Typo fixes

* Update turkish.json

* Update turkish.json

* Update turkish.json

* Update turkish.json

* docs: Turkish 1K changes

ln 782 was too long compared to other words and hampers the overall flow. Changed to shorter form

ln 1024 Typo corrected
2023-11-22 14:31:13 +00:00
Miodec
978d066fd9 refactor: use button instead of div 2023-11-21 14:36:32 +00:00
Miodec
b7f8c946df refactor: use button instead of div 2023-11-21 14:22:56 +00:00
Miodec
a195b959d2 refactor: use button instead of anchor
also disabling button while waiting for response
2023-11-21 14:19:58 +00:00
Miodec
1ab6c82c0c style: lower roundness of focus border on links 2023-11-21 14:14:22 +00:00
Miodec
610ed5a9d2 style: thicken up the result chart lines a little bit 2023-11-21 14:06:22 +00:00
Miodec
9779c70acd style: use theme color for chart gridlines
this makes sure that they are always visible
2023-11-21 14:05:55 +00:00
Christian Fehmer
1d4d7dab87
feat: Allow more results for premium users (fehmer, Miodec) (#4778)
* feat: Unlimited history for premium users UI

* disable button while loading, show spinner

* optional chaining

* add isPremium to /users, remove check from frontend

* add /results max batch size to configuration

* result batching ui v1

* rename variables, update button based on state, update text

* Return allowed results in /results if limit is partly overshooting the max limit

* use br instead of margin

* let result batches code handle button disabling

* hide title

* limit max width

* hide section when below batch size

* update limit color based on the % of limit used

* bring back loaded bar

* remove unused css

* fix alignemtn

* remove text for now

* add result getting log

* always hiding for non premium users for now

* Add server configuration users.premium.enabled, throw error on /results if premium user exceeds regular limit and premium is globally disabled

* Disable premium feature globally by default

* cleanup open todos

* Don't use premium user max limit on /results if premium feature is disabled on server

* fix merge issue

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-11-20 16:17:20 +00:00
Miodec
643451b9cc chore: quote lengths script 2023-11-20 15:17:13 +00:00
Miodec
3a38996c58 fix(quote): quote reports 2023-11-20 15:16:55 +00:00
Leo Wang
2f4eb103da
impr: add backtick in javascript language when punctuation is enabled (ascodeasice) (#4801)
* refactor: logic for adding bracket in code language

* feat: add tick-wrapped words in javascript

* feat: add tick to javascript with punc
2023-11-20 15:03:04 +00:00
Christian Fehmer
4b3059bdc7
refactor: Import shared types back into MonkeyTypes namespace (fehmer) (#4800)
* impr: Import shared types back into MonkeyTypes namespace, partially reverts #4769

* down to 6 errors

* fixes

* cleanup
2023-11-20 14:56:28 +00:00
Miodec
cb6d61e1ca fix: use hebrew quotes
also making sure that these are interchangable with other quote characters
2023-11-17 16:16:32 +00:00
Miodec
4947633cc2 chore: remove duplicates 2023-11-17 15:57:14 +00:00
Miodec
eac100dee0 chore: remove duplicates 2023-11-17 15:53:27 +00:00
Miodec
41aa5c61e2 refactor: fix accessibility of edit profile button
done by converting the popup to a form
converting class button to a button type submit
listening to form submit
2023-11-17 15:35:44 +00:00
Miodec
9380542e96 refactor: add text button class for consistency 2023-11-17 15:12:19 +00:00
Miodec
abe8383591 refactor: use a button element instead of a class 2023-11-17 15:11:59 +00:00
Miodec
a4efbdd714 refactor: use button element instead of a class 2023-11-17 14:59:35 +00:00
Miodec
b2377bc4d4 style: make sure checkbox cant shrink 2023-11-17 14:53:32 +00:00
Miodec
d879b3af36 fix(update custom theme popup): broken checkbox 2023-11-17 14:52:12 +00:00
Miodec
931f56f2b9 chore: quote lengths script 2023-11-17 14:33:57 +00:00
Miodec
7e40b31858 fix(quote): quote reports 2023-11-17 14:33:37 +00:00
toma-demagn
fbe835b0a7
impr(pace caret): only update pace caret on repeated tests if wpm was higher (toma-demagn) (#4798)
* Update pace-caret.ts

Changed the logic for lastTestWpm when repeating a test

* Update pace-caret.ts

Prettier reformat of file
2023-11-17 13:18:50 +00:00
Ryan Lundqvist
572dcd54d9
impr(quotes): add one English quote (ryanlundqvist) (#4799)
* impr(quotes): add one English quote

* impr(quotes): Fixed wrong length for English quote
2023-11-17 13:06:13 +00:00
Miodec
52cf5b0c88 fix(typing): allow ellipsis character if it currently needs to be typed
closes #4792
2023-11-16 13:53:47 +00:00
Miodec
9e8ce3cdb8 docs: fix missing space
kinda ugly fix but needs to be done this way because of the minification

closes #4797
2023-11-16 13:46:19 +00:00
Miodec
2b91df5a76 impr(ukrainian): update spelling of проєкт 2023-11-16 13:36:02 +00:00
diogozarro
5b606ae727
impr(layouts): add Portuguese Portugal ISO and ANSI (diogozarro) (#4795)
* Update _list.json to add Portuguese from Portugal layouts, both ISO and ANSI

* Update _list.json moved portuguese_pt down

* Update _list.json moved portuguese_pt down
2023-11-15 14:32:36 +00:00
Dishmemah
477ec1c950
impr(quotes): add Hebrew quotes (Dishmemah) (#4787)
* 4 new Hebrew quotes

* Another Hebrew quote

* added missing commas between elements

* Fixed length fields
2023-11-15 11:50:38 +00:00
Miodec
57875da831 chore: contributors script 2023-11-13 13:57:47 +00:00
Miodec
f961401124 chore: quote lengths script 2023-11-13 13:45:13 +00:00
Miodec
a8f85b4b16 fix(quotes): reports 2023-11-13 13:44:57 +00:00
Miodec
1f4752e228 chore: revert one part of pr 2023-11-13 13:20:01 +00:00
kjvlbu
7b6ed78481
feat(language): added Old English (kjvlbu) (#4780)
* modified:   frontend/static/languages/_groups.json
	modified:   frontend/static/languages/_list.json
	new file:   frontend/static/languages/english_old.json

* added missing lazy mode character
enabled lazy mode
prettier

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-11-13 12:53:59 +00:00
Miodec
9d8d8dc544 fix(custom words filter): add button overriding custom text state
also added a notification when no words were found when filtering

closes #4785
2023-11-13 12:32:53 +00:00
Sameer M
2ba23567fb
feat(language): add Romanized Sanskrit (SameeraMurthy) (#4777)
* Added romanized sanskrit

* Update sanskrit_roman.json

* add lazy mode support

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-11-13 12:18:08 +00:00
Waterdragen
aa0a11777c
feat(layout): Add Stronk, Dhorf, Recurva, Saiga, Krai, Mir (Waterdragen) (#4781)
Oxey - [Stronk](https://oxey.dev/stronk/index.html)
Oxey - [Dhorf](https://oxey.dev/dhorf/index.html)
Brys - [Recurva](https://github.com/GalileoBlues/Recurva)
RusDoomer - [Saiga, Saiga-e, Krai, Mir](https://github.com/RusDoomer/saiga)
2023-11-13 12:12:20 +00:00
Serdar Bilici
f1d4b0592e
impr(quotes): fix turkish quote typos (s3rdarb) (#4779)
* Update turkish_5k.json

correction for misspelled words and a few additions and deletions

* Update turkish_5k.json

fixed typos and added new words for improvement

* Update turkish.json

Typo fixes

* Update turkish.json

* Update turkish.json

* Update turkish.json
2023-11-13 12:07:12 +00:00
Miodec
9ca61bdb12 docs: updated guidance on how to change ad consent settings
this needs to be done this way due to some implementation limitations

closes #4738
2023-11-13 12:01:03 +00:00
github-actions[bot]
c7f736ddbc
Prettier fix (#4783)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2023-11-11 19:30:13 -05:00
Bruce Berrios
e84f9ec5b7
refactor: add shared types (Bruception) (#4769)
* sharing is caring?

* replace 5 year old package with a more modern one

* ignore firebase config

* update import/resolver settings so that we no longer have to ignore @backend imports

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-11-09 14:03:56 +00:00
ibrab000
11a49d68e7
feat(quote): add one english quote (ibrab000) (#4773)
* Delete frontend/static/quotes/english.json

* Add files via upload
2023-11-09 14:01:14 +00:00
Christina Hanson
6b77f81201
feat(funbox): add mode that doubles each letter (LyricLy) (#4771)
* feat: add mode that doubles each letter to funbox

* increase difficulty

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-11-09 13:56:37 +00:00
Miodec
244a593fa5 refactor: funbox compatibility checks
refactored the speak checks to make sure many "unspeakable" funboxes can be used at once
unspeakable funboxes are only blocked when "speaks" funbox is enabled
2023-11-09 13:39:49 +00:00
Miodec
0ccf7ea920 fix(funbox): text altering funboxes not working with wikipedia or poetry 2023-11-09 13:27:04 +00:00
Miodec
d7273ec9a0 chore: quote lengths script 2023-11-08 12:51:48 +00:00
Miodec
dac1a25e07 fix(quote): quote reports 2023-11-08 12:51:27 +00:00