* 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>
* 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
* 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>
* 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
* 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>
* 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>
* "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>
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)
* 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>
* 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>
* 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>
* 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
* 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>
* 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
* 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
* 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
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.
* 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>
* 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>
* 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>
* 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>