* 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>
* 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>
* 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>
* Add short bulgarian quotes
* Remove shorter quotes and add ones longer than 60 characters
* added missing groups
---------
Co-authored-by: Miodec <jack@monkeytype.com>