Commit graph

2350 commits

Author SHA1 Message Date
Miodec
cb9a54810d last key to end is 0 if in zen mode 2023-04-06 02:00:48 +02:00
Miodec
eedb92d77f sending chartotal to the backend 2023-04-06 01:39:44 +02:00
Miodec
4160e82fa8 better spacing debug 2023-04-05 23:49:38 +02:00
Miodec
1a47ca9b00 added start to first 2023-04-05 18:27:17 +02:00
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
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
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
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
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
45df3175c0 removed arrays from logs 2023-03-28 20:54:25 +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
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
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
c9f5934808 resetting keysobj 2023-03-28 16:26:55 +02:00
Miodec
7e0c56b381 resetting value 2023-03-28 15:59:09 +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
0a259d7eb3 resetting 2023-03-28 15:08:51 +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
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
Duncan Sutherland
13b9c2b2ce
Correct Gallaya* layouts (#4117) dunk2k
- `tT` was missing
- `sS` moved to intended position
2023-03-27 16:13:58 +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