datle-dev / yubi

Minimalist typing test
MIT License
0 stars 0 forks source link

Word count for timed mode is dependent on count in word mode #14

Closed datle-dev closed 3 months ago

datle-dev commented 3 months ago

Expected Behavior

In timed mode, there should be a steady stream of words made available until the test is completed. The user should not run out of words.

Actual Behavior

In timed mode, the typing window is only populated with the number of words corresponding to the count specified in word mode. So you have to switch to word mode, update the word count, then return to typing mode to have enough words to type on for a longer test e.g. 60s, 120s.

The test is also marked complete as soon as the last word is reached regardless of time remaining in the countdown.

Steps to Reproduce the Problem

  1. On page load, start the timed test
  2. More words are not added, so upon reaching and completing the last word, the test is marked done.
  3. You must click on the word mode button, then select a word count to update the typing test config before more words are added for the timed typing test.
datle-dev commented 3 months ago

This has been addressed in PR #17, so marking this issue as closed.