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