Commit graph

2343 commits

Author SHA1 Message Date
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
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
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
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
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
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
Vaughn Gugger
a0403f79a5
impr(csv export): change main delimiter from | to , (vjgtigers) (#5249) 2024-03-25 12:44:57 +01:00
Christian Fehmer
a306ab4f32
impr(profile/account page): show leaderboard rank percentage (fehmer) (#5212) 2024-03-25 12:36:25 +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