Implement infinite words as an option to replace 10k words in typing test
Issues related
Fixes #9
Fixes an unreported bug where calling "Redo Same" will cause words to ignore "Show x words" setting
Fixes an unreported bug where changing "Show x words" setting during a test will cause wrong tracking of words being typed
PR details
Refactored some repetitive HTML code to make use of v-for instead in the setting dropdown options
Replaced 10k words option by "Infinite" option, where 1000 words (configured in a variable) are generated at a time and a new batch will be generated when user is 500 words (currently set as 50% of previous variable) away from finishing current word list
Option to "Show entire text" is disabled when "Infinite" words setting is selected
Autofocusing the input on reload was challenging to implement using native Vue hooks, there seems to be issues with the mount timing of the input element. Currently using a hard coded timeout to autofocus the input instead
Feature
Implement infinite words as an option to replace 10k words in typing test
Issues related
PR details