* Added Optional Background Data sharing to Theme Share URL, and updated URL Handling to support new JSON format
* Fixed Clipboard Fail Popup
* Do it Properly this time
* Prettier
* err
* err
* removed one margin, updated the other
* updated button text
* updated type
* unnecessary await
* more descriptive variable names
* using shorter param names (urls are limited in length)
* level 1 instead of 0
* better notifications when copying failed
---------
Co-authored-by: Miodec <jack@monkeytype.com>
* Add section input
* Restore code
* Cleaner approach
* Correct current index
* Remove import
* Call punctuation, numbers, funboxes on all words in section
* Plus n adds n words instead of n sections
* Undo
* Fix normal test
* Replace word with section when delimiter is checked
* Restore
* Set progress to current section / section total
* Fix memory funbox
* Fix randomcase
* Fix text generation when random is not enabled
* no word limit if in random section mode
* instead of using a for loop, using a while loop and stopping dynamically
* handling getting next section
tracking section history to avoid repeating sections
* test
* Revert "test"
This reverts commit 50d20fff3d.
* allowing infinite
* fixed words not being added after the first word generation
* not checking section index if infinite word
* throwing if word contains a space (should never happen)
* removed/reverted old approach to this feature
* using input history everytime for now until a better solution is found
* removed unused import
* exporting section index and current section
* code used by the previous approach, most likely will be deleted
* revered a change this pr makes (idk why this was deleted)
* missing comment
* removed comment
* added section progress tracking
word generator now returns a list of section indexes, which is stored in test words module
this array is then used to determine which section the current word belongs to inside timer progress
* better errors
* replacing multiple spaces with one
replacing starting and trailing spaces before splitting
* fixed pipe delmiter non random custom text not working
* extracted logic into constants to make the if statement easier to understand and expand in the future
---------
Co-authored-by: Miodec <jack@monkeytype.com>
* fixed not being able to start an infinite custom test
* moved words bound function to a different file
* moved wordset class to the wordset file
* moved more code to test words
* moved to to new words generator
* removed unnecessary function
* unnecessary function
* reordered functions
* pushing to ret instead
* reordered lines
* moved code to a function, merged two functions into one
* refactor
* reorder
* removed comment
* setting config to array instead
* moved code
* added a check to protect against infinite init loop
* small refactor
* moved wordset definition
* moved text has tab check to the end
* moved ß replacement to getNextWord
* tracking current quote
* removed comment
* fixed type
* delaying words height and input position update
* moved tab testing code outside the word generato
* removed console log
* removed unnecessary word count variable
* moved funbox section to its own function
* fixed custom text not working correctly
* passing in previous words instead of always getting it from testwords
* missing type definition
* get next word now always returns one word, keeps track of the current section (mutli word "word")
* fixed incorrect limit for custom mode
* tracking section index
* - not updating language when group is other
- activating funbox after language has been loaded
- combined 2 language checks into 1
- awaiting init calls
* greater or equal
* removed comment
* extracted quote generation to its own function
* prettier
* fix: add role missing in aria-label
* fix: add web-kit option to support safari browsers
* fix: change div to link to keep the structure of the others
* fix:add rel to avoid tab access with window.opener
* fix: add missing roles when using aria-label
* fix: delete placeholders
* fix:add webkit to all,comment unused css selectors
* removed placeholder
---------
Co-authored-by: Miodec <jack@monkeytype.com>