Closed glazari closed 11 months ago
This would solve the issue I created: https://github.com/max-niederman/ttyper/issues/88 And it also goes in the direction of ttyperV2: https://github.com/max-niederman/ttyper/issues/83
Thanks for reviewing my PR and suggesting updates. I made the updates you suggested!
thanks again for the nice project
Motivation
Monkeytype has the possibility of training just the words that you miss and this seems like a straight forward thing to add.
Implementation
Main change is to add a mssed_words item to the Result struct
And on the Results State, listen for 'p' (practice) to start a new test from missed words.
For the
Results
struct I did a very small refactor in theFrom<&Test>
Trait implementation. I moved the calculation of each result to its own function, to leave the From function easier to follow.