datle-dev / yubi

Minimalist typing test
MIT License
0 stars 0 forks source link

Add buttons for setting typing test configuration #11

Closed datle-dev closed 4 months ago

datle-dev commented 4 months ago

Changes

Major Changes

Add buttons to change the type of test and choose options for a given test (duration of timed test or number of words).

Bug Fixes / Minor Changes

N/A

Why

There should be an easy way to configure the typing test.

How

Buttons are added for each of the types of tests (timed, words). Depending on which is active, a separate ConfigOptions.jsx component renders the options. Each option is a button with a custom attribute that handle functions read and set the config state object accordingly.

Notes

N/A