Commit graph

2530 commits

Author SHA1 Message Date
Miodec d446fd5b66 added special key tracking for android and its special way of defining keydown and keyup events 2023-04-05 13:09:46 +02:00
Miodec dc14aa9e41 Merge branch 'master' into newads 2023-04-04 18:57:12 +02:00
Dilyorbek 29cfe8d932
Fix duration ordering and new algorithm for key overlap (#4141) drdilyor
* test2

* mod2

* mod3

* fix incomplete keystrokes now have duration

* make loop go forward for readability

* check if keysorder is empty

* prettier

* clean up

* rename variables for readability

* remove the algorithm and debug info

* type casting

* merged objects into one
moved code around

* removed "toolong" clientside type

* fixed assignment

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-04-04 00:56:39 +02:00
Miodec b40012e606 forcing keyup to make sure last keypresses are not missed 2023-04-03 19:55:11 +02:00
Miodec 1d3501ce94 reworked the way key spacing is recorded
added lastKeyToEnd (time between last keypress and test end)
2023-04-03 19:27:15 +02:00
Miodec 252139178e updated error message 2023-04-03 19:25:13 +02:00
Miodec 486c2d0632 using new duration calculation
added keyoverlap
2023-04-03 14:57:59 +02:00
Miodec 84a8b3f898 removed logging function 2023-04-03 14:55:03 +02:00
Miodec 9615bd5ca7 quote length fix 2023-04-03 13:04:53 +02:00
Miodec 454c1afe37 quote reports 2023-04-03 13:04:34 +02:00
Julian Marcos 6a27141fe2
Typo: Fixes #4137 (#4140) Juliaria08
This commit changes:
"Advertisements on Monkeytype are optional. This section only applies to you if you've have not disabled them."
To:
"Advertisements on Monkeytype are optional. This section only applies to you if you have not disabled them."
2023-04-03 12:30:35 +02:00
Pranay Roni 4bfb1a66ff
Fixed Inconsistencies with Avatar Quotes (#4139) pranayroni
* added english quotes

* fixed inconsistencies with Avatar quotes
2023-04-03 12:30:12 +02:00
Pranay Roni 07107e875c
added english quotes (#4138) pranayroni 2023-04-03 12:29:46 +02:00
Aaron 12587ac765
Remove duplicate quote (#4136) UnrealApex
* Renamed command line setting timer-progress bar

* Make account config input an `input` so it takes up less space

* Revert "Make account config input an `input` so it takes up less space"

* Remove duplicate quote

---------

Co-authored-by: Aaron <79121360+hazyboba@users.noreply.github.com>
2023-04-03 12:28:39 +02:00
egorguslyan 5383580560
Systemverilog quotes (#4129) egorguslyan
* Fix fwrisc quotes and their attributon

* Add AES quotes

* UART controller quotes

* Add missing spaces

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 12:28:18 +02:00
Anton Chernenko 651dfec285
fix word Kiev -> Kyiv (#4127) ch3rny
* fix word Kiev -> Kyiv

* remove duplicate in chinese_traditional.json

* remove duplicates in turkish_1k.json
2023-04-03 12:26:08 +02:00
Evan b4e8eecfb8
Update dynamic Keymap Legend Style to More Accurately Reflect Casing (#4113) Ferotiq
* use `.on`

* update symbols and letters seperately

This is based off how Shift and Caps Lock are fundamentally different. Shift changes every key while Caps Lock just changes letters. In addition, MacOS and Windows handle Caps Lock differently. In Windows, Shift can revert the letters change of Caps Lock, and on MacOS it cannot. So I have also added in an edge case for MacOS.

* reduce the diff

* explain why there's a platform check

* remove export

* update `isUsingOppositeShift` to accept keycodes

This allows the keymap to update only what can be capitalized when `oppositeShiftMode` is on

* simplify

* fix support for iso layouts

* fix `oppositeShiftMode`: `keymap` not working

* should default to true

* whoops

* error handling
2023-04-03 12:18:31 +02:00
Jack ff1cceeaa4
Revert "Remove duplicate quote and fix quote id increment (#4128)" (#4135)
This reverts commit 8b44320b62.
2023-04-02 17:55:43 +02:00
Aaron 8b44320b62
Remove duplicate quote and fix quote id increment (#4128)
* Renamed command line setting timer-progress bar

* Make account config input an `input` so it takes up less space

* Revert "Make account config input an `input` so it takes up less space"

* Remove duplicate quote

* Fix id increment

---------

Co-authored-by: Aaron <79121360+hazyboba@users.noreply.github.com>
2023-04-02 10:52:35 -05:00
github-actions[bot] d7737bdc97
Prettier fix (#4132)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2023-04-01 23:02:34 -04:00
Miodec 1c489cad92 updated description 2023-04-01 21:15:55 +02:00
Miodec bbc7759bb7 removed non kazakh words
fixed some characters
2023-03-30 09:42:25 +02:00
Miodec 536c5a71fd Merge branch 'master' into newads 2023-03-29 19:53:27 +02:00
Miodec 367c9e599a using a list of keys instead of regex
returning out of functions if key is not inside the list
2023-03-29 19:53:16 +02:00
Miodec ab957352e1 Merge branch 'master' into newads 2023-03-29 17:12:05 +02:00
Miodec 4fe1f97c66 moved function calls to their own events
returning if key is not tracked
returning if key is already pressed (not tracking repeats)
only pushing alpha numerics and space
2023-03-29 17:11:48 +02:00
Miodec 6a79eb6ded missing char 2023-03-28 22:56:22 +02:00
Miodec e22c24f8e7 Merge branch 'master' into newads 2023-03-28 21:28:32 +02:00
Miodec bd467020af removed duplicate function calls 2023-03-28 21:25:13 +02:00
Miodec 394ce7e850 updating active theme button when changing theme 2023-03-28 21:23:21 +02:00
Miodec b3e6f4aae8 Merge branch 'master' into newads 2023-03-28 20:54:38 +02:00
Miodec 45df3175c0 removed arrays from logs 2023-03-28 20:54:25 +02:00
Miodec 0b2dbfcb8c Merge branch 'master' into newads 2023-03-28 20:53:29 +02:00
Miodec cc46151585 resetting tracker, delaying keydown tracking by one loop 2023-03-28 20:52:16 +02:00
Miodec 29f046f5e3 using const instead 2023-03-28 17:09:49 +02:00
Miodec 13afd3da00 Merge branch 'master' into newads 2023-03-28 17:08:03 +02:00
Miodec 27949a9016 not needed 2023-03-28 17:07:49 +02:00
Miodec 0070229556 Revert "substituting first stored keypress duration start with test start (because stats are reset on test start)"
This reverts commit 04ce710e93.
2023-03-28 17:06:58 +02:00
Miodec 87aebeaa47 Merge branch 'master' into newads 2023-03-28 17:05:22 +02:00
Miodec 04ce710e93 substituting first stored keypress duration start with test start (because stats are reset on test start) 2023-03-28 17:05:11 +02:00
Miodec dbb2811028 Merge branch 'master' into newads 2023-03-28 16:27:42 +02:00
Miodec c9f5934808 resetting keysobj 2023-03-28 16:26:55 +02:00
Miodec a354e7e0c6 Merge branch 'master' into newads 2023-03-28 15:59:22 +02:00
Miodec 7e0c56b381 resetting value 2023-03-28 15:59:09 +02:00
Miodec c9c5fe4d9c Merge branch 'master' into newads 2023-03-28 15:40:50 +02:00
Miodec 433b34a66b removed log 2023-03-28 15:40:42 +02:00
Miodec 51b504a62a better logging 2023-03-28 15:39:29 +02:00
Miodec 3bbb6d3a84 better logging 2023-03-28 15:39:11 +02:00
Miodec 3f50993584 Merge branch 'master' into newads 2023-03-28 15:09:01 +02:00
Miodec 0a259d7eb3 resetting 2023-03-28 15:08:51 +02:00
Miodec bee7308992 Merge branch 'master' into newads 2023-03-28 15:05:09 +02:00
Miodec 2abd1c202f added supporter 2023-03-28 13:23:50 +02:00
Miodec 8a2780b9b6 updated list 2023-03-28 13:23:14 +02:00
Miodec 0690e26bb6 testing new keypress duration apprach 2023-03-28 13:04:20 +02:00
Miodec ee393978df removed duplicates 2023-03-27 22:24:29 +02:00
Miodec 54c1826ad5 Merge branch 'master' into newads 2023-03-27 22:22:29 +02:00
Miodec e4b3182c3a missing group and list file entries 2023-03-27 22:22:11 +02:00
Spax 470a54ee02
"Arrows" funbox starts with left/right only (#4122) SpritAxolotl
* Arrows start with left/right part 1

* Arrows start with left/right part 2

* refactor

* passing in wordindex instead of trying to use wordset

* removed console log

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-03-27 22:21:11 +02:00
Miodec 66290637c0 missing list and group files 2023-03-27 19:16:57 +02:00
Miodec 5bd1c08825 Merge branch 'master' into newads 2023-03-27 16:14:21 +02:00
Duncan Sutherland 13b9c2b2ce
Correct Gallaya* layouts (#4117) dunk2k
- `tT` was missing
- `sS` moved to intended position
2023-03-27 16:13:58 +02:00
Miodec 77092a508e Merge branch 'master' into newads 2023-03-27 15:18:55 +02:00
Duncan Sutherland 9e0da3b25c
Add Gallaya Layout(s) (#4115) dunk2k
* Update _list.json

Added layouts gallaya_matrix, gallaya_angle_iso, gallaya_angle_ansi

Inserted below maya layout as gallaya as a combination of gallium and maya, though I take no issue with these 3 entries being placed at bottom of list if that is the practise for new layout additions.

* Update _list.json

Added layouts gallaya_matrix, gallaya_angle_iso, gallaya_angle_ansi 

Inserted below maya layout as gallaya as a combination of gallium and maya, though I take no issue with these 3 entries being placed at bottom of list if that is the practise for new layout additions.
2023-03-27 14:06:13 +02:00
Henning Meyer 8dabe6b8d4
Add German Quotes (#4111) meyerhenning
* feat: add quotes in german

* refactor: replace too short quote

* style: fix indentation
2023-03-27 13:55:11 +02:00
David Kosorin 9773227bc1
Update Czech words (#4110) kosorin
- "m", "tý" - not a word
- "cm", "č." - abbreviations
2023-03-27 13:53:52 +02:00
Miodec 7035dfd6f1 quote reports 2023-03-27 13:21:20 +02:00
Miodec 8a32ff7f59 duplicate quote 2023-03-25 10:38:28 +01:00
Miodec ecd97ebc51 Merge branch 'master' into newads 2023-03-24 14:15:20 +01:00
Miodec 2d06bdce30 setting state when overriding custom text 2023-03-24 12:51:36 +01:00
Miodec e6eed80b97 important notifications
closes #4099
2023-03-24 12:26:06 +01:00
Albert 98b777dfcb
Fix positions of pb and average lines when disabling start graph at 0 (#4103) albertying
* Change accountHistory y-axis min of average and pb lines

* extract the floor operation into a variable

* remove whitespace

* setting to 0

---------

Co-authored-by: Evan <64989416+Ferotiq@users.noreply.github.com>
Co-authored-by: Evan <evanrayweigel@outlook.com>
Co-authored-by: Miodec <jack@monkeytype.com>
2023-03-24 12:21:18 +01:00
Miodec 03d42cef33 added more data on hover
closes #4109
2023-03-24 12:15:54 +01:00
Miodec 8dd979fe94 fixed not smooth transition when always show history is enabled
added no animation parameter
removed duplicating code
2023-03-24 11:38:08 +01:00
Dominic Ruggiero 92add5b927
add mr.rogers quote (#4107) mrhappyma 2023-03-24 11:17:57 +01:00
Miodec d9ccabc059 Merge branch 'master' into newads 2023-03-22 22:13:19 +01:00
Miodec e71df4a7b1 showing imporatnt notifications during the test 2023-03-22 22:12:07 +01:00
Miodec c11a6dbbc3 copying default snap 2023-03-22 22:07:08 +01:00
mathiasbaech 3601565c91
Update danish_10k.json (#4104)
* Update danish_10k.json

Removed @ symbols from some danish words

* Update danish_10k.json

Removed a couple of uncaught duplicates
2023-03-22 13:30:02 -05:00
Miodec 287d30d871 changed function properties to an options object
added support for important property
2023-03-22 19:10:20 +01:00
Miodec e7af680838 Merge branch 'master' into newads 2023-03-21 15:09:14 +01:00
Miodec e9a20f2537 not updating iOffset if stop on word is enabled
removed console log
2023-03-21 15:08:50 +01:00
Miodec bd84f341fc Merge branch 'master' into newads 2023-03-21 15:02:55 +01:00
Miodec 59e9790874 using await to reduce indentation
always opening a new tab if copying to clipboard failed (not just firefox)
closes #2815
2023-03-21 14:58:09 +01:00
Miodec 58d092070e hiding balloons during screenshot (they show up in safari) 2023-03-21 14:54:40 +01:00
Miodec 22502ce926 Merge branch 'master' into newads 2023-03-21 14:32:55 +01:00
Miodec a951383009 screenshot fixes:
adding a spacing element when hiding config
making top and bottom invisible
2023-03-21 14:29:52 +01:00
Miodec 743c15f1f1 Merge branch 'master' into newads 2023-03-21 14:13:24 +01:00
Miodec 1e4f1c66f0 fixed incorrect index in some specific cases
fixed accuracy calculation when swipe typing
could be part of #3690
2023-03-21 14:13:14 +01:00
Luke Nguyen Khanh 8bea978fd5
Added quotes from Hamilton musical play (#4085) LukeNk
* Added quotes from Hamilton musical play

* Longer Hamilton quotes
Updated IDs to match
2023-03-21 11:28:50 +01:00
Evan f68c69b694
add cascadia mono font (#4096) Ferotiq 2023-03-21 11:27:00 +01:00
Ed 18cd8f5983
fixed and added 6 quotes to spanish.json (#4095) edujos 2023-03-21 11:26:29 +01:00
Miodec e8d7182f66 Merge branch 'master' into newads 2023-03-20 14:21:18 +01:00
Miodec 4617f742eb removed low rated quotes 2023-03-20 12:52:57 +01:00
Miodec 54d184eb41 lowest rated quote 2023-03-20 12:48:13 +01:00
Miodec 6e495c4b84 quote reports 2023-03-20 12:48:00 +01:00
Albert 3833beb16d
Update accuracy for all relevant datasets (#4092) albertying 2023-03-20 12:21:11 +01:00
Spax c39d3fab78
Added minimak keymaps (#4088) SpiritAxolotl
* added minimak keymaps

http://www.minimak.org/

* fixed the curly bracket

* reverted one character

---------

Co-authored-by: Jack <jack@monkeytype.com>
2023-03-20 12:12:39 +01:00
Spax 14da1438d9
Implemented an ITG arrow mode to the funbox (#4084) spiritaxolotl
* added arrows ITG to the list

* added the implementation for arrows_ITG

I also updated "arrows" so it supported ijkl as well as the normal arrowkeys and wasd

* the actual implementation of the arrow generation

I forgot to commit this one whoops

* missed a curly bracket whoops

* overwritten the arrows generation

Instead of having two similar funboxes, miodec just said to implement the new generation in the existing arrows funbox.
removed the arrows_ITG now
next commit will remove it from the list as well

* removed arrows_ITG and updated arrows

* removed arrows' old generation method

* updated a mistake

* lint, prettier

* added the TODO comment back

didn't realize I removed it sorry

* remove spaces

* gave the variable names something more descriptive

* remove preivous variables

I hate working remotely

* small refactor

* simplify

* simplify

* remove export

* starts with a left or right

* prettier fix

* removed "export"

the function wasn't getting called outside of the file

* parity for a list description

* fixed that one character that got overwritten

* Revert "fixed that one character that got overwritten"

This reverts commit c8a394dc7b.

---------

Co-authored-by: Miodec <jack@monkeytype.com>
Co-authored-by: Evan <evanrayweigel@outlook.com>
Co-authored-by: Evan <64989416+Ferotiq@users.noreply.github.com>
2023-03-20 12:06:13 +01:00
anakojm ba4c7a1c61
Update _list.json (#4083) anakojm
add optimot layout
2023-03-20 12:02:06 +01:00
Miodec 05b7e623c5 removed word 2023-03-20 11:40:45 +01:00
github-actions[bot] 2577d44b3d
Prettier fix (#4087)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2023-03-18 16:22:27 -05:00
Miodec 7aa0214af5 Merge branch 'master' into newads 2023-03-17 12:10:31 +01:00
Miodec d0ee9502e1 showing mistake count when hovering over the accuracy number 2023-03-17 12:07:05 +01:00
Albert 9ade1138c8
Fix pb line (#4078) albertying
* Fix pb line

* Remove comment

* Refactor to remove rebundant code
2023-03-17 11:46:47 +01:00
Miodec 9d5f8e3559 new refresh logic 2023-03-16 22:52:07 +01:00
Miodec a1d00416c3 Merge branch 'master' into newads 2023-03-16 15:39:29 +01:00
Miodec a04768bbfa temporary account history graph fix 2023-03-16 15:39:19 +01:00
Miodec 3fb761d3ee loggign ad provider to prometheus 2023-03-16 14:43:54 +01:00
Miodec e97db0cb5a Merge branch 'master' into newads 2023-03-16 14:36:53 +01:00
Miodec 29cdae85d5 quote reports 2023-03-16 13:16:21 +01:00
Miodec 6173933972 fixed short cutom texts not working correctly with plus n funboxes 2023-03-16 13:07:49 +01:00
Albert 7ed088a13e
Account graph (#4049) albertying
* Create graph with ao10, ao100, and pb

* Display best ao10 and 100

* Fix ts errors

* Remove old graph

* Remove smoothing slider and toggle chart style button

* Clean up code

* Populate graph if chartData > 0

* Fix filter not displaying data correctly

* Fix wpm cpm labels

* Update colors using theme colors

* brought back accuracy averages

* different colors

* Add toggle ao10 and ao100

* Change opacity based on toggles

* Persist on refresh

* Fix accountActivity chart point color not updating when changing theme in the command line

* Refactor

* Keep pb color consistent

* removed dot

* smaller buttons, in one row, media queries

* hiding bottom scale

* connected the config properties into 1

* Refactor

* Combine into one loop

* cleanup
removed unused functions
reduced repeating code
removed comments
removed console logs

* removed highest avg 10 and 100 stats

* sweep

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-03-16 12:57:47 +01:00
Rob Sassack 239c43f240
Added plus three funbox (#4076) robsassack 2023-03-16 12:55:36 +01:00
__filename 222e508e21
chore(keymap): added mongolian keymap (#4075) filename24
* chore(keymap): added mongolian keymap

* fix(keymap): removed duplace keymap
2023-03-15 16:35:08 +01:00
IndigoWilke a2c66245a4
Added swedish with words all containing å, ä or ö. (#4072) IndigoWilke
* Added swedish with words all containing å, ä or ö.

* Changed name of lanugage to swedish_diacritics
2023-03-15 16:34:30 +01:00
Albert a56b2fc131
Change spelling of neighbouring to neighboring (#4074) albertying
* Change spelling of neighbouring to neighboring

* Add neighbouring to british english
2023-03-15 11:04:43 +01:00
Miodec abf5081a6a updated one thai layout 2023-03-14 15:45:14 +01:00
Ed c2f94f234f
Added 3 quotes to spanish.json (#4068) EDUJOS 2023-03-14 13:06:47 +01:00
Miodec d518f8f89e fixed local 'tests started' stat being wrong 2023-03-14 12:13:14 +01:00
Miodec 1545960215 applying burst heatmap when changing theme 2023-03-14 12:00:36 +01:00
Miodec 3363eaef50 added function to destroy all
destroying all on leaving result page
changed render result code
2023-03-13 21:32:12 +01:00
Miodec 504859671f ad result change 2023-03-13 21:06:49 +01:00
Miodec a39abdc709 Merge branch 'master' into newads 2023-03-13 14:29:30 +01:00
Miodec c8f2d25364 added custom layoutfluid timer countdown 2023-03-13 14:15:18 +01:00
Miodec aafbfce74e fixed zipf notification not showing
closes #4067
2023-03-13 13:58:54 +01:00
Miodec 07ef4fe243 moved update words height before update active element
moved update caret position outside the words height function
closes #4064
2023-03-13 13:56:24 +01:00
Miodec a193fad107 Merge branch 'master' into newads 2023-03-13 13:35:17 +01:00
Miodec 3e233d9bd9 fixed custom theme editing saving colors in the wrong order 2023-03-13 13:34:48 +01:00
Ryan Bigg 9378d269ee
Correct 'Two Little Words' quote (#4066) radar 2023-03-13 13:29:07 +01:00
QuevDev d6749c38f4
Added 6 quotes to english.json (#4065) quev-dev 2023-03-13 13:26:32 +01:00
Miodec 759d9f727e fixed share custom theme not sharing colors in the right order 2023-03-13 12:33:17 +01:00
Miodec 62205b8548 mixed dracula bubbles being wrong 2023-03-13 12:26:10 +01:00
Miodec c4922c9030 Merge branch 'master' into newads 2023-03-10 16:07:14 +01:00
Miodec 00646da6fe removed single quotes from slovak punctuation 2023-03-10 16:06:58 +01:00
Miodec c70567e9b1 using different colors if main and text are the same
closes #4060
2023-03-10 14:25:11 +01:00
Miodec 104170c295 updated dracula theme to avoid using the same color for main and text 2023-03-10 14:25:11 +01:00
Nolan 108fefd481
added cherry blossom theme (#4057) mushytoast
* Create cherry_blossom.css

* Update _list.json

* updated sub alt color

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-03-10 14:22:42 +01:00
lelazsq cd16b2fbf5
add maya and nila layouts (#4059) lelazsq 2023-03-10 14:20:48 +01:00
Dainternetdude 5b0cd44d5f
add three quotes to english (#4062) dainternetdude 2023-03-10 14:17:27 +01:00
Dainternetdude e2475645fd
remove "tion" from english 10k (#4058) 2023-03-09 14:51:58 -06:00
Miodec b46fa16785 customizable opacity 2023-03-09 15:29:28 +01:00
Miodec 414ea1db43 Merge branch 'master' into newads 2023-03-09 13:18:49 +01:00
Miodec 438a1e5ac7 fixed plus n funboxes breaking custom text shorter than n+1 words 2023-03-09 13:14:34 +01:00
Miodec d239c8b12f quote reports 2023-03-09 12:56:50 +01:00
Miodec fdbd5b1b84 removed some old code that was stopping test restarts with quick restart disabled 2023-03-09 12:38:59 +01:00
Miodec 6ad52aa347 fixed custom theme colors being saved in the wrong order 2023-03-09 12:24:43 +01:00
Miodec a619c0410b scrolling window to the top when taking a screenshot 2023-03-09 12:17:03 +01:00
Miodec d8344672eb removed console log 2023-03-09 12:04:02 +01:00
Nolan 8b21be4326
Update code_luau.json (#4054) MushyToast 2023-03-09 11:30:52 +01:00
Miodec b3391135ce cookie check 2023-03-09 00:29:11 +01:00