Commit graph

9145 commits

Author SHA1 Message Date
Miodec 70bf4d7d3c Merge branch 'master' into newads 2023-04-05 10:41:29 +02:00
Miodec 8f0f63182e logging version 2023-04-05 10:41:01 +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 8e7f966fc7 added min value 2023-04-03 14:52:54 +02:00
Miodec 1205b5cfd4 moved key stats up,
moved hash check down
2023-04-03 14:52:34 +02:00
Miodec 9f99e1ee37 added todo 2023-04-03 14:51:51 +02:00
Miodec 13fff606d0 array type 2023-04-03 13:22:25 +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