Commit graph

3069 commits

Author SHA1 Message Date
Miodec
940cc018ea build: upgrade dependencies
This also fixes issue where the dev server would die when using firefox
2023-08-13 12:34:54 +02:00
sapradhan
84e5fa86be fix(language): spelling mistakes in Nepali wordlist and quotes (sapradhan) (#4528)
* fix spelling mistakes

* fix spelling mistakes in word list

* remove duplicates

* fix quote lengths
2023-08-13 12:34:54 +02:00
Miodec
c47c66146f style: add normalize.css 2023-08-12 14:59:11 +02:00
Miodec
6ae332e769 build: add postcss and autoprefixer
Autoprefixer will automatically add vendor prefixes to css on build
2023-08-12 14:59:11 +02:00
Miodec
366264dade removed unnecessary exports 2023-08-10 19:25:13 +02:00
Miodec
0615c56de8 disabled ts rule (this is already covered by linting) 2023-08-10 19:11:13 +02:00
Miodec
08bc000cf2 unnecessary exports 2023-08-10 18:55:17 +02:00
Miodec
0b69b2e1e3 added knip to find unused exports 2023-08-10 18:32:33 +02:00
Miodec
38a316715b moved to node 18.17.1 lts 2023-08-10 17:38:27 +02:00
Miodec
0ef0a50381 refactored how local and snapshot configs are compared 2023-08-10 17:14:40 +02:00
Miodec
8425a2df3a result filters is no longer part of the config object 2023-08-10 17:13:01 +02:00
Miodec
2deb1b1456 removed console log 2023-08-10 16:46:32 +02:00
Miodec
8f24d33329 const 2023-08-10 16:23:01 +02:00
Miodec
2b6373ce6e unused function 2023-08-10 16:22:49 +02:00
Miodec
07142fc1a3 unnecesary notification 2023-08-10 16:21:24 +02:00
Miodec
f286c8d586 settings section update is not needed in a loading state 2023-08-10 16:20:25 +02:00
Miodec
5f482cfc01 unnecessary loading state changes 2023-08-10 16:19:33 +02:00
Miodec
59fbd88c9c not exactly sure why the config was being saved to the db after being applied from the db 2023-08-10 16:19:12 +02:00
Miodec
7adfc2ae2b unnecessary settings update and test restart
the website will be in the loading state at this point
2023-08-10 16:18:34 +02:00
Miodec
de9da79837 checking if local config is falsy instead of only null 2023-08-10 16:16:40 +02:00
Miodec
fd1c953ace removed log 2023-08-10 16:08:02 +02:00
Miodec
0ecfa23ce8 unnecessary pace caret init 2023-08-10 15:51:23 +02:00
Miodec
6272ee694c removed unnecessary check
it is no longe possible for the config to change before db config was loaded as the website stays in a loading state while fetching from db
2023-08-10 15:50:35 +02:00
Miodec
4f6aed0277 quote reports 2023-08-10 15:25:44 +02:00
Miodec
c19ec62ffc added a third entry to the british english list
this list contains a list of possible previous words - when matched, the replacement will not happen
2023-08-10 15:25:44 +02:00
Miodec
6d2e2e7939 line reorder 2023-08-10 15:25:44 +02:00
Christian Fehmer
0d5cd3eb02
Added highlight modes next word, next two words and next three words (#4516) fehmer
* Added highlight modes next word, next two words and next three words

* updating active element to make sure change is visible when applied from the commandline

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-08-10 15:05:07 +02:00
Steve H
6dd524ad39
Updated the overlay text of the screenshot button (#4507) Mammoets
* Updated the overlay text of the screenshot button to be more descriptive.

* Update result-screen.ts

added save as alias

* Update sourcecode.txt

reverted change to aria-label
2023-08-10 14:49:52 +02:00
Christian Fehmer
351ce401d4
refactor funbox (#4488) fehmer
* refactor funbox

* remove body classes and funbox css when leaving the page, cleanup

* fixed Funbox.clear removing all body classes
2023-08-08 14:07:58 +02:00
dankuri
3f81bd74c5
add ThePrimeagen's Programmer Dvorak layout (#4506) dankuri
* add ThePrimeagen's Programmer Dvorak

* Rename to prog dvorak prime
2023-08-08 13:53:34 +02:00
Miodec
1f3f5d3765 removed british spellings 2023-08-08 13:52:25 +02:00
Miodec
d6a79ca2a8 uppercase fix 2023-08-08 12:13:05 +02:00
Ojas Bhagavath
dcb5c61a83
Add Hack Nerd Font. (#4514) ojas-bhagavath
* Add ttf file for Hack Nerd Font

* Update _list.json

* Update fonts.scss
2023-08-08 11:57:40 +02:00
Christian Fehmer
582cb9803c
Fix minWpm on accounts history graph, set ticks on accounts activity graph, set bucketSize for wph to 250 (#4511) fehmer 2023-08-08 11:54:17 +02:00
Christian Fehmer
31db96228e
Fixed rainbow trail theme to support custom backgrounds (#4510) fehmer 2023-08-08 11:53:23 +02:00
Yen Cheng
1a4136f4de
fix: monkey couldn't see in rainbow trail theme (#4508) ridemountainpig 2023-08-08 11:49:57 +02:00
Ajay Vishnu V
afda565702
Quotes and words in Kannada language (#4505) ajay-vishnu
* added kannada 200 word list

* updated the _group and _list files

* Added a few kannada quotes.

* Added a few Kannada quotes.

* minor word count fix

* Fixed the duplicate keys

---------

Co-authored-by: Ojas Bhagavath <ojas.bhagavath@gmail.com>
2023-08-08 11:44:27 +02:00
Jack
a40d42b7c3
Renamed live wpm to live speed, min wpm to min speed (no non-user facing changes) (#4502) Miodec
* strings rename

* added alias

* renamed to min speed

* missing string rename

* wpm to speed rename

* converted displayed and inputted values for pace caret to the currently active speed unit

* accepting active speed unit in the commandline for min speed and min burst

* taking input in the currently selected unit for min burst

* displaying min burst in the selected unit

* converting min speed to the current unit
2023-08-08 11:39:47 +02:00
Miodec
356f95e84e quote lengths script 2023-08-07 15:20:56 +02:00
Miodec
0b14a008de quote reports, removed low rated quotes 2023-08-07 15:20:22 +02:00
Miodec
612331ac72 removed word 2023-08-05 10:42:48 +02:00
Miodec
ade4ff7ce9 reduced top margin of full width settings buttons 2023-08-04 14:06:45 +02:00
Miodec
2b30ae6569 added toWpm function 2023-08-04 13:37:15 +02:00
Miodec
7f734e7d3f renamed function 2023-08-04 13:35:25 +02:00
Christian Fehmer
1f4df9199d
Added configuration for typing speed unit, removed alwaysShowCPM (#4492) fehmer
* Added configuration for typing speed unit, removed alwaysShowCPM

* review comments

* fix live-burst, activityChart and results-pb label

* Added support for typing speed unit in account histogram chart

* trigger build

* Update account.ts

* Fix chart scaling and wpm/rawWpm hovers on result page
fix chart scaling and bucket size on account page

* refactor histogramChartData to support 0.5 steps

* Revert dynamic scaling on accounts/result graph

* Refactor histogramChartData to an int[]

* Fix cutoff in account history

* Fix labels on result page

* Limit result chart label to two decimals

* renamed show average wpm to show average speed

* fix scaling on accounts history graph (again),   not adding an easteregg 🤫

* hiding by default

* fix scaling on accounts history graph episode three

* move typingSpeedUnit related functions out of Misc

* updating account page if typing speed unit changes

* updating result page if changing units on the result page

* missing buton change

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-08-04 13:22:27 +02:00
ibrab000
d4a061400b
Added Overpass Mono Font (#4500) ibrab000
* Update _list.json

* Update _list.json

* Add files via upload

* Update fonts.scss
2023-08-03 16:25:26 +02:00
Miodec
7e9a7efd79 prettier fix 2023-08-03 16:24:48 +02:00
Shakhzod Bobolov
d1cba45afe
added uzbek_70k words (#4493) ShaakhDev
* added uzbek_70k words

* whitespace changes has been reverted in list and group files.
2023-08-03 12:40:43 +02:00
Gabriel Forien
2355ea5a45
Add golang quotes (#4498) gforien
* Add golang quotes

Sources
- https://github.com/aws/aws-sdk-go-v2/blob/ae835ecd/service/iam/api_op_GetRole.go
- https://github.com/helm/helm/blob/50c22ed7/pkg/downloader/chart_downloader.go
- https://github.com/helm/helm/blob/50c22ed7/pkg/engine/files.go
- https://github.com/helm/helm/blob/50c22ed7/pkg/engine/funcs.go
- https://github.com/helm/helm/blob/50c22ed7/pkg/plugin/plugin.go
- https://github.com/kubernetes/kubernetes/blob/3b18e80/pkg/client/conditions/conditions.go
- https://github.com/kubernetes/kubernetes/blob/3b18e80/pkg/controller/garbagecollector/graph_builder.go
- https://github.com/tmrts/go-patterns/blob/64a6757/concurrency/bounded_parallelism.go

* Fix quotes lengths
2023-08-02 15:52:33 +02:00
Gabriel Forien
8bebb8c54a
ci(frontend/scripts): print expected quote length (#4499) gforien 2023-08-02 15:47:34 +02:00
Kristoffer Grönlund
193a708572
added middlemak and middlemak-nh (#4497) krig 2023-08-02 14:50:21 +02:00
Miodec
be7e59dbec ...actually using the parameter 2023-07-31 19:54:47 +02:00
Miodec
00e7689a1e added parameter to calculate final stats with decimal points 2023-07-31 19:52:20 +02:00
Christian Fehmer
b50b473aba
Added crt mode to the funbox (#4465) fahmer
* Added crt mode to the funbox

* remove borders, move screen glow to body, remove lines animation

* removes white flash on test restart, keep crt mode on result page

* cleanup removal of funbox css

* fix white flash when disabling crt mode, fix background

* use actual color for text glow

* fix rendering issue with glow

* adds glow to input, buttons, logo and carets

* prefix new variables with -crt, update themes to fit crt mode

* adds glow to textarea, avatar and fix glow in focus mode

* fix typo in lavender theme

* move crt related stylesheets to separate file, add scanline div on demand

* add applyGlobalCss to keep the theme active on pages outsite the test page

* made sure crt works globally
added a clear global function
calling apply global and clear global when toggling funboxes
delaying globalcss apply because about page for some reason doesnt like funbox css files

* add glow to banner

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-07-31 16:32:33 +02:00
DastardlySky
4bc787d33e
Added Rainbow Trail theme (#4459) dastardlysky
* "Rainbow Trail" Theme

* reworked theme

* created contrast in test config buttons

* not overriding live wpm color,
showing rainbow on main color selection

* updated list file colors

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-07-31 14:54:57 +02:00
Miodec
051f21a47e quote lengths fix script 2023-07-31 13:42:15 +02:00
Miodec
1344681273 quote reports 2023-07-31 13:42:15 +02:00
Raaed Shaikh
ca4dfcd6b4
fix typo in cpm graph label (#4486) rxxed 2023-07-29 14:57:45 +02:00
Miodec
245daed4fc using debug logs instead 2023-07-29 02:49:07 +02:00
Miodec
5d09be09f2 reduced code duplication
merged live wpm/raw and final wpm/raw calculation into one
count chars now includes test input

this also fixes a tiny bug where live raw would be inflated (this did not affect any final stats)
2023-07-29 02:30:37 +02:00
Miodec
fc3f529278 removed debug variable and setter function
using debug logs instead
2023-07-29 02:28:09 +02:00
Miodec
42b85732e5 renamed type 2023-07-29 02:26:55 +02:00
Miodec
d630d1c394 added more data to debug getStats
changed where average and std dev data is inserted
2023-07-29 01:57:06 +02:00
Miodec
f326482af6 renamed 2 variables 2023-07-29 01:52:10 +02:00
Miodec
73ddb06339 changed type of variable 2023-07-29 01:51:35 +02:00
Miodec
35a6b910aa moved afk history into its own variable 2023-07-29 01:49:54 +02:00
Miodec
b659a68d9b moved variable to a different module 2023-07-29 01:43:51 +02:00
Miodec
063693be0a extracted two parameters into another object 2023-07-28 22:26:13 +02:00
Miodec
5bef9fac04 moved bailed out state to test state 2023-07-28 22:15:14 +02:00
Miodec
73f4050392 removed unnecessary type definition
changed to unknown and added tsignores because this is just debug code
2023-07-28 22:11:31 +02:00
Miodec
93c169a465 not exporting
renamed variable
2023-07-28 22:03:35 +02:00
Miodec
951fc391fd removed unused variable 2023-07-28 22:01:43 +02:00
Miodec
67531c636f quote lengths 2023-07-28 14:04:26 +02:00
Miodec
1e87deb42b quote reports 2023-07-28 14:04:09 +02:00
Miodec
34bd4cd827 added a bit of extra space to the tab character 2023-07-27 13:47:31 +02:00
Miodec
3c5e4c0662 updated the new line character 2023-07-27 13:44:37 +02:00
Miodec
1d8aee1c68 updated layoutfluid notification element
made it work in mods other than time
closes #4484
2023-07-27 12:55:20 +02:00
Miodec
168055e21e selecting the input if it gets prefilled
closes #4482
2023-07-27 12:13:15 +02:00
Miodec
8612c0d2f2 added polish wikipedia 2023-07-27 12:05:40 +02:00
ademirkan
17713fde87
fixed quick toggle-to-highlight bug (#4481)
* fixed quick toggle-to-highlight bug

* eslint fix

* added return type to function, eslint
2023-07-27 10:52:41 +02:00
Miodec
50c96006c2 removed duplicate header 2023-07-25 17:47:17 +02:00
Miodec
a828fcfb01 moved issubmiossionenabled check before opening the popup 2023-07-25 17:25:17 +02:00
Miodec
ad357d3948 showing groups instead of languages 2023-07-25 17:19:09 +02:00
Miodec
327125186b updated parameter 2023-07-25 17:18:57 +02:00
Miodec
7359bb78ba reordered groups 2023-07-25 17:04:06 +02:00
Miodec
99111ec3e8 asking the backend if submission is enabled instead of hardcoding 2023-07-25 16:53:41 +02:00
Miodec
869f9c229d added endpoint to frontend ape client 2023-07-25 16:52:36 +02:00
Miodec
2e8c58365f sending client version in headers
logging which client versions are getting errors
closes #4475
2023-07-25 15:46:46 +02:00
Miodec
5abc29bb76 hiding clear all button button when focused
closes #4480
2023-07-25 15:33:18 +02:00
ademirkan
45cc0487ed
Fixed last word(s) highlight not showing up (#4479) ademirkan 2023-07-25 15:28:27 +02:00
Miodec
47a73190c4 fixed lasts sometimes not being highlighted by hovering over the last chart data point 2023-07-25 14:14:24 +02:00
Miodec
90761fbc32 quote lengths script 2023-07-25 12:03:49 +02:00
Miodec
f54a315ba6 quote reports 2023-07-25 12:03:32 +02:00
Miodec
93144cade3 replaced global override with a function
fixes broken result hashes
2023-07-23 19:08:20 +02:00
Miodec
c9edae203d also updating database email when adding password auth 2023-07-21 14:03:26 +02:00
Warrobot10
fafe4512bd
Improving quote sources. (#4467) Warrobot10 2023-07-21 13:38:53 +02:00
ademirkan
29b05271de
New Highlighting System (#4448) ademirkan
* put speed above word in input highlight

* updated class name
using class nesting

* put speed below word, added nocursor

* removed unnecessary line

* saving highlight controller progress, started init()

* finished highlight-controller init, middle of highlight()

* fixed highlightContainer padding issue

* buggy implementation of highlight()

* finished highlight() demo

* event listener to call destroy() on window resize

* removed init from public functions

* fixed bug where words could not be hovered for speed highlight

* simplified highlight css & js

* accounted for padding

* buggy, functional implementation of counter-animation

* semi-percise line up, buggy clear()

* official v1.0, fixed highlightPlaceholder text dissapearing late bug

* improved variable name readability

* improved documentation for highlight-controller

* added concise summary on top for highlight-controller

* minor counter-animation performance changes

* fixed bug where word is overtyped but corrected, causing overlapping inputWord elements

* prettier error, removed line

* fixed eslint errors

* fixed bug: highlight persisting on mouseleave when moving too fast

* changed highlight transitions from 0.15s to 0.25s

* fixed eslint bug for new setIsHoverChart function

* checkpoint: introduced line rect to type

* checkpoint: percise inputWord positioning

* checkpoint: highlight width  based on input, not full word

* checkpoint: optimized by reducing animations by setting min/max on highlight offsets, reducing number of lines being animated

* checkpoint: changed highlight offset limiters to be based on window width

* Fixed bugs for highlight-controller

* fixed eslint issues

* fixed length error on resize

* Fixed offset error when heatmap is toggled

* fixed inputWordsContainer animation bug in first highlight call

* uncommented accidental comments

* reduced jQuery calls, improving performance

* removed unnecessary document query

* early exists when highlightRange does not change

* reset highlightRange on destroy

* removed unnecessary import

* optimized callback

* added fade in/out animations, instant positioning

* removed console log

* renamed highlightWords to highlightWordsInRange

* made highlightWordsInRange more readable

* renamed highlight-controller to result-word-highlight

* nonfunctional checkpoint

* nonfunctional, updated highlightWordsInRange

* nonfunctional, saving progress

* nonfuctional, saving progress

* saving progress, nonfunctional

* partially functional, incomplete getHighlightElementPosition

* nonfunctional, checkpoint

* non-functional, made isLanguageRTL + functions async

* fixed returning false I bug (i think)

* current line functional

* lower lines highlight positioning functional

* completed RTL refactor

* finished RTL refactor, eslint fix

* fixed ts, getBoundingRect function put in misc

* removed console log

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-07-21 13:38:26 +02:00
Axel Cuevas
ea7df209d5
Added quote (#4462) Hideoka117
* Pending changes exported from your codespace

* Update english.json
2023-07-21 13:07:07 +02:00
Miodec
62a73bc61e added supporter 2023-07-20 22:46:25 +02:00
Miodec
f04ee79b73 added supporter 2023-07-20 22:35:05 +02:00
Miodec
c507481da1 added a clear all button if at least two sticky notifications are visible 2023-07-19 14:42:47 +02:00
Miodec
4bd295f297 showing correct and incorrect 2023-07-19 14:15:41 +02:00
Miodec
fba14b7d84 removed todo 2023-07-18 19:23:36 +02:00
Miodec
19377e53d4 removed todo 2023-07-18 19:18:55 +02:00
Miodec
05ee75a97c todo 2023-07-18 19:18:55 +02:00
Yen Cheng
05fa8ae48f
Remember language choice before switching to quote mode (#4460) ridemountainpig
* feat: Remember language choice

* update: remove console log for testing

* feat: Remember language choice

* update: prettier code

* feat: Remember language choice

* feat: Remember language choice

* updated type
checking if variable is truthy
setting variable to undefined after setting the language

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-07-18 16:03:13 +02:00
Miodec
a8939949fa reworked the result filters typing 2023-07-18 15:51:59 +02:00
Miodec
e2d021bbab added a function that gets strictly typed keys of an object 2023-07-18 15:51:45 +02:00
Edward Huang
4111f5df8c
Quotes (#4458) eisthefifthletter
* standardize apostrophe and quotation marks

* add quotes

* correct quote length
2023-07-18 11:25:23 +02:00
Warrobot10
41cb61f0b4
Add typos and cleaning up (#4453) Warrobot10 2023-07-18 11:24:59 +02:00
Miodec
448c1061b8 handling hyphenated words in british english 2023-07-17 13:41:55 +02:00
joanna
6d88c4f4e3
added morse code to the funbox (#4451) epicjoanna
* added morse code mode to funbox

* actioned changes
2023-07-17 13:41:04 +02:00
github-actions[bot]
06ca56bfc8
Prettier fix (#4456)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2023-07-17 12:52:22 +02:00
Miodec
5d93e2e1ce removed console log 2023-07-14 12:40:08 +02:00
Miodec
bf4b62414c removed console log 2023-07-14 12:22:16 +02:00
Miodec
79a3b3edb6 always checking if input value is different than current test input
should help with #4407, maybe #4389 and
2023-07-14 12:21:38 +02:00
Miodec
46f4c69e5f safety check to stop the test if last word is correct but we are still trying to move on to the next word 2023-07-13 15:17:22 +02:00
Miodec
540f24dc4f quote lengths script 2023-07-13 14:37:40 +02:00
Miodec
8e10c1c239 quote reports 2023-07-13 14:37:18 +02:00
Miodec
2f6fb6ce92 using only pw ads 2023-07-12 19:54:30 +02:00
Miodec
520f51d251 fixed layoutfluid not highlighting key after space 2023-07-12 16:40:10 +02:00
Laaveshwaran P
1b7bb5b9c8
Added some more email typos (#4450) aviiciii
* add more common email typos

* added source of email typo checks

* prettier fix
2023-07-12 10:49:13 +02:00
Estifanos Gashawtena
55f5f026a2
Add and modify Amharic words (#4449) Estifanos12
* Add and modify amharic words

* Modify amharic words

* modify amharic json file
2023-07-11 13:35:20 +02:00
Warrobot10
7668d2f7aa
Email typo (#4430) Warrobot10 Miodec
* Add typo_list.json

Please check this. This is a work in progress, and the only reason I committed is so what I did is saved.

* Add detection of email typo functionality.

* Add @ at each typo

* Fix styling issue

* Fix styling issue 2

* Fix styling issue 3

* pretty fix

* changed file to a module

* changed file name

* fixed indentation

* fixed messy nesting

* added some more typos

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-07-10 14:24:17 +02:00
Miodec
8b8d9ebf01 replacing non ascii characters in wikipedia mode when language is english
closes #4447
2023-07-10 14:13:11 +02:00
Miodec
99a7972c13 updated firebase version 2023-07-10 13:01:11 +02:00
Munib Karimi
349190c3f0
Added Pashto Language and its keymap layout. (#4437) Munib97
* Added Pashto Language and its keymap layout.

* removed duplicates and added few more words

* Removed duplicates and added new words
2023-07-10 12:23:33 +02:00
Laaveshwaran P
6fc6984be7
Removed names from Tamil words (#4432) aviiciii
* removed names from tamil.json

* removed names from tamil1k.json
2023-07-10 12:22:58 +02:00
Michael Bozhilov
9a4c6cdb2a
Add short bulgarian quotes (#4420) asynchroza
* Add short bulgarian quotes

* Remove shorter quotes and add ones longer than 60 characters

* added missing groups

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-07-10 12:22:27 +02:00
Kamar
90e0afa4cc
Add Quote by Bertrand Russell (#4428) Mohamad-Kamar 2023-07-10 12:20:38 +02:00
Miodec
4c079f2516 flagging user for name change if their name is nullish 2023-07-01 11:18:28 +02:00
Miodec
7fb6593c0c added 2 layouts 2023-06-29 23:54:14 +02:00
ademirkan
60720fbc80
Improve word highlight UI in input history (#4417) ademirkan
* put speed above word in input highlight

* updated class name
using class nesting

* put speed below word, added nocursor

* removed unnecessary line

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-06-29 18:53:22 +02:00
Andy Huang
1bc6e3510b
Add two English quotes (#4425) asd153866714 2023-06-29 18:50:35 +02:00
Sanidhya Singh
080732c092
Fix Cookie Popup from appearing in Screenshots (#4426) sanidhyas3s 2023-06-29 18:50:01 +02:00
Miodec
b968a16acc quote lengths script 2023-06-29 14:16:49 +02:00
Miodec
97817c84e1 quote reports 2023-06-29 14:14:32 +02:00
GwenXt
f3acbbf167
Create quotesfile (esperanto.json) (#4397) GwenXt
* Create esperanto.json

Added quotes for Esperanto

* Update esperanto.json

Remove duplicate quote

* Update esperanto.json

* Update esperanto.json
2023-06-29 13:26:36 +02:00
Kris Bucyk
69071f6414
Create initial quotes for code_ruby language (#4413) TiceKrisBs 2023-06-29 12:52:01 +02:00
Laaveshwaran P
6b47323171
ordered the words in tamil language by frequency (#4412) aviicii
* ordered the words in tamil language by frequency

* changed words by frequency for 1k_tamil
2023-06-29 12:51:31 +02:00
ibrab000
30fcfd21e6
Added void and arcadia layouts (#4409) ibrab000
* Added void and arcadia layouts

* Update _list.json
2023-06-29 12:50:29 +02:00
Laaveshwaran P
e1567c54d4
Notify users for school email address (.edu | .ac | .sch) (#4404) aviicii
* warning icon added

* changed email checking

* added message for pop over

* added signup function for edu indicator

* switched .edu string end check for regex
checks if email:
 - ends with .edu
 - contains xxx.edu.xxx
 - contains education

* updated warning message

* move edu check to const regex

* add support to .ac domains

.ac domains are used as academic domains by the commonwealth countries.

* identify school email addresses also

.sch.* is a second-level domain for schools in various countries

* fixed .ac regex

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-06-29 12:48:46 +02:00
Laaveshwaran P
12e11447f3
Added quotes for Tamil Language (#4406) aviicii
* added quote file for tamil

* added 10 quotes from thirukkural

added 10 famous thirukkural quotes
source: https://thirutamil.com/article/top-10-popular-thirukkural-in-tamil/

* added couple of longer quotes

* typo

* removed small quotes

* added more long quotes

* author name change
2023-06-29 12:46:11 +02:00
Miodec
7a84ed234d refactor 2023-06-27 23:42:32 +02:00
Miodec
5e34cecd9f removed type cast 2023-06-27 23:29:01 +02:00
Miodec
03facf7e8f fixed bug caused by triple equals 2023-06-27 23:22:21 +02:00
Miodec
a6b59bb7da adjusted theme buttons styling 2023-06-27 17:33:38 +02:00
Miodec
1722c64197 updated date 2023-06-27 17:08:12 +02:00
Miodec
e447486709 updated privacy policy 2023-06-27 17:07:52 +02:00
Miodec
d881b642f9 fixed typo 2023-06-26 15:37:41 +02:00
Miodec
f1eb6df0f6 added message for firefox users (#4405) 2023-06-26 15:37:26 +02:00
Miodec
17ddb87abb updated mode2 type 2023-06-26 14:13:21 +02:00
Miodec
e4f151d880 quote lengths 2023-06-26 13:06:20 +02:00
Miodec
5b0247351d quote reports 2023-06-26 13:04:27 +02:00
Miodec
9f79bc34fd removed bad words 2023-06-26 12:57:22 +02:00
Miodec
fe6c526661 ab test 2 2023-06-26 12:12:19 +02:00
Laaveshwaran P
7d56b837e7
Strict equality migration (#4376) aviicii
* replaced `==` with `===`

* replaced `==` with `===` for bail out

* strict equality for index.ts

hoping it would work for Config.singleListCommandLine === "on" as the type of singleListCommandLine is defined as a subgroup and is confusing

* done strict equality

* strict equality for controllers in ./frontend/src/frontend

`==` and `!=` are shifted to `===` and `!==` for strict equality without type coercion

* elements partially done

* elements done

* pages completed

* popups done

* settings and states done

* done test, types and utils

* done src

* format connection.ts

code formatting lost during resolving merge conflict

* updated gitignore

* unnecessary catch (we want to be notified if the drop failed as it will cause duplication)

* added english quote (#4385) oliverpearce

* removed extra space

* removed non words

* apparently autocapitalize="off" is depracated
part of #4388

* unnecessary if check

* updated if check

* better check

* added todo

* updated logic

---------

Co-authored-by: Miodec <jack@monkeytype.com>
Co-authored-by: Oliver Pearce <67935783+oliverpearce@users.noreply.github.com>
2023-06-23 20:57:52 +02:00
Miodec
b5a25a37f3 using vanilla js 2023-06-23 16:57:01 +02:00
Miodec
95759edc60 using vanilla js 2023-06-23 16:56:52 +02:00
Miodec
0e6679e40a resetting login page input values when leaving the login page 2023-06-23 16:48:31 +02:00
Miodec
a0c5ade54d signing out after user changed email 2023-06-23 16:44:18 +02:00
Miodec
f3e040f4d1 fixed function mixup
closes #4395
2023-06-23 14:55:34 +02:00
Miodec
eb0abb369d changed pattern to fix windows issues 2023-06-22 23:52:58 +02:00
Miodec
e3cb26d30c added eslint to frontend to fix linting issues 2023-06-22 23:52:55 +02:00
Miodec
202059d13f apparently autocapitalize="off" is depracated
part of #4388
2023-06-22 12:39:07 +02:00
Miodec
bd5376a4ab removed non words 2023-06-22 11:25:38 +02:00
Miodec
5f52f1c09a removed extra space 2023-06-21 13:10:35 +02:00
Oliver Pearce
4ce7ece75a
added english quote (#4385) oliverpearce 2023-06-21 13:09:36 +02:00
Miodec
20a08d27ea removed navigate event
removed any types
added generic parameter which describes the type of options data
2023-06-20 15:37:38 +02:00
Miodec
79b0c37dee added macedonian 2023-06-19 23:26:24 +02:00
Miodec
7e68922151 fixed small useranme on profile page 2023-06-19 22:00:32 +02:00
Miodec
f5bb1a2395 removed unnecessary imports from page controller 2023-06-19 21:34:21 +02:00
Miodec
381ee144c5 added page name type 2023-06-19 21:33:51 +02:00
Miodec
fd48402840 fixed 404 media query 2023-06-19 21:32:29 +02:00
Miodec
e19ba58d41 added comment 2023-06-19 20:59:21 +02:00
Miodec
6d7ee53e63 removed any 2023-06-19 18:47:32 +02:00
Miodec
e7c224b007 removed any type 2023-06-19 18:41:09 +02:00
Miodec
0432f09244 removed any type 2023-06-19 18:37:34 +02:00
Miodec
2c8f31f56f removed any type 2023-06-19 18:33:28 +02:00
Miodec
701f4e0f2e removed any 2023-06-19 18:26:28 +02:00
Miodec
3cedcda8b1 missing extends 2023-06-19 18:15:25 +02:00
Miodec
42ff575300 removed any 2023-06-19 18:10:45 +02:00
Miodec
03a2f50ed9 removed duplicated type 2023-06-19 15:53:09 +02:00
Miodec
2ad49053a6 removed any type 2023-06-19 15:45:41 +02:00
Miodec
45fec5864e removed any type 2023-06-19 15:33:42 +02:00
Miodec
dd46292636 removed any type 2023-06-19 15:28:09 +02:00
Miodec
47ab36ce9b quote length script 2023-06-19 14:03:35 +02:00
Miodec
209451c11b quote reports 2023-06-19 14:02:48 +02:00
github-actions[bot]
ac45156d4b
Prettier fix (#4386)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2023-06-18 10:35:12 -04:00
Miodec
c51a1e01eb fixed incorrect if check
closes #4382
2023-06-16 11:07:09 +02:00
Miodec
9fd2bc87f5 fixed incorrect caret animation being applied
closes #4381
2023-06-16 09:51:16 +02:00
Miodec
1a5efe14de fixed incorrect max and min values for the result graph
closes #4380
2023-06-15 20:25:12 +02:00
Miodec
27980087f6 not showing offline banner if the test is active (showing on restart on test finish)
not showing the banner again if it was dismissed (unless the user was online again)
closes #4378
2023-06-15 16:28:50 +02:00
Josiah Plett
6b36605f0c
Josiah quotes (#4369) plettj
* Added 30 quotes - replaced incorrect quotations

* Replaced a duplicated quote.

* Fixed length field on quote 6955.

* Updated according to suggestions

* Fixed two quotes referencing religious ideas.

* Fixed incorrect ID.
2023-06-15 16:05:12 +02:00
Miodec
6a0ba9d64d updating the name font size a bit later 2023-06-14 16:45:35 +02:00
Miodec
088d2db48c added fps counter which can be enabled in the command line 2023-06-14 13:59:50 +02:00
Miodec
8b7080a4cd breaking up the account loading function to avoid very long event loop tasks 2023-06-14 13:59:50 +02:00
Xea
850a14c584
split smoothCaret into several modes (#4374) im-0xea
* split smoothCaret into several modes

* implemented requested changes of smoothCaret modes

* moved config migration code

* bring back caretFlash animation

* fixed error (weird how the build process didnt catch this)

---------

Co-authored-by: Miodec <jack@monkeytype.com>
Co-authored-by: Niki <n.topel@callassoftware.com>
2023-06-14 13:59:24 +02:00
Laaveshwaran P
aa06615860
Adding Tanglish Language (#4373) aviiciii
* removed 'capitilise' from the code python

The word 'capitilise' was found in the list, but it is not a valid Python method or keyword. This commit removes the incorrect word from the list to ensure accuracy and consistency in the provided Python syntax information.

* init on tanglish lang

* added about 50

* added tanglish words

* adding documentations

* removed duplicate words
2023-06-14 11:43:22 +02:00
tiesrred
96418bf5aa
I added 6 quotes of Prophet Muhammad for Monkeytype. (#4362) tiesrred
* I added 6 quotes of Prophet Muhammad.

* I have removed the "PBUH" from all Mohammed quotes, including from ones I did not add.
2023-06-14 11:37:56 +02:00
Miodec
ec8aa298e9 optional chaining to avoid errors when viewing the replay 2023-06-14 01:26:42 +02:00
Miodec
4a7f8ebcb7 handling undefined and null 2023-06-13 23:19:40 +02:00
Jack
27b1a7fedb
Streak hour offset (#4357)
* backend flow to set hour offset

* added frontend popup to set streak hour offset

* displaying a message that the user can change offset
displaying the actual offset if its already set

* applying offset when checking streaks

* added tests for the new offset
updated old streak tests

* defaulting to undefined

* removing content if offset is already set

* updated the way offset is displayed

* also updating in the local snapshot
2023-06-12 14:38:44 +02:00
Serdar Bilici
303e2b2628
update Turkish 5k (#4364) s3rdarb
* Update turkish_5k.json

correction for misspelled words and a few additions and deletions

* Update turkish_5k.json

fixed typos and added new words for improvement
2023-06-12 14:25:38 +02:00
Laaveshwaran P
ec9c8c4970
removed 'capitilise' from the code python (#4372) aviiciii
The word 'capitilise' was found in the list, but it is not a valid Python method or keyword. This commit removes the incorrect word from the list to ensure accuracy and consistency in the provided Python syntax information.
2023-06-12 14:25:14 +02:00
Miodec
d7ecc93051 fixed book mode custom texts not being marked as completed
part of #4370
2023-06-12 12:52:28 +02:00
Miodec
3910349423 fixed dynamic keymap legends and keymap mode next not working correctly together
closes #4366
2023-06-12 12:11:20 +02:00
github-actions[bot]
9c2bcbd762
Prettier fix (#4367)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2023-06-12 00:42:51 -04:00
Antikore
b888367b50
Adding Spanish 650K language json (#4333) AntikoreDev
* Added Spanish 646k

* Fixed accents and some words were missing

* Renamed spanish_646k to spanish_650k

* I forgot to put the name there as well
2023-06-09 11:44:38 +02:00
Miodec
8000585bf2 fixed caps warning not hiding on some linux distros 2023-06-09 00:44:40 +02:00
Miodec
369be4db76 upgrade to webpack-cli 4.10 2023-06-08 12:39:18 +02:00
Miodec
7a111cc8de quote lengths 2023-06-08 12:35:22 +02:00
Miodec
a73252e3af quote reports 2023-06-08 12:34:56 +02:00
Eran Pinhas
9a5c8d4b06
Fixed wrong scale when displaying accuracy average graph (#4358) eran-pinhas 2023-06-07 22:37:55 +02:00
Miodec
576e2e3ab7 escaping name 2023-06-07 14:02:54 +02:00
Brian Sung
aa6cc3fb01
updates word count when backspacing in zen mode (#4352) seoulection 2023-06-07 13:49:46 +02:00
CoolerFred
4b803f39f4
Fixed some fetch issues (#4343) CoolerFred
Co-authored-by: CoolerFred <coolercatoo@gmail.com>
2023-06-06 17:50:21 +02:00
Miodec
6e14d58d15 enabling punctuation in ascii mode will allow capital letters 2023-06-06 17:48:28 +02:00
Miodec
01997442d8 Revert "disabled result saving when practicing missed or slow words"
This reverts commit d23d3ccf89.
2023-06-06 13:58:09 +02:00
Miodec
3c87156973 quote lengths fix 2023-06-05 13:29:00 +02:00
Miodec
1c04d02f31 quote reports 2023-06-05 13:28:19 +02:00
Brian Sung
84888c25dd
remove last newlines if backspace ends up on newline (#4322) seoulection 2023-06-05 12:13:30 +02:00
Nathan Thomson
801d84fafe
Added English Quotes (#4336) TheNatBoi 2023-06-05 11:32:28 +02:00
github-actions[bot]
560308a956
Prettier fix (#4347)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2023-06-04 12:07:34 -04:00
JabbaTheGibHutt
1cd4888177
Adding the Frysk language (#4317) JabbaTheGibHutt
* Create Frysk

* Rename Frysk to Frysk.json

* Rename Frysk.json to frysk.json

* Update frysk.json extra words

* Update frysk.json

* Update frysk.json

a-k

* Update frysk.json final word list

Added the final word list and checked for dupes

* Update _groups.json: added frysk

Added the Frysk language

* Update _list.json: added frysk

added the Frysk language

* Update frysk.json

removed that floating comma

* Delete frysk.json

* Add files via upload

* Update frysk.json

* Update frysk.json

* Add files via upload

* Update frysk_1k.json

* Update frysk.json

made a list of 200 words instead of 1k

* Update frysk.json

wrong quotations

* Update frysk.json

wrong quotations part 2

* Update _groups.json

added frysk 1k

* Update _list.json

added frysk 1k

* missing commas, prettier

* removed empty word

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-06-01 13:30:31 +02:00
Serdar Bilici
ccfe06558c
Update turkish_5k.json (#4335) s3rdarb
correction for misspelled words and a few additions and deletions
2023-06-01 13:20:11 +02:00
grigoriynikolaev
423eb67957
Update russian_10k.json (#4341) grigoriynikolaev
Misspelled word correction
2023-06-01 13:19:31 +02:00
Sanidhya Singh
c5c07c1285
Fix persistent CapsLock message being displayed (#4339) sandihyas3s
* Fix persistent CapsLock message

* using vanilla js to increase performance a tiny bit since this will happen on every keyup and keydown

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-06-01 13:18:44 +02:00
Miodec
9904cd8c34 moved get funbox word call before splitting into section 2023-06-01 12:57:55 +02:00
Miodec
52fe1f7efa fixed custom text popup not correctly reflecting the state of some parameters if they changed while the popup was not visible 2023-05-31 15:11:10 +02:00
Miodec
21ce6e84a5 making sure challenge controller resets custom text random and delimiter fields 2023-05-31 15:10:33 +02:00
Miodec
bf0dbf7863 added more logs 2023-05-31 14:06:43 +02:00
Richard Davison
6e6628138a
Update _list.json - Added graphite keymap layouts (#4325) rdavision
* Add graphite layouts

* Change - to _
2023-05-30 19:20:10 +02:00
Invades
54a95ae8f9
Add "Greeklish" (#4334) Invades
* Add "Greeklish"

* Add "Greeklish"

* Add "Greeklish"

* Remove Duplicates

* Remove Duplicates

* add "orderedByFrequency" property

* Correct "orderedByFrequency" property value
2023-05-30 12:23:07 +02:00
isa-2004
5a535d5b38
added a new theme grape.css (#4329) isa-2004
* added a new theme hacker.css

* added grape.css

* delete hacker.css

* updated sub and sub alt colors

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-05-29 15:58:14 +02:00
Miodec
89e1af4e34 quote reports 2023-05-29 13:21:00 +02:00
Miodec
2a36a33ee5 added automatic tabs to code quotes only if the previous enter was typed correctly
closes #4266
2023-05-29 13:09:32 +02:00
Matteo Macaluso
06075eef5d
added more italian quotes (#4324) magicteo 2023-05-29 12:12:57 +02:00
Ahmed ElSaeed
b3a85ce66d
solve Yesterday appear in all time leaderboard #4331 (#4332) asmpro7
* solve Yesterday appear in all time leaderboard

* fixed value

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-05-29 12:12:29 +02:00
github-actions[bot]
f5d78e543e
Prettier fix (#4326)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2023-05-29 12:11:13 +02:00
Matteo Macaluso
1672212021
removed duplicate german quote (#4323) magicteo 2023-05-26 12:06:46 +02:00
Miodec
04007d5442 updated word 2023-05-26 11:46:58 +02:00
Matteo Macaluso
5f1ee8c754
removed duplicate spanish quote (#4320) magicteo 2023-05-25 23:47:10 +02:00
AntoninMayet
3ac2fc1fdb
Added 3 more quotes (#4319) AntoninMayet
* Added 3 more quotes

* Corrected typos

* Update french.json

* Update french.json

* Update french.json

* Corrected an earlier typo
2023-05-25 17:10:51 +02:00
Bilal Suleiman
63942e48d9
Added Italian Quotes (#4318) bsule
* added italian quotes

* length fix
2023-05-25 17:10:03 +02:00
Miodec
3bf1d77382 removed bad words 2023-05-25 14:49:58 +02:00
Miodec
4d015cbe2a removed bad word 2023-05-25 14:49:07 +02:00
Evan
0f51c384f6
Force mode2 to always be string (#4097) Ferotiq Miodec
* make a util type

* `StringNumber` in `leaderboards.ts`

* fix errors in`pb-tables.ts`

* remove string conversion

* update schemas

* refactor `checkAndUpdatePb`

* use string arrays

* parse the mode2 before comparing

* refactor types

* fallback to empty array

* complete the mode2 string conversion

* missed a few things

* assert

* fix tests

* those were meant to be arrays

* don't supply custom and zen by default

* update interfaces

* add `parseInt`

* rename

* apparently those weren't even needed

* updated type

* added types

* types

* added comment

* added comments, removed triple equals

* another comment and again removed type check

* making sure to include legacy results

* using template strings instead

* using template strings and triple equals

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-05-24 15:53:37 +02:00
Jack
642cb8095c
Revert "Add files via upload (#4280) WhosChester" (#4316)
This reverts commit 88c3d5dab2.
2023-05-24 13:03:23 +02:00
WhosChester
88c3d5dab2
Add files via upload (#4280) WhosChester
Resolved conflict? :(
2023-05-24 13:02:36 +02:00