Commit graph

3856 commits

Author SHA1 Message Date
Miodec
99cc7042ea fix(custom text): limit sometimes being set incorrectly in simple mode 2024-04-24 14:54:02 +02:00
Jack
4039ed8b26
refactor: media queries (#5329) 2024-04-24 14:22:41 +02:00
Miodec
c8e61d5941 style: lowercase about buttons for styling consistency 2024-04-24 09:59:15 +02:00
Jack
ccc9a39a99
refactor: custom text logic and modal (#5327) 2024-04-23 16:58:00 +02:00
Miodec
727ff93611 impr(quote): add english quote (Ethanqg0) 2024-04-23 12:05:35 +02:00
Miodec
299fc35685 impr(loader): delay showing the loading bar by 125ms to avoid it flashing on screen for things that take a short time
!nuf
2024-04-23 12:01:12 +02:00
JojoCalabaza
59636e9d05
impr(quotes): remove inappropriate or controversial political quotes in Hebrew (JojoCalabaza) (#5323) 2024-04-23 11:59:49 +02:00
Helder Barboza
93219cfdc2
impr(language): update code_elixir (helderbarboza) (#5320)
* update strings to elixir

* remove duplicates

* remove parens

* remove one letter functions

* remove inexistant operator

* add parens back to zero-arity funs and types

* add exception modules

* add final new line

* remove parens for `SpecialForms` macros

---------

Co-authored-by: Helder Barboza <helder.fontes@sicoob.com.br>
2024-04-23 11:58:38 +02:00
cute-catgirl
cc7b204350
impr(quotes): add English quotes (cute-catgirl) (#5318) 2024-04-23 11:56:43 +02:00
Miodec
9beda7debe refactor(custom text modal): use state instead of checking the dom directly all the time 2024-04-17 19:21:31 +02:00
Miodec
a93e4eef11 impr(layout emulator): add urdu_phonetic 2024-04-17 13:45:17 +02:00
JojoCalabaza
208f47f455
impr(quotes): add Hebrew quotes (JojoCalabaza) (#5315) 2024-04-17 13:32:11 +02:00
Christian Fehmer
12146282e2
chore: update vitest to 1.5.0 (#5313) 2024-04-17 13:21:11 +02:00
Miodec
a708eadb34 fix(stop on error): inconsistent error highlighting behavior 2024-04-15 13:32:26 +02:00
JojoCalabaza
1579aeca3d
impr(quotes): add Hebrew quotes (JojoCalabaza) (#5310) 2024-04-15 13:24:25 +02:00
ibrab000
c55d11fc6e
revert: remove layouts added by ibrab000 (#5306)
These layouts have been erased from the AKL discord server by me, and I want these layouts to also be erased from monkeytype.
2024-04-15 13:23:57 +02:00
github-actions[bot]
e8484427d2
refactor: run prettier (#5308)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2024-04-15 13:22:26 +02:00
Tom Kuson
e6ee5bbcc2
impr(language): add "@" to git keywords (#5302)
@ is a commonly used alias for HEAD.
2024-04-15 13:21:17 +02:00
Kshitiz Rohilla
23393fb46c
impr(quotes): add 5 English quotes (kshitizrohilla) (#5300) 2024-04-15 13:20:45 +02:00
Miodec
9c49341c16 fix(custom text): some saved book mode texts not working correctly
closes #5311
2024-04-14 17:18:45 +02:00
Miodec
039c95094a refactor(mobile config): use modal chaining
!nuf
2024-04-13 21:23:07 +02:00
Miodec
89920210d3 impr(account page): change tags, funbox and language filters to a multiselect dropdown
closes #5240
2024-04-12 15:35:03 +02:00
Miodec
05e06aec80 style: use negative to always span all no matter how many columns 2024-04-12 15:35:03 +02:00
Miodec
4e0cd63dcc style: improve styling of slim selects 2024-04-12 15:35:03 +02:00
Derry Tutt
adb5412ed9
impr(quotes): add 2 english quotes (everypizza1) 2024-04-12 11:14:45 +02:00
sithydev :v
af9be52711
feat(theme): add discord (sithydev) (#5297) 2024-04-12 11:12:11 +02:00
Miodec
76f41f39d7 fix(quotes): quote lengths script
!nuf
2024-04-11 12:32:17 +02:00
Miodec
5a4e4604da fix(quotes): use american spelling of "judgment" 2024-04-11 10:05:11 +02:00
Miodec
dc005aba1b fix(modals): extra captcha popup appearing below some modals 2024-04-09 12:16:15 +02:00
Christian Fehmer
5e7a609689
fix(account page): buttons unreadable on hover on accounts/profile page (fehmer) (#5292) 2024-04-09 11:45:10 +02:00
Miodec
f2714c0a43 fix(typing): allow repeated quote tests to be saved (again) 2024-04-09 01:03:25 +02:00
Miodec
1d79d87d89 fix(word generator): quotes breaking when repeat quotes is enabled 2024-04-08 19:13:53 +02:00
Eggflaw
4514ad02ae
fix(language): add unused japanese_romaji (Eggflaw) (#5290)
* Add japanese_romaji to _groups file

* Add japanese_romaji to _list file

* japanese_romaji.json: remove duplicates
2024-04-08 15:03:06 +02:00
Miodec
e5797d7048 fix(quotes): quote lengths
!nuf
2024-04-08 14:54:24 +02:00
Miodec
a6886084a1 fix(quotes): user reports 2024-04-08 14:54:01 +02:00
Miodec
9af105b1e3 impr(word generation): allow tests with plus n funboxes to be repeated
also simplifies the test repeat system a little bit

closes #5282
2024-04-08 14:14:12 +02:00
Miodec
163a0302e4 fix(ape): escaping parameters if they are part of the url
closes #5287
!nuf
2024-04-08 12:52:04 +02:00
Francis A
51aa1f1d0b
impr(language): update Traditional Chinese word list (rudnam) (#5284) 2024-04-08 12:22:29 +02:00
JornTumrongwit
357e67e2f3
impr(quotes): add English quotes (JornTumrongwit) (#5283) 2024-04-08 12:21:22 +02:00
Ohad Ben Dov
17476c871c
impr(quotes): add Hebrew quotes (#5262)
* Update hebrew.json

* Update hebrew.json

* Update hebrew.json

replaced a few of the quotes.

id: 31
"They opened a hand grenade in their hearts: click! Ashkenazic? Iraqi? Brother! Jews! Warriors!" - famous quote that sounds better in Hebrew.

id: 32
"We have learned from history that wherever there is a train there is life" 

id: 36
"Officials in the police and the prosecutor's office teamed up with the left-wing newspapers, I call them 'only not Bibi', in order to sew up illusory cases for me. The goal is to topple a strong right-wing prime minister and thus distance the national camp from the country's leadership" 

translation to the other quotes is in the description of the first commit message

* Update hebrew.json

fixed an error

* Update hebrew.json

updated some of the quotes.
here is the translation:

id: 31
"They opened a hand grenade in their hearts: click! Ashkenazic? Iraqi? Jews! Siblings! Warriors!"
-Menachem Begin



id: 32
"Words can lead to actions, but what can lead to actions is reality. Reality, not words!"
-Miri Regev

id: 33
"Honesty is strength, values are strength, cunning and corruption bring us down, generosity and love are the strongest forces in the world."
-Yair Lapid

id: 34
"The Jewish people did not excel at seeing dangers in time, time after time they surprised us - the last time in the most terrible way, and this will not happen under my leadership."
-Benjamin Netanyahu


id: 35
"Violence is eroding the foundation of Israeli democracy. She must be condemned, denounced, isolated. This is not the way of the State of Israel."
-Yitzhak Rabin

id: 36
"Factors in the police and the prosecutor's office teamed up with the left-wing newspapers, I call them 'just not Bibi', in order to sew up illusory cases for me. The goal is to topple a strong right-wing prime minister and thus distance the national camp from the country's leadership."
-Benjamin Netanyahu
2024-04-08 12:19:00 +02:00
Jack
ff7816aac0
refactor: custom text modal rework (#5278)
* start work on saved texts popup

* passing options through, async fill to not block animation

* handle apply

* custom text modal start

* full save custom text modal refactor

* remove import

* full finish on saved texts modal

* fill when chain re-shows it

* fix issues where opening chains within chains would show two modals

* extract type

* add support for passing data between modals

* dont leave the popup if no words were found

* use modalchaindata instead of setting popup state directly

* handling set and append modes in chain data

* move tab insertion code into the custom text modal file

* use chain data instead of state module

* move event handlers to a different file / to the setup function

* move file

* rename file

* rename id

* remove unused line

* add generics to incoming and outgoing modal chain data

* rework the way custom text textarea is handled

* update long custom text warning

* remove variable

* remember to update the state
2024-04-05 13:18:26 +02:00
Christian Fehmer
3cbf0bda4c
feat: add incognito theme (fehmer) (#5272)
* feat: add incognito theme

* fix p and t being cut at the bottom
2024-04-05 13:09:51 +02:00
Vaughn Gugger
e37bf192e3
impr(profile): add level percentage when hovering over progress bar (vjgtigers) (#5276) 2024-04-05 12:24:36 +02:00
Nad Alaba
2dbd7afa10
fix(indicate typos): undefined hints in stop on letter (#5281) 2024-04-05 12:19:04 +02:00
Aarnav Suwal
55d6da2971
impr(quotes): add 3 English quotes (aarnav593) (#5266)
* Added 2 short and 1 medium quote from different sources

* Delete .gitpod.yml

* Changed one quote, added one more, and changed the source ofn existing  a quo (5355)te to app more ild-friendly

* Corrected length of quote

* removed quote

* readded book title to quote source
2024-04-03 22:41:31 +02:00
Gauthier Fiorentino
4344194a23
fix(quotes): typo (Mintoo200) (#5279) 2024-04-03 22:27:23 +02:00
Miodec
5701f94b60 refactor: move array related function to the arrays file 2024-04-03 22:22:00 +02:00
Sanidhya Singh
39e611d276
refactor(utils): distribute color, numbers, strings and other group of functions into separate util files from misc.ts (sanidhyas3s) (#5254)
* fix: Prevent theme switch when opening theme commandline from the footer

fixes #5103

* refactor(utils/misc): move functions and adjust usages
also renamed some functions for clarity
for #5187

* refactor(utils/misc): move color utils into separate file & add docstring
for #5187

* refactor(utils/misc): separte out number-related utils and more
add docstring to the functions in `utils/numbers`
also, move `getDiscordAvatarUrl` back into misc
because it was causing mt to not open somehow
for #5187

* refactor(utils/misc): move get-text functions into separate file & add docstring for them
    for #5187

* refactor(utils/misc): move get-data type functions into separate file & add docstrings
    for #5187

* Fix cyclic dependency by moving function

* Move strings utils to separate file and other minor changes to utils

* Shift Date & Time util functions to a separate file and add docstrings

* Shift more string functions to string util file

* separate out Arrays functions from misc utils

* Rename some utility files and move some functions

* lowercase filename

* rename module imports

* move ddr stuff into its own file

* temp file rename

* file rename

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2024-04-03 22:12:48 +02:00
Miodec
8755f450c5 fix(word generation): A A or A B A word duplicates could sometimes appear when using lazy mode
closes #5238
2024-04-03 13:35:52 +02:00
Miodec
72fd518587 impr(word generation): use full width punctuation marks when typing in chinese
closes #5277
2024-04-03 13:04:29 +02:00
Miodec
82b74574c9 style: make version history modal wider 2024-04-03 00:31:13 +02:00
Miodec
254e016d38 chore: remove unused code 2024-04-02 18:39:25 +02:00
Miodec
0ce2f6afcf fix(settings): hide revoke all tokens section when signed out 2024-04-02 18:39:04 +02:00
Miodec
82b9323fbf refactor: rename simple popup to simple modal 2024-04-02 18:38:27 +02:00
Christian Fehmer
7635d37848
feat(authentication): add signin with github (fehmer) (#5239) 2024-04-02 18:33:20 +02:00
Vaughn Gugger
a6ccb2cead
impr: changed fps text color from hardcoded values to match user theme (vjgtigers) (#5271) 2024-04-02 15:07:03 +02:00
Christian Fehmer
1890dbdff8
fix(account page): use same rounding for top percentage as on leaderboard (fehmer) (#5270) 2024-04-02 15:05:24 +02:00
github-actions[bot]
0df1ed163d
refactor: run prettier (#5265)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2024-04-02 15:01:25 +02:00
Sanchir Enkhbold
673b5b83a3
impr(quotes): add Mongolian quotes (sanchir2011) (#5258) 2024-04-02 15:00:55 +02:00
Christian Fehmer
f7c37b0a1d
refactor: rewrite page constructor to use an object (fehmer) (#5253)
* refactor: rewrite page constructor to use an object

* rename pathname to path

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2024-04-02 14:59:43 +02:00
Nad Alaba
17295d7b43
fix(notifications): clear all notifications from the command line not hiding clear all button (NadAlaba) (#5257) 2024-04-02 11:55:54 +02:00
Miodec
e497a192f9 chore: remove plushie banner 2024-03-31 13:19:46 +02:00
Nad Alaba
c20964d185
fix(indicate typos): letters not displaying correctly in RTL languages or with ligatures when set to below (NadAlaba) (#5113) 2024-03-25 17:14:53 +01:00
Sanidhya Singh
b0cf7bc4be
fix(custom text): preserve state of the textarea when applying (sanidhyas3s) (#5186) 2024-03-25 16:59:40 +01:00
refact0r
7c4435e14b
impr(theme): update catppuccin (refact0r) (#5247) 2024-03-25 12:53:27 +01:00
Vaughn Gugger
a0403f79a5
impr(csv export): change main delimiter from | to , (vjgtigers) (#5249) 2024-03-25 12:44:57 +01:00
Gauthier Fiorentino
365572f652
impr(quotes): add French quotes (Mintoo200) (#5206) 2024-03-25 12:40:11 +01:00
Christian Fehmer
a306ab4f32
impr(profile/account page): show leaderboard rank percentage (fehmer) (#5212) 2024-03-25 12:36:25 +01:00
anakojm
0baabb150c
impr(layout): update optimot to version 1.6 (anakojm) (#5236) 2024-03-25 12:06:49 +01:00
__filename
8083390c23
feat(quotes): add Mongolian quotes (filename24) (#5200) 2024-03-25 12:05:11 +01:00
Andrey Kuznetsov
8d77c88dc4
fix(language): russian_10k.json now contains 10000 words (#5232) 2024-03-25 11:59:29 +01:00
Johan de Jongh
d1241d0a63
feat(language): add Xhosa (de-longhi) (#5231) 2024-03-25 11:58:18 +01:00
Miodec
7915df57a8 chore(animated modal): add method to get previous modal in chain 2024-03-24 23:02:05 +01:00
Miodec
6f75abef70 refactor(ape keys modal): use new modal system 2024-03-24 23:01:33 +01:00
Miodec
a8a78eca6a refactor(animated modal): make setup async
!nuf
2024-03-24 19:07:33 +01:00
Miodec
5a6d2eca47 refactor: prefer for of instead of forEach 2024-03-24 19:07:33 +01:00
Miodec
47f3163267 fix(commandline): opening the commandline from the footer not showing custom themes 2024-03-24 19:07:33 +01:00
Miodec
6357489b1d fix(commandline): pressing esc always closing modal instead of going back in history 2024-03-24 19:07:33 +01:00
Miodec
7b86d5c606 fix(import export modal): import not working
!nuf
2024-03-24 19:07:33 +01:00
Miodec
6167506b89 refactor(word filter modal): use new modal system 2024-03-24 16:45:53 +01:00
Miodec
1bd6bf46f2 chore: wording 2024-03-23 11:14:30 +01:00
Estifanos Gashawtena
abbed321c4
impr(login page): better error message (Estifanos12) (#5244)
* fix:create user email already exists message

* Update account-controller.ts

* Update account-controller.ts

* Update account-controller.ts

* Update account-controller.ts

* Update account-controller.ts

* Update account-controller.ts
2024-03-23 11:07:15 +01:00
Miodec
e52cdef46c chore: plushie banner 2 2024-03-23 11:06:12 +01:00
Christian Fehmer
fc3ac84147
fix: show command key tip correctly (fehmer) (#5234)
* fix: show command key tip correctly

* add spaces

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2024-03-23 10:19:20 +01:00
Christian Fehmer
f3c6254933
fix: login disabled after logout (fehmer) (#5243) 2024-03-23 10:10:46 +01:00
Miodec
7f427a9643 refactor(simple modals): use new modal system 2024-03-22 20:53:22 +01:00
Miodec
234642a64d refactor: use a single object instead of multiple parameters
regex goes BRRRR
2024-03-22 20:50:18 +01:00
Miodec
c905fcbed4 impr: focus first non hidden input instead of just the first one 2024-03-22 20:33:49 +01:00
Miodec
c0500ce9c6 fix(commandline): languages sometimes didnt load in time, showing an error 2024-03-20 23:11:09 +01:00
Miodec
e551e043af impr: automatically refocus the test when closing the command line on the test page 2024-03-20 20:56:50 +01:00
Miodec
57d9fc3b04 chore: focus words earlier to avoid flashing issues 2024-03-20 20:37:29 +01:00
Miodec
0b0fff939a refactor: dont hide out of focus warning if words are not focused 2024-03-20 20:29:43 +01:00
Miodec
b7b2c1f406 refactor: use actual module instead of modifying the dom 2024-03-20 20:27:44 +01:00
Miodec
5a354ef25d refactor(quote search modal): use new modal system 2024-03-20 16:08:31 +01:00
Miodec
e38f64e019 chore: use after animation to avoid animation issues 2024-03-20 15:45:36 +01:00
Miodec
33229ce057 chore: dont await function to fix animation issues 2024-03-20 15:38:21 +01:00
Miodec
c6a47e8ef8 chore: clearing modal chain 2024-03-20 15:38:01 +01:00
Miodec
c2b7204600 refactor(quote report modal): use new modal system 2024-03-19 16:09:23 +01:00
Miodec
28a4eac40e refactor(quote rate modal): use new modal system 2024-03-19 15:50:50 +01:00
Miodec
1a64a724c6 style: increase spacing a bit 2024-03-19 14:54:04 +01:00
Miodec
5f48827fb3 fix: incorrect param type 2024-03-19 14:49:15 +01:00
Miodec
2f0bc5af84 fix: make parameter optional 2024-03-19 14:35:38 +01:00
Miodec
e999fa2a87 impr(language): remove vulgar words 2024-03-19 13:21:27 +01:00
Miodec
cc5406d88c style: lowercase footer buttons for more visual consistency 2024-03-18 13:10:14 +01:00
Miodec
33c8976176 style: update modal styling
also removed some redundant styles
2024-03-18 13:08:44 +01:00
Miodec
3077daa71f refactor(quote approve modal): use new modal system 2024-03-18 12:59:53 +01:00
Miodec
429c580a74 impr(quote search modal): update placeholder text to indicate that you can search by quote id 2024-03-18 12:05:01 +01:00
Miodec
b339cd082c fix(custom word amount): not being able to start an infinite word test 2024-03-18 00:02:10 +01:00
Miodec
9ca32d3b6a refactor(quote submit modal): use new modal system 2024-03-18 00:01:06 +01:00
Miodec
5e69c5df6b chore: remove logs 2024-03-17 20:47:54 +01:00
Miodec
d454783d11 refactor(google sign up modal): use new modal system 2024-03-17 20:47:21 +01:00
Miodec
9e064fd57c refactor(new filter preset modal): use new modal system 2024-03-17 02:10:30 +01:00
Miodec
1ceaa66287 refactor(custom test duration modal): use new modal system 2024-03-16 19:08:20 +01:00
Miodec
7faefcdd76 refactor(mobile test config modal): use new modal system 2024-03-16 18:44:18 +01:00
Miodec
5fb042c076 impr(custom word amount modal): add clear chain support and showoptions 2024-03-16 18:33:13 +01:00
Miodec
987ac16bc8 style: update out of focus warning 2024-03-16 17:28:53 +01:00
Miodec
5990f264fb style(modal): overflow auto 2024-03-16 17:00:06 +01:00
Miodec
e29d280ea5 refactor(edit result tags): complete rework
use new modal system
extract code not relating the modal to other modules
use state instead of checking dom elements/classes/attributes
2024-03-16 16:42:48 +01:00
Miodec
db560d252c impr: dont block keyboard shortcuts (like cmd + r) when out of focus warning is shown 2024-03-15 17:35:23 +01:00
Miodec
a8f6caebc9 refactor(commandline): change exec options to a single object
add commandlineModal parameter to open other modals in a chain
add command.opensModal to avoid double hiding commandline
2024-03-15 17:30:22 +01:00
Miodec
e933bbff73 impr(edit tag): add ability to show as modal chain 2024-03-15 17:26:35 +01:00
Miodec
474c6aa52e impr(animated modal): custom show options when modal is shown in a chain 2024-03-15 17:24:15 +01:00
Miodec
44e3d1b5ad fix(commandline): previous commands being visible for a split second when opening 2024-03-15 15:29:01 +01:00
Miodec
4220c54de2 refactor(edit tag): use new modal system 2024-03-15 15:11:34 +01:00
Miodec
f47340b301 refactor(animated modal): focus input if it exists and its not hidden 2024-03-15 15:10:25 +01:00
Miodec
54237d369e refactor: add title style to all modals 2024-03-15 13:49:39 +01:00
Miodec
021577c9e4 refactor(edit presets): use new modal system 2024-03-15 13:40:18 +01:00
Miodec
1640670bad style: disable pointer events on icons 2024-03-15 13:39:36 +01:00
Miodec
05de8a5de5 fix(commandline): double scrollbar 2024-03-15 13:39:19 +01:00
Miodec
00b5be2a38 refactor(edit profile): use new modal system 2024-03-15 12:58:53 +01:00
Miodec
7ee4340383 style: make profile buttons transparent to avoid focus border clipping 2024-03-15 12:26:09 +01:00
Miodec
c124f9bd67 style: add overflow-y on all modals 2024-03-15 11:11:48 +01:00
Miodec
ecfbe3a290 refactor(test): extract selected quote id to the test state module 2024-03-15 10:59:09 +01:00
Miodec
b4259b7b4d impr: user data download times
get user data no longer needs to be called by itself
it can again be called in parallel with config and preset
2024-03-15 10:41:22 +01:00
Christian Fehmer
ed9fff5d41
fix: enter quick restart not working on test page (#5227) 2024-03-15 10:41:16 +01:00
Miodec
da7e59a28a fix: website sometimes showing signup/login is disabled even though its not
it was happening if the website loaded faster than the /configuration api call
2024-03-14 22:38:05 +01:00
Miodec
3a012bd3b9 fix: sign up captcha challenge appearing under the modal, making it impossible to sign up 2024-03-14 20:37:45 +01:00
Miodec
c3671fbc75 refactor(animated modal): change constructor parameter to a single object 2024-03-14 17:17:29 +01:00
Miodec
df8b1031ed style(alerts): make the container a bit wider 2024-03-14 17:16:32 +01:00
Miodec
b6b22b3cf5 impr(animated modal): add option to automatically focus and select on show 2024-03-14 17:02:28 +01:00
Miodec
9c73697b37 impr(modals): add chaining support 2024-03-14 16:47:08 +01:00
Miodec
2a4e0b1fea refactor(user report modal): use new modal system 2024-03-14 12:21:22 +01:00
Miodec
176e344b09 fix(language): remove misspelled word in english 450k 2024-03-13 22:09:31 +01:00
Miodec
f8ce7cfbe9 refactor(pb modal): use new modal system 2024-03-13 17:23:40 +01:00
Miodec
60f6e4d77b refactor(streak hour offset): user new modal system 2024-03-13 17:08:25 +01:00
Miodec
22ccebc5e9 fix(quick restart): always navigating to test page when pressing enter 2024-03-13 15:43:54 +01:00
Miodec
14280df96f refactor(animated modal): add 'focusFirstInput' param to show function 2024-03-13 15:39:47 +01:00
Miodec
1efbc5a24e refactor(custom word amount modal): use new modal system 2024-03-13 15:39:47 +01:00
Christian Fehmer
902b32a0b4
fix: fix handling of undefined key in event handler (fehmer) (#5223) 2024-03-13 14:58:28 +01:00
Miodec
d249633910 fix: mobile commandline button not working 2024-03-13 13:35:22 +01:00