Commit graph

9586 commits

Author SHA1 Message Date
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
ebcc212605 catching drop errors, should fix #4440 2023-07-21 13:04:18 +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
Miodec
685668a6b8 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
93c14d6728 stricter schemas 2023-07-17 14:39:59 +02:00
Miodec
6e1e2c6e8f stricter schema 2023-07-17 14:33:26 +02:00
Miodec
30a2b301eb checking if user is admin instead 2023-07-17 14:19:23 +02:00
Miodec
469bdfe32f validation 2023-07-17 13:59:27 +02:00
Miodec
1a8f0b8f18 stricter validation 2023-07-17 13:54:24 +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
f1b79f0bd8 removed some words 2023-07-12 16:40:10 +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
afd2d3442e found the issue 2023-07-01 11:18:09 +02:00
Miodec
3a822f8b4f added todo 2023-07-01 11:04:52 +02:00
Miodec
6645dbc2f7 added log to try to catch an error 2023-07-01 11:04:07 +02:00
Miodec
da289b96b1 escaping character 2023-07-01 00:25:32 +02:00
Miodec
555318d0bc updated font family schema 2023-07-01 00:24:57 +02:00