Commit graph

744 commits

Author SHA1 Message Date
Miodec 028e155be9 only reacting to config events when test page is active
fixes #2876
2022-04-25 17:03:29 +02:00
Miodec a4ee31a4bb changed background color 2022-04-25 16:17:46 +02:00
Miodec a585adae24 added cookie popup 2022-04-25 16:11:24 +02:00
Miodec 32a31b0d48 stopping input when a popup is visible 2022-04-25 16:11:06 +02:00
Miodec 22e3b97f4e hiding caret during resize 2022-04-25 00:40:38 +02:00
Miodec a45fb91300 using gradient mask around edges when using tape mode 2022-04-25 00:16:05 +02:00
Miodec 4bd5c9ecba added a better error message
closes #2872
2022-04-24 21:45:01 +02:00
Miodec bd5bcf075d fixed tape mode not working with new lines 2022-04-24 21:42:05 +02:00
Evan f584d683bb
Rename scripts to ts (#2869) ferotiq
* Rename scripts to ts

* Update config.base.js

* Delete firebase-config.ts
2022-04-24 17:20:30 +02:00
Jack 4d365802a1
Added popup to share test settings through url (#2870)
* added package for compressing strings

* added popup to share test settings

* added function to parse test settings from url

* returning if no settings were applied

* removed pointless try catches

* added type for shared setings instead of casting

* small refactor

* unnecessary ??
2022-04-24 17:05:04 +02:00
Jack 9ca477da54
Added tape mode (#2862)
* added config param for tape mode

* added settings section

* added commands

* moving caret to the correct place with tape mode is active

* only jumping line when not using tape mode

* prettier

* scrolling tape

* restarting test when tape mode changed

* showing one line when tape mode is active

* added function for scrolling words horizontally

* scrolling tape when layout emulator is enabled

* removed left margin when tape is active

* disable tape for some challenges

* fixed incorrect caret position when going back to a previous word

* ignoring no-this-alias

* fixed lines scrolling to often when tape mode was disabled

* storing caret width in a variable

* not allowing tape mode and show all lines together

* removed unnecessary comment
2022-04-24 17:04:46 +02:00
Rizwan Mustafa d65fcff79d
Add script for starting live version locally (#2855) rizwan
* Create start live version locally script

* Fix issues
2022-04-24 15:11:54 +02:00
Miodec 6509fe105e fixed tag buttons not reacting to keypresses
closes #2865
2022-04-24 12:30:50 +02:00
MrEgggga a55249925e
improved toki pono or whatever it is (#2861) MrEgggga
* toki pona ku languages

* underscore
2022-04-23 19:47:21 +02:00
Jack b60e6905ce
Made username non optional (#2859)
* reduced code repetition

* throwing error when no name provided

* stopping signout if no current user

* expanded to 16 chars

* moved code to popup file

* added google sign up popup

* checking if name is available in the backend

* deleting account if popup was closed
uncommented sign up process
addd functions to enable and disable input

* added google sign up event to avoid circular dependency

* hiding by default

* name is no longer optional
user is deleted if its database object is not found

* using loader to indicate background activity
2022-04-23 19:46:41 +02:00
Rizwan Mustafa 6c4e19a65a
Fix favorite quote bug (#2856) 2022-04-23 19:45:47 +02:00
Rizwan Mustafa fd002f1553
Save exact for all packages (#2853) 2022-04-23 19:42:20 +02:00
Miodec 5654c0dd6f fixed overflow when all 3 live counters are enabled at once 2022-04-21 13:01:02 +02:00
Miodec d61e5ea641 using margin instead 2022-04-21 12:52:33 +02:00
Miodec 6464ebe141 test 2022-04-21 12:34:33 +02:00
Miodec 2af2369c0d fixed spacing on the about page 2022-04-21 12:33:12 +02:00
Rizwan Mustafa 5691643b7a
Fixed versions (#2851) 2022-04-21 12:28:30 +02:00
Evan 611213d3e1
Reformatting wikipedia.ts (#2850) 2022-04-21 12:28:14 +02:00
Miodec 3bc9128ea7 removed console logs 2022-04-20 19:46:05 +02:00
Miodec 29da29a624 removing zero width characters from wikipedia mode
should help with #2835
2022-04-20 19:45:27 +02:00
Miodec dce8f59d2f removing all unnecessary reference links 2022-04-20 13:56:01 +02:00
Vusal Ismayilov 189c80f19f
Changes to add new language - Azerbaijani (#2839) woosal1337
* Changes to add new language - Azerbaijani

* Azerbaijani language was moved lower in _groups.json
2022-04-20 13:49:40 +02:00
Miodec 82f2eb2af7 fixed pipe delimiter not working with new lines
fixes #2772
2022-04-19 22:18:05 +02:00
Miodec c5712c48a8 fixed account name alignment 2022-04-19 18:07:15 +02:00
Miodec 7e868d267c aligned icons correctly 2022-04-19 18:07:03 +02:00
Miodec 70c6e7de6f higher button spacing 2022-04-19 13:51:37 +02:00
Miodec 6002a31e98 removed full stop 2022-04-19 13:50:06 +02:00
Miodec e64405a2f3 actually updated the list 2022-04-15 22:21:32 +02:00
Miodec 8dca6a0fde updated russian wordlist 2022-04-15 22:03:26 +02:00
Miodec 1e71ff9a94 made buttons thiccer (same height as input boxes now) 2022-04-15 12:29:54 +02:00
Badhi aa0bf42e3b
Changes to add new language - Sinhala (#2837) Badhi
* initial commit to add sinhala font with around 300 words

* changed the word count to 200
2022-04-15 12:27:54 +02:00
Rizwan Mustafa 4ddeae41b0
(Frontend) Ability to make Quotes Favorite (#2830) rizwanmustafa
* Added button to make quote favorite at the end of result

* Added button to make quote favorite in quote search results

* Fixed bug where icon did not update

* removed debug log

* Fixed bug due to optional data

* Added functionality to show favorite quotes only

* Fixed typo

* Fixed styling bug

* Moved routes over to user

* Renamed routes

* fixed style

* reordered buttons

* smaller favorite button

* showing loader

* using max content instead

* hiding button when not logged in

* showing loader

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-04-15 12:27:30 +02:00
Miodec 44726d5571 using main color for caret in all inputs 2022-04-15 00:06:25 +02:00
Miodec 51a8327756 disabling inputs 2022-04-15 00:02:31 +02:00
Miodec 127e51fa65 changed autofill input styling 2022-04-14 23:53:59 +02:00
Rizwan Mustafa f07a6dd656
Convert UserDAO to typescript & rename to UserDAL (#2821)
* Started conversion to typescript

* Some more fixy fixy

* Final fixy fixy or at least that is what it seems

* Even more fixy fixy

* Add verifed = false upon usre creation

* Added return type

* Removed extra data

* Fixes

* Removed class syntax of UserDAO

* Name fix

* Renamed UserDAO to UserDAL

* Fixed errors

* Fixed some problems

* Fixed pb bug

* Strict Equality

* Var name change

* Var name change
2022-04-14 18:07:28 +02:00
Miodec 4b3cc55c17 swapped link 2022-04-14 13:30:46 +02:00
Roj 8c04a74767
Fix some typos in the kurdish_central list (#2831) 2022-04-13 06:08:14 -05:00
Miodec 3ecce9db44 fixed font family sometimes not showing check mark next to active font 2022-04-11 22:44:40 +02:00
Roj 9df098015c
Replace "sorani" with "kurdish_central" (#2827) roj1512
* Replace "sorani" with "kurdish_central"

* Rename kurdish(central).json to kurdish_central.json
2022-04-11 18:06:49 +02:00
Miodec 464a237db1 fixed blank keymap not insterting letters 2022-04-11 15:52:43 +02:00
Miodec 529838061b not uppercasing characters that need to be highlighted on the keymap
fixes #2828
2022-04-11 15:46:05 +02:00
Miodec 0ec67e170a removed console log 2022-04-11 15:45:32 +02:00
Miodec 2b87483f30 setting time to not random
fixes #2829
2022-04-11 15:41:42 +02:00
Miodec 9c6847c75c Merge branch 'dev' of https://github.com/Miodec/monkeytype into dev 2022-04-11 15:40:19 +02:00