Commit graph

990 commits

Author SHA1 Message Date
Brian Evans 86d7207c39
Update privacy-policy to reflect mongodb (#2552)
Data is now stored in MongoDB, so I updated the privacy policy to reflect this change. Also updated the "last updated" date.
2022-02-21 13:57:02 +01:00
Miodec 6cf1f06d0d temporairly accepting both strings and numbers 2022-02-21 13:56:25 +01:00
Miodec 251b7234a4 fixed showavg duplication 2022-02-21 13:46:00 +01:00
Miodec 725e51e9a5 added -2 to the list of allowed quotelengths 2022-02-21 13:36:15 +01:00
Miodec 0668a8cfdc fixed challenge schema 2022-02-21 13:26:55 +01:00
Miodec 6c307f0d78 sending nosave 2022-02-21 03:14:22 +01:00
Miodec b59392cf1c moved average 2022-02-21 02:52:54 +01:00
Octahedron a0f911961f
added "show average" setting (#2551) by octahedronv2
* added "show average" setting

hopefully this doesn't break everything :)

* Delete config-schema.js

* Delete commandline-lists.ts

* Delete config.ts

* Delete db.ts

* Delete index.html

* Delete modes-notice.ts

* Delete settings.ts

* Delete types.d.ts

* added show average setting

* changed the capitalization of ONE character

* Rounded the wpm calculation when mode is PB or AVG

* Only display average if user is logged in

* Only display average if wpm > 0

and by extension, only when the user is logged in.

* changed look of average display

Co-authored-by: Jack <jack@monkeytype.com>
2022-02-21 02:49:33 +01:00
Miodec 96bb69f765 parsing to int 2022-02-21 02:48:06 +01:00
Miodec 8e6af5b6d2 converted to ts 2022-02-21 02:18:09 +01:00
Miodec bfb869ddc9 incorrect type 2022-02-21 02:13:48 +01:00
Miodec 684e3cb456 converted to ts 2022-02-21 01:28:42 +01:00
Miodec e65f514a45 using challenge type 2022-02-21 01:24:45 +01:00
Miodec d6ef4b5f9d more consistent schema 2022-02-21 01:24:33 +01:00
Miodec 1bca0a3734 moved challenge type to MonkeyTypes, fixed challenge type 2022-02-21 01:24:18 +01:00
Miodec 99b92ea947 fixed average pace not displaying correctly 2022-02-21 01:01:00 +01:00
Miodec b03209ce0d removed console log 2022-02-21 01:00:40 +01:00
Miodec f698158dea unnecessary function call 2022-02-21 00:57:18 +01:00
Ferotiq 4ea967d677
Add Config Validation to Every Config Value (#2542)
* add what I got so far

* add validation for the rest of the config settings

* some changes

* fix font size, tested all config settings

* add arrow function back

* change font size type

* change font size type

* Revert "change font size type"

This reverts commit fc6f0e78a4.

* merge
2022-02-20 19:30:15 +01:00
Miodec 9242b6e1a8 increased gap 2022-02-20 17:15:07 +01:00
Miodec e93fe5aa9d removed unnecessary property 2022-02-20 17:13:08 +01:00
Miodec 90b50ff4ca hiding background filters when custom background is not set 2022-02-20 17:10:36 +01:00
Miodec 775fe34851 added auto switch theme
allows auto switching between light and dark theme based on system theme
closes #2088 and #1629
2022-02-20 17:07:02 +01:00
Miodec 2c9125124c increased margin 2022-02-20 16:13:54 +01:00
Miodec 840ae262c2 changed the styling of active settings in select2 2022-02-20 15:41:10 +01:00
Miodec baf276dae3 added small gap for readability 2022-02-20 15:36:05 +01:00
Miodec 52b426957b wider slider thumbs 2022-02-20 15:35:22 +01:00
Miodec d6ce31161a fixed quote lengths 2022-02-20 15:03:15 +01:00
Miodec 2cd87df040 fixed length fields 2022-02-20 14:49:53 +01:00
Miodec 07d9901967 fixed length fields 2022-02-20 14:48:48 +01:00
Miodec a4ff6cbaab added quote length validation 2022-02-20 14:45:00 +01:00
Miodec 65f2f369bf Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-02-20 14:31:30 +01:00
Miodec 4ef34817ae added 'export csv' button to the account page
(only exports filtered results)
closes #919
2022-02-20 14:30:41 +01:00
arda-a b1098c553e
layout update : whorfmax fine-tuning on index finger, swapped 'v' and 'y' (#2546)
- enabled alt-fingering for 'ty' and 'typ'
- 'ly' bigram is easier
2022-02-20 13:20:40 +01:00
xiao f5cfb116ec
Fixed grammar. (#2541) 2022-02-19 22:03:46 -06:00
Miodec dba083d1e9 fixed quote length filters not selecting correctly 2022-02-20 02:41:18 +01:00
Miodec 43562ea375 setting to custom if config is not default 2022-02-20 02:30:29 +01:00
Miodec a02772b4d4 fixed config buttons not selecting 2022-02-20 02:26:46 +01:00
Miodec e76c545b57 fixed keymap legend style resetting when changing keymap layout 2022-02-20 02:11:50 +01:00
Miodec 759f19c0ed fixed bump being on the wrong key 2022-02-20 02:08:26 +01:00
Miodec 543f417406 changed default chart animation length 2022-02-20 02:04:31 +01:00
Miodec 4d5c4dacbb added smoothing slider to the account page
closes #2470
2022-02-20 01:52:39 +01:00
Miodec 5e578c6e32 removed unused parameter 2022-02-20 01:51:58 +01:00
Miodec c0677890ce temporary message fix before api overhaul is complete
closes #2531
2022-02-20 00:03:11 +01:00
Miodec 3891ddbe14 moved dependencies to frontend 2022-02-19 22:30:41 +01:00
Miodec 728a28c0b3 converted theme controller to ts 2022-02-19 22:17:23 +01:00
Miodec 370a873e60 converted verification controller to ts 2022-02-19 22:06:48 +01:00
Miodec a2ecc054d4 converted tag controller to ts 2022-02-19 22:03:06 +01:00
Miodec ba992a0632 fixed incorrect type 2022-02-19 22:01:42 +01:00
Miodec 9fc2675c6a converted sound controller to ts 2022-02-19 21:56:58 +01:00
Miodec 12f1f294c7 converted route controller to ts 2022-02-19 21:50:06 +01:00
Miodec f4c12dc19b converted preset controller to ts 2022-02-19 21:36:03 +01:00
Miodec f17ae684fb added preset config type 2022-02-19 21:35:47 +01:00
Miodec 67c16ec153 casting as string 2022-02-19 21:35:21 +01:00
Miodec 2e398ba2a2 using type for page name 2022-02-19 21:29:38 +01:00
Miodec 695300289e converted page controller to ts 2022-02-19 21:29:18 +01:00
Miodec 1549eb5aa1 fixed stuck on loading page when not logged in 2022-02-19 21:28:47 +01:00
Miodec 2f6534f8a8 setting page transition earlier 2022-02-19 21:12:13 +01:00
Miodec a008fef06c fixed page changing twice on sign out 2022-02-19 21:10:03 +01:00
Miodec 9fe003aeab using console trace instead 2022-02-19 20:57:00 +01:00
Ferotiq c1a3146765
add ready.ts (#2539) 2022-02-19 18:14:08 +01:00
Ferotiq 71cdce20e3
TypeScript FrontEnd: Add Account Files (#2494)
* add account files, config, and db, fix other files, and make lint script work on cmd

* fuck operating systems

* remove project from eslint

* Merging and fixing some bugs

* fixed result ordering

* fixed quote filter stopping all results

* fixed words filter not working

* corrected type

* Update commandline-lists.ts

* Update types.d.ts

* removing explicit tag types

* mfing prettier

* small changes

* stuff

* fixes

* fix cannot read properties of undefined

* another check just to be safe

* okay that works

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-02-19 17:44:27 +01:00
Miodec c3825ab54e reworked leaderboards media queries. should fix #2488 2022-02-19 15:52:14 +01:00
Miodec 3caeb3fcdd fixed broken watches 2022-02-19 15:30:22 +01:00
Miodec 8cba5120c3 fixed scss task not running 2022-02-19 15:12:35 +01:00
Miodec c0a6fc2430 disabling funbox when loading challenge 2022-02-19 13:54:11 +01:00
Miodec 5046863e30 fixed account page result sorting not working 2022-02-19 13:42:37 +01:00
Miodec af6e8867aa updating modes notice while its invisible 2022-02-19 13:37:50 +01:00
Miodec fa41ccc8e9 remembering lazy mode setting and automatically setting it back to enabled if language supports it 2022-02-19 13:37:25 +01:00
Miodec df35476668 including nosave in configevent dispatch 2022-02-19 13:36:17 +01:00
Miodec bf3e3d4da6 missing types 2022-02-18 23:41:51 +01:00
Jack 432fedb3c0
Pr-check 2022-02-18 19:25:33 +01:00
Miodec c9b9e2705a added tasks for pr check that only run certain tasks
part of #2527
2022-02-18 18:14:39 +01:00
Miodec 5d0c5998d2 moved json validation to its own file 2022-02-18 18:08:22 +01:00
Miodec 8b1698d1a3 deleted unused file 2022-02-18 18:03:03 +01:00
Jack e4a7c8b5e9
Layouts rewrite (#2529)
* added types

* converted qwerty to new format

* added type

* removed keymap structure

* updated space styling

* fixed keymap types

* removed type

* initial keymap element building (only supports staggered for now)

* using id instead of class

* using id

* moved class changes to the keymap file

* fixed matrix key count

* fixed split and matrix layouts

* fixed alice

* removed unused code

* removed unused code

* converted layout emulator to new format

* removed unnecessary field

* using type

* added layout

* added default layout

* added alias

* converted key flashing to new logic

* using new logic

* using new logic in mode next

* fixed iso alice

* converted some layouts

* added layouts json

* added functions to get layouts

* made getlayout synchronous

* updated layout types

* using new function

* added layout json schema validation
closes #2516

* converted ansi layouts to the new format

* modified schema

* fixed the rest of the layouts

* switched function back to async
2022-02-18 18:02:35 +01:00
Miodec 63ffda4bc6 updated result filters type 2022-02-18 13:59:55 +01:00
Miodec d5d75f912b unnecessary 200 filter 2022-02-18 13:57:25 +01:00
Ferotiq 61ac178364
capitalize the first letter of each word in the string (#2525) 2022-02-18 11:57:23 +01:00
Miodec f6d8233468 restarting test after enabling practise words. closes #2523 2022-02-18 00:37:04 +01:00
Miodec c85b644b88 added json schema validation. part of #2516 2022-02-17 23:36:40 +01:00
Miodec 211f191340 typo 2022-02-17 23:25:31 +01:00
Miodec 6b5a4558b3 removed quote 2022-02-17 23:14:25 +01:00
Miodec 7e0e972571 unique id 2022-02-17 23:11:37 +01:00
Miodec 7ee599b7e4 unique ids 2022-02-17 23:10:35 +01:00
Miodec 058ce89828 typo 2022-02-17 23:03:55 +01:00
Miodec f37656556f renamed file 2022-02-17 23:03:39 +01:00
Miodec b4208dcc9d typo 2022-02-17 23:02:59 +01:00
Miodec cf79d70c5d fixed json schema 2022-02-17 22:36:29 +01:00
Mehdi Hussain dfc4dd4b0b
Add New Quotes (#2520)
* Added New Quotes

* Add More Quotes
2022-02-17 15:11:03 +01:00
howmanysmall 5bee5e3a04
Added support for the Lua and Luau languages. (#2519)
* Added Lua support.

* Updated other `.json` files.

* Added support for Luau.
2022-02-17 11:58:04 +01:00
Miodec 1063df32a0 converted to ts 2022-02-16 20:18:21 +01:00
Miodec e9547cd8f6 converted to ts 2022-02-16 20:15:18 +01:00
Miodec a4658aa15d converted to ts 2022-02-16 20:14:47 +01:00
Miodec 5abc9cd8a8 converted to ts 2022-02-16 20:14:02 +01:00
Miodec 2e27b7b4c6 converted to ts 2022-02-16 20:12:50 +01:00
Miodec bfceda9867 converted to ts 2022-02-16 19:43:38 +01:00
Miodec 30cd260512 converted to ts 2022-02-16 19:42:20 +01:00
Miodec 99e24a92a1 converted to ts 2022-02-16 19:39:20 +01:00
Rizwan Mustafa 9ae8611440
Frontend Typescript: Convert theme-picker.js to ts (#2509)
* Convert theme-picker.ts to typescript

* Renamed _ to _index and removed commented code

* Used const instead of let for themeColors
2022-02-16 12:44:12 +01:00
Miodec f9407f8263 converted to ts 2022-02-15 22:26:04 +01:00
Miodec 1c619b017e converted to ts 2022-02-15 22:20:33 +01:00
Miodec a95b34b35f removed module ts-ignores 2022-02-15 22:14:11 +01:00
Miodec 3b97455cfc converted do ts 2022-02-15 22:08:01 +01:00
Miodec da6100cae2 added mising type 2022-02-15 22:07:48 +01:00
Bruce Berrios 31b9530fe8
Fix typescript config (#2511)
* Fix typescript config

* Remove unneccssary declares

* updating colors if undefined

* using new function

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-02-15 21:26:23 +01:00
Miodec ad1b3254af converted to ts 2022-02-15 17:08:12 +01:00
Miodec 77f9a484a5 fixed commands types 2022-02-15 17:08:05 +01:00
Miodec 6b2396ae55 converted to ts 2022-02-15 15:48:10 +01:00
Miodec ff9fad196d close callback is optional 2022-02-15 15:48:01 +01:00
Miodec 7e46f2090f using new function 2022-02-15 15:46:45 +01:00
Miodec ac8bd2fdcd converted to ts 2022-02-15 15:46:36 +01:00
Miodec dd866b0c53 added theme colors datatype 2022-02-15 15:46:22 +01:00
Miodec 116551de16 converted to ts 2022-02-15 15:40:26 +01:00
Miodec 2ab2c3530c converted psa to ts 2022-02-15 15:40:02 +01:00
Miodec 2769255a2b converted monkey power to ts 2022-02-15 15:39:52 +01:00
Miodec 4654a8d55f added psa data type 2022-02-15 15:39:40 +01:00
Miodec 79943a67d8 converted modes notice to ts 2022-02-15 15:26:45 +01:00
Miodec b3fe51c30b converted leaderboards to ts 2022-02-15 15:13:56 +01:00
Miodec 119956dfa3 added leaderboards structure 2022-02-15 15:13:29 +01:00
Miodec c42241c386 converted keymap to ts 2022-02-15 14:31:56 +01:00
Timothy Gibbons 8f22781b36
Added Poems (#2493)
* Added Poems

- "The Seal Lullaby" - William Carlos Williams
- "The Red Wheelbarrow" - Rudyard Kipling

* Added Poems

- "The Seal Lullaby" - William Carlos Williams
- "The Red Wheelbarrow" - Rudyard Kipling

* Fix ID

* Fix Grammar

* Added Full Stop
2022-02-15 14:06:46 +01:00
sombre-hombre 4609941e9c
Fixed typos in russian quotes (#2508) 2022-02-15 14:06:04 +01:00
Miodec c841c5f71e Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-02-14 20:24:59 +01:00
Miodec 72d4cf576c fix for word count and time filters not working 2022-02-14 20:24:54 +01:00
Miodec 3e382a0bd2 added global 2022-02-14 20:23:10 +01:00
Rizwan Mustafa 15eab37068
Frontend Typescript: Convert language-picker.js to typescript (#2499)
* Moved LanguageGroup type to interface file

* Converted language-picker.js to typescript

* Commented language-picker stuff since moved to combo-box

* Replaced Types with MonkeyTypes
2022-02-14 19:13:12 +00:00
Miodec ed76a77397 fixed typo causing custom theme inputs to be broken
closes #2502
2022-02-14 19:38:59 +01:00
Miodec 994d1bc609 actually using the converted values 2022-02-14 17:01:43 +01:00
Miodec 03c2d1db50 converting to float just in case 2022-02-14 16:57:47 +01:00
Miodec 56821cd236 always showing language notice 2022-02-14 01:52:55 +01:00
Miodec fd2daf3c50 converted settings group to ts 2022-02-14 00:03:36 +01:00
Miodec daf6b53dc9 fixed custom background filter errors 2022-02-14 00:03:27 +01:00
Miodec 723cd10d5f ts fixes 2022-02-13 23:28:54 +01:00
Miodec 0550452b12 converted 2 files to ts 2022-02-13 23:26:41 +01:00
Bruce Berrios 546fc225e3
Remove quote (#2495) 2022-02-13 23:24:10 +01:00
Miodec 4d1e4c7f2f added another quote to input controller 2022-02-13 22:22:06 +01:00
Ferotiq d152eec6b5
MonkeyTypes > Types (#2491) 2022-02-13 20:29:09 +01:00
Ryan Zhang a9d2ff7314
New Quote: Python (#2490)
Bubble sort and Linear Search code from geeksforgeeks
2022-02-13 18:35:26 +01:00
Ferotiq 319e179600
TypeScript FrontEnd: Some Changes (#2486)
* some changes

* f*** you select2

* Change type roots

* hopefully work

* change commonjs to es6

* parserOptions.project

* as;dfllaksdkjsadadfsldkjsfkdljdsfafdsk;alfsdjf
2022-02-13 18:35:06 +01:00
Miodec c255f08126 fixed malayam text rendering. closes #2489 2022-02-13 16:30:23 +01:00
Miodec 4aa7947db0 updated personal bests type 2022-02-13 00:43:10 +01:00
Miodec 78944f69b2 moved dev dependencies 2022-02-13 00:30:35 +01:00
Miodec 97b77d7a0a removed loader ignores 2022-02-13 00:24:02 +01:00
Miodec 1d6882b47b removed notification ignores 2022-02-13 00:22:47 +01:00
Miodec e31a81d18d converted loader to ts 2022-02-13 00:17:07 +01:00
Miodec d20d9df5dc converted notifications to ts 2022-02-13 00:16:47 +01:00
Miodec 66997a1788 index to ts 2022-02-13 00:10:19 +01:00
Miodec 0101eb5d07 remoed ignore from converted modules 2022-02-13 00:05:46 +01:00
Ferotiq 37ce1f0af5
Make mode 2 generic (#2485) 2022-02-12 23:57:02 +01:00
Miodec 4f270b6a7d added zen 2022-02-12 23:44:12 +01:00
Miodec 7bf0a95195 added custom personal bests 2022-02-12 23:33:03 +01:00
Miodec c6c9408f55 updated type 2022-02-12 23:22:12 +01:00
Miodec 8421293f23 applying preset saves tag state 2022-02-12 22:51:07 +01:00
Miodec 5431a8eeba converted popups to typescript 2022-02-12 22:50:05 +01:00
Miodec a28c665bb0 typo 2022-02-12 22:49:52 +01:00
Miodec dc3d58e1c8 missing type 2022-02-12 22:41:43 +01:00
Miodec e2d7a19c08 missing type 2022-02-12 22:41:29 +01:00
Bruce Berrios eb2350bb1f
Move dependencies (#2483)
* Move dependencies

* Fixes

* Add stale pr action

* Update

* Fix cron schedule
2022-02-12 15:02:29 -05:00
Miodec 8b638e8a4a converted pages directory to typescript
part of #2431
2022-02-12 19:43:10 +01:00
Miodec 115eca71ca missing type 2022-02-12 19:16:00 +01:00
Miodec 50d71388f3 fixed type 2022-02-12 18:49:36 +01:00
Miodec 9329487bcb difficulty is required 2022-02-12 18:03:14 +01:00
Miodec b49e4b890b updated result type 2022-02-12 18:02:30 +01:00
Miodec 3a1de8d64f incorrect mode2 type 2022-02-12 17:51:57 +01:00
Miodec 632808bf23 converted custom text to ts 2022-02-12 17:49:29 +01:00
Miodec 695ddfac5e incorrect type definition 2022-02-12 17:46:54 +01:00
Miodec 8d8232ff4f added legacy parameters
incorrect tags type
missing optional "toolong"
2022-02-12 17:46:28 +01:00
Ferotiq dcbdca0990
Some fixes (#2478)
* Some fixes

* Add dep-graph script, fix keyboard icon not restarting test

* remove my keyboard icon fix, force ===

* Revert "remove my keyboard icon fix, force ==="

This reverts commit 481316a7da.

* revert page fix

* fix mio's smooth brain
2022-02-12 16:53:00 +01:00
Miodec f9edda5412 removed transpile step 2022-02-12 16:40:59 +01:00
Bruce Berrios 6a7f7b3b99
Webpack fix (#2481)
* fix webpack config

* Update prod config
2022-02-12 16:33:39 +01:00
Miodec 56c9f41fd0 using correct destination path 2022-02-12 16:27:49 +01:00
Miodec 202868269e renamed js folder to scripts
renamed sass folder to styles
moved types folder inside scripts
2022-02-12 16:25:53 +01:00
Miodec 71a929fbce moved types folder 2022-02-12 14:49:57 +01:00
Rizwan Mustafa 1877cc31e7
(Draft) Replace Browserify with Webpack (Draft) (#2461) by rizwanmustafa
* Replaced browserify with webpack

* Modified gulpfile and webpack config

* Removed attempts of using undefined variables and functions

* fixed some incorrect changes

* setfunbox fix

* Added fallback for crypto-browserify and stream-browserify

* added circular dependency detection

* Created production tasks for gulp and updated webpack config

* fixed circular dependency in misc

* not failing on circular dependency

* Removed unused imports

* Added babel loader and plugins to webpack

* Removed unused dependencies and removed babel's plugins

* Workaround for test logic import in random quote

* Created a separate webpack config file for production

* Changed relative paths to absolute ones in webpack

* Added colored output for circular import number

* Removed comment from .eslintrc.json

* Added eslint plugin to webpack

* Moved 'buffer' and 'stream-browserify' to devDependencies

* Started using promises in webpack tasks

* Removed unused dependencies

* Updated package-lock.json

* Removed eslint plugin from webpack and added circular dependency detection in dev config as well

* Removed unrelated changes

* Updated production build command

* Added ability for webpack to be run with typescript conversion of project in process

* added gulp typscript dev dependency

* using const

* modified console logs on circular imports

* missing dev dependency

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-02-12 14:47:36 +01:00
Miodec ddaf20e771 removed function call 2022-02-12 14:12:20 +01:00
Miodec d07126f10e moved ignore down 2022-02-12 14:11:26 +01:00
Miodec ba3427f94b converted misc to ts 2022-02-12 14:10:54 +01:00
Miodec 41e14fe652 added moment 2022-02-12 14:07:19 +01:00
Miodec bb918ce3d1 let instead of var 2022-02-12 13:50:08 +01:00
Miodec 4ed3bef8da restarting test if keyboard icon or logo clicked
closes #2474
2022-02-12 13:45:54 +01:00
Miodec cb9a07e0c2 fixed theme buttons duplicating
closes #2477
2022-02-12 13:36:17 +01:00
Miodec 6e9e400748 missing import 2022-02-12 13:18:18 +01:00
Miodec dbe6aa1586 added missing imports
closes #2480
2022-02-12 13:15:24 +01:00
Rizwan Mustafa 2035883637
Frontend Typescript: Convert ui.js to typescript (#2479)
* Converted ui.js to typescript

* Replaced 'var' with 'let'
2022-02-12 13:07:15 +01:00
Miodec 4ed0075ad4 typo 2022-02-12 00:26:15 +01:00
Miodec a31d73a2b3 replaced vars with lets 2022-02-11 23:40:02 +01:00
Miodec bfdd86b7e8 missing return type 2022-02-11 23:39:28 +01:00
Miodec 63d9287a3a using one eslint config 2022-02-11 23:34:40 +01:00
Miodec 03ff40ca52 converted observables to ts
part of #2431
2022-02-11 22:50:32 +01:00
Miodec d1a25799f6 removed unused file 2022-02-11 22:36:10 +01:00
Miodec a480ba077b converted state files to typescript
part of #2431
2022-02-11 22:34:23 +01:00
Miodec b5996ef4e9 fixed zen mode not working 2022-02-11 22:14:32 +01:00
Miodec d2c88e26bc updating on the next event loop 2022-02-11 22:07:56 +01:00
Miodec 5d8ef4ac09 added click handler to update account page 2022-02-11 22:06:32 +01:00
Miodec 751c7992bc removed console log 2022-02-11 21:53:45 +01:00
Miodec ad530b751f hiding keymap 2022-02-11 21:42:59 +01:00
arda-a 1cce0a1dc6
bugfix: double 'k' on whorfmax layouts are fixed (#2473) 2022-02-11 21:42:35 +01:00
Miodec 26f55816b8 fixed funbox button highlighting
disabled config event when intialising groups
2022-02-11 21:34:20 +01:00
Miodec 1f5500f4bf removed console log 2022-02-11 21:21:19 +01:00
Miodec a8227b0134 reworked how funbox is applied
removes circular dependency
closes #2462
2022-02-11 21:15:43 +01:00
Miodec 5619f9a5ae replaced undefined with false 2022-02-11 20:36:11 +01:00
Miodec 8bffd349e1 added new function to clear funbox 2022-02-11 20:34:32 +01:00
Miodec b49d490cc1 removed dependency by moving code
part of #2462
2022-02-11 20:14:20 +01:00
Miodec 2a4ecba9bf moved active challenge to test state
fixes 1 circular dependency
part of #2462
2022-02-11 20:07:30 +01:00
Miodec eb49521132 missing update 2022-02-11 20:00:45 +01:00
Miodec ef8948578a unnecessary function call
fixes 1 circular dependency
part of #2462
2022-02-11 19:58:08 +01:00
Miodec 77b835a023 moved get data function to account controller
fixes 2 circular dependencies
part of #2462
2022-02-11 19:56:06 +01:00
Miodec a5e678d291 removed comment 2022-02-11 19:49:17 +01:00
Miodec 16ebc21ebd removed unnecessary code 2022-02-11 19:48:46 +01:00
Miodec baf45b00bd fixed 1 circular dependency
part of #2462
2022-02-11 19:42:30 +01:00
Rizwan Mustafa 66194e6220
Fixed circular dependency between practice-words and test-logic (#2472)
* Fixed circular dependency

* Fixed circular dependency between test-logic and practice-words
2022-02-11 19:24:52 +01:00
Miodec 6a2060106c converted focus to ts 2022-02-11 19:15:44 +01:00
Sondre Kjempekjenn 26c57d2ad3
Compile both JS and TS (#2464) by sondrekje
* Compile both JS and TS

Builds upon Ferotiq's PR

* Compile both JS and TS

Builds upon Ferotiq's PR

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-02-11 19:02:21 +01:00
Miodec db1aef58cc fix 2022-02-11 18:37:07 +01:00
Rizwan Mustafa fe5d9de742
Fixed circular dependency (#2471) 2022-02-11 18:36:20 +01:00
Miodec 075000d554 disabling config event from commandline 2022-02-11 18:15:20 +01:00
Miodec 8542dcc9b8 added variable to disable config event
fixes lag when applying config
2022-02-11 18:11:04 +01:00
Miodec c8b3852739 reacting to every config event if active page is settings 2022-02-11 17:29:45 +01:00
Miodec 10879ce852 removed document ready when subscribing to events 2022-02-11 17:27:12 +01:00
Miodec 2b6adfd46a added timer event
removes 1 circular dependency
part of #2462
2022-02-11 17:08:07 +01:00
Miodec 913bed3352 removed dependency by moving function to another module
part of #2462
2022-02-11 17:05:01 +01:00
Miodec c55d3318f4 dispatching configApplied event
removes dependency
fixes 2 circular dependencies
part of #2462
2022-02-11 16:55:10 +01:00
Miodec fe38315f24 moved config event into its own module
part of #2462
2022-02-11 16:51:23 +01:00
Miodec 3a3558ef17 added page transition state module
fixes 6 circular dependencies
part of #2462
2022-02-11 16:30:22 +01:00
Miodec 2878fb03e0 removed dependency by moving click handlers
part of #2462
2022-02-11 16:23:03 +01:00
Miodec 58ac17fa1e moved glarses into its own state module
fixes 1 circular dependency
part of #2462
2022-02-11 16:21:17 +01:00
Miodec 8b6e52e721 removed dependency by moving click handler
fixes 1 circular dependency
part of #2462
2022-02-11 16:17:13 +01:00
Miodec 8916573d87 removed dependencies by moving click handlers
part of #2462
2022-02-11 16:15:19 +01:00
Miodec c00730386e awaiting before show 2022-02-11 16:11:23 +01:00
Miodec 9314409646 updating on button press 2022-02-11 16:11:13 +01:00
Miodec 10f04fa402 moved settings tip update 2022-02-11 16:10:16 +01:00
Miodec d5aa5001d0 completely reworked how page controller works
page change is now generic and pages store their own callback functions
active page now stores page name instead of element name
adds 1 circular dependency. rip
part of #2462
2022-02-11 15:59:20 +01:00
Miodec 833059b18f removed dependency
fixes 1 circular dependency
part of #2462
2022-02-11 14:13:24 +01:00
Miodec 53f494f37e moved click handler
fixes 1 circular dependency
part of #2462
2022-02-11 14:08:19 +01:00
Miodec 457117a03c moved click handler
removes 1 circular dependency
part of #2462
2022-02-11 14:04:39 +01:00
Miodec a2558bfc9e removed dependency by moving click handler
part of #2462
2022-02-11 14:03:46 +01:00
Miodec 51ec0ffec8 removed dependency by moving click handler
part of #2462
2022-02-11 14:02:29 +01:00
Miodec b0bc26c90c removed dependency by moving click handler
part of #2462
2022-02-11 14:01:08 +01:00
Miodec bf3ad6be2a removed dependency by moving code to a different module
part of #2462
2022-02-11 13:59:28 +01:00
Miodec 23823527e8 moved modes notice into its own module 2022-02-11 13:54:38 +01:00
Miodec 8fd7e508cf added test state
part of #2462
2022-02-11 13:47:34 +01:00
Miodec c8139ae13d added page controller
part of #2462
2022-02-11 13:34:26 +01:00
Miodec 1c8337fdf7 moved bailout to another module
fixes 1 circular dependency
part of #2462
2022-02-11 13:24:03 +01:00
Miodec 5103ef1b26 moved wpm raw and burst history to another module
removes some dependencies
2022-02-11 13:18:52 +01:00
Miodec 788897fcf2 removed dependencies by moving click handlers
part of #2462
2022-02-11 13:09:53 +01:00
Miodec c0c0bccc7b only uglifying when building for deployment 2022-02-11 12:46:19 +01:00
Miodec 7ddd3c216e fixed indicate typos replace causing funky behaviour with stop on error 2022-02-11 01:56:35 +01:00
Miodec aab8792cee added escape handlers to popups 2022-02-11 01:53:27 +01:00
Miodec 825a8e2732 removed dependencies
commandline no longer is responsible for closing popups on escape
each popup should handle this in their own module
if a popup is visible commandline keypress handler just stops
fixes 3 circular dependencies
part of #2462
2022-02-11 01:50:00 +01:00
Miodec fe8f8e6851 added popup wrapper to leaderboard 2022-02-11 01:46:06 +01:00
Miodec 1f82d9dff1 removed dependency by moving code 2022-02-11 01:40:08 +01:00
Miodec 7b599a2465 removed dependencies 2022-02-11 01:38:43 +01:00
Miodec a5e842fe91 removed dependency by moving click handlers 2022-02-11 01:34:56 +01:00
Miodec 89221dd325 removed dependencies
fixes 1 circular dependency
part of #2462
2022-02-11 01:22:14 +01:00
Miodec e715c8cd22 removed unnecessary code
fixes 1 circular dependency
part of #2462
2022-02-11 01:18:53 +01:00
Miodec 5de8fa09d1 moved click handlers
fixes 1 circular dependency
part of #2462
2022-02-11 01:16:01 +01:00
Miodec 60b724e1c0 unnecessary code 2022-02-11 01:12:20 +01:00
Miodec cf5198998f added time state
fixes 1 circular dependency
part of #2462
2022-02-11 01:09:15 +01:00
Miodec 86bbc96836 removed dependency
part of #2462
2022-02-11 01:02:41 +01:00
Miodec 28c7d1a613 moved click handler
fixes 1 circular dependency
part of #2462
2022-02-11 00:47:50 +01:00
Miodec 56aaa3dc2a added test words and test input
fixes 6 circular dependencies
part of #2462
2022-02-11 00:45:58 +01:00
Miodec d808d8a2d0 removed self import 2022-02-10 23:51:24 +01:00
Miodec 95a969b147 removed account dependency 2022-02-10 23:49:23 +01:00
Miodec 8b2838e023 removed dependency 2022-02-10 23:48:37 +01:00
Miodec c4139ac44b missing import 2022-02-10 23:39:21 +01:00
Miodec 88fcbfff4e moved click handlers to a different module
fixes 1 circular dependency
part of #2462
2022-02-10 23:38:05 +01:00
Miodec 9c8705b9dc removed unnecessary code 2022-02-10 23:33:07 +01:00
Miodec 099cbe4d8f fixed 1 circular dependency
part of #2462
2022-02-10 23:25:39 +01:00
Miodec a8d0d807f2 moved test active to a state module
fixes 3 circular dependencies
part of #2462
2022-02-10 23:23:19 +01:00
Miodec beac92f399 added try catch to dispatch event 2022-02-10 23:13:27 +01:00
Miodec 2ae7957e37 removed self import 2022-02-10 22:59:17 +01:00
Miodec 1b94710ca4 removed self import 2022-02-10 22:57:26 +01:00
Miodec c38c767d1c subscribing to config event
fixes 2 circular dependencies
part of #2462
2022-02-10 22:51:09 +01:00
Miodec bcde1d6a8d subscribing to config event
fixes 1 circular dependency
part of #2462
2022-02-10 22:49:21 +01:00
Miodec 60b04c1f0c subscribing to config event
fixes 1 circular dependency
part of #2462
2022-02-10 22:47:50 +01:00
Miodec 9967ceb4bd removed unused code
fixes 1 circular dependency
part of #2462
2022-02-10 22:45:23 +01:00
Miodec 7b6d02ba8d subscribing to config event
fixes 8 circular dependencies
part of #2462
2022-02-10 22:43:45 +01:00
Miodec ef3b1d2393 subscribing to config event
part of #2462
2022-02-10 22:41:26 +01:00
Miodec 9ea6377ff2 subscribing to config event
fixes 1 circular dependency
part of #2462
2022-02-10 22:39:27 +01:00
Miodec c6cce3196c subscribing to config event
part of #2462
2022-02-10 22:34:46 +01:00
Miodec 9aacfe8779 subscribing to config events
part of #2462
2022-02-10 22:28:08 +01:00
Miodec b43474b912 subscribing to config event
part of #2462
2022-02-10 22:21:10 +01:00
Miodec bf93703ded subscribing to config event
part of #2462
2022-02-10 22:19:57 +01:00
Miodec dcb04f19e7 subscribing to config event
part of #2462
2022-02-10 22:18:28 +01:00
Miodec 9ec4c72a34 moved function 2022-02-10 22:18:08 +01:00
Miodec 9095c803fb moved function 2022-02-10 22:17:56 +01:00
Miodec afc1a6d02c subscribing to config event
part of #2462
2022-02-10 22:10:57 +01:00
Miodec 026a897f17 subscribing to config event
part of #2462
2022-02-10 22:04:21 +01:00
Miodec 6834e09c91 stopping if word is undefined 2022-02-10 22:04:07 +01:00
Miodec 8dbfa3390f waiting for document to be ready 2022-02-10 22:03:51 +01:00
Miodec b00af827f2 unnecessary code 2022-02-10 21:40:50 +01:00
Miodec b2609bb084 subscribing to config event
part of #2462
2022-02-10 21:40:07 +01:00
Miodec 82e8edbc2f typo 2022-02-10 21:39:12 +01:00
Miodec 6af3e5e89e subscribing to config event
part of #2462
2022-02-10 21:37:42 +01:00
Miodec 51039fdc8d subscribing to config event
part of #2462
2022-02-10 21:36:18 +01:00
Miodec ca58c9e6f6 subscribing to config event
part of #2462
2022-02-10 21:34:28 +01:00
Miodec 90d4fed59e subscribing to config event
part of #2462
2022-02-10 21:29:59 +01:00
Miodec aa2b0eece8 fixes 2022-02-10 21:24:46 +01:00
Miodec 18adf9bf49 subscribing to config event
removed testui dependency
part of #2462
2022-02-10 21:13:51 +01:00
Miodec 073457abc1 added observable event to config 2022-02-10 21:05:14 +01:00
Miodec 87313a5ab5 moved files to new folder 2022-02-10 20:37:57 +01:00
Miodec d92df51a27 added observable util 2022-02-10 20:32:05 +01:00
Miodec e3ca8a131e unnecessary code 2022-02-10 20:02:55 +01:00
Miodec 1f3b938748 moved slow timer into its own module
part of #2462
2022-02-10 19:55:43 +01:00
Miodec 4887b4d913 moved active page into its own module
part of #2462
2022-02-10 19:50:13 +01:00
Miodec 5367accc05 fixed 2 circular dependencies
part of #2462
2022-02-10 19:38:35 +01:00
Miodec bc7eb8a0ca fixed 1 circular dependency
part of #2462
2022-02-10 19:35:24 +01:00
Miodec 0e967bdc20 removed 1 circular dependency
part of #2462
2022-02-10 19:34:13 +01:00
Miodec 744ec677e4 fixed language select not appearing for new users 2022-02-10 19:16:18 +01:00
Miodec dce3f852ea removed 3 circular dependencies
part of #2462
2022-02-10 18:02:37 +01:00
Miodec 4e55bce14b removed 2 circular dependencies
part of #2462
2022-02-10 17:58:55 +01:00
Miodec bf9af1c07b unnecessary check 2022-02-10 17:52:18 +01:00
Miodec 27e5ea3cc5 refactor 2022-02-10 17:52:07 +01:00
Miodec 7a86dbe319 part of #2462 2022-02-10 17:43:56 +01:00
Miodec 24ff1becd1 removed 7 circular dependencies
part of #2462
2022-02-10 17:41:33 +01:00
Miodec 65857ee857 webpack warnings 2022-02-10 17:27:55 +01:00
Rizwan Mustafa 759ff88de7
Created webpack config file for detecting circular imports (#2463)
* Created webpack config file for detecting circular imports

* missing packages, added script to run webpack to find circular dependencies

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-02-10 17:21:24 +01:00
Miodec 4d748f40ea Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-02-10 14:09:04 +01:00
Miodec 5966fd4ba6 fixed tags not loaded into result filters correctly
fixes #2459
2022-02-10 14:08:57 +01:00
Miodec 28be87cb6c added max accuracy and consistency
closes #2460
2022-02-10 13:02:32 +01:00
Miodec f5ca66545c only adding script when needed 2022-02-10 12:54:25 +01:00
Miodec 8eab2b47b5 changed the way settings group are handled
modified all html buttons
added select mode to the settings
replaced language, layout and keymap layout with select dropdowns
2022-02-10 12:53:06 +01:00
Miodec bd19641729 appending the ad script if ads are enabled 2022-02-10 12:50:06 +01:00
Miodec 82531d553a reordered language groups 2022-02-10 12:38:56 +01:00
Miodec cec18e72d9 fixed select styling if above
added group styling
changed arrow color
2022-02-10 12:27:19 +01:00
Miodec fc28e74307 typo 2022-02-10 01:57:01 +01:00
Miodec 1b82d8b27e fixed select2 roundness 2022-02-10 01:34:04 +01:00
Miodec 600c6631a8 locally hosting select2 2022-02-10 01:22:04 +01:00
Miodec 4f7dd1122b minified balloon css 2022-02-10 01:21:56 +01:00
Miodec 047b7cf0fe removed unused code 2022-02-10 01:17:49 +01:00
arda-a 50e879e58c
whorfmax and whorfmax_ortho layouts are added (#2455) by arda-a 2022-02-10 01:11:14 +01:00
Miodec e08cdf1675 removed toggle functions 2022-02-10 01:04:54 +01:00
Miodec 31c799e653 removed unused code 2022-02-10 00:54:48 +01:00
Miodec 9712443c3c modified the way lazymode, funboxes and british english are applied
defined which funboxes affect word generation
fixed tests not restarting again when funbox is not supported
closes #2422
2022-02-09 23:16:54 +01:00
Miodec 25bb04a391 fixed watch paths 2022-02-09 20:43:42 +01:00
Miodec a991545c12 fixed watch paths 2022-02-09 20:39:41 +01:00
Miodec 351cc2bcb2 added indicate typos: replace,
added indicate typos: below,
removed indicate typos: on
closes #2444
2022-02-09 19:18:54 +01:00
Teddi 5bd0c854e8
Passion Fruit Theme (#2450) by teddinotteddy
* add passion fruit theme

* Update _list.json
2022-02-09 12:43:03 +01:00
Bruce Berrios 345740db5f
Separate backend and frontend dependencies (#2441) by Bruception
* Add request validation to user endpoints

* Remove tag id log

* Remove verbs from endpoints

* Remove old code

* Remove uid

* Fix

* Remove name from URI

* Rename utils

* Fix

* Move prettier

* Update gulp file

* Add additional scripts

* Update package-lock

* Update contributing.md

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-02-08 20:33:41 +01:00