jcklie / anki-maobi

máobĭ (毛笔) is an Anki add-on to create cards with writing quizzes for Hanzi (Chinese characters)
MIT License
47 stars 7 forks source link

Restarting Quizzes #28

Closed arueckle closed 4 years ago

arueckle commented 4 years ago

Is your feature request related to a problem? Please describe. No

Describe the solution you'd like Restarting quizzes would be really helpful in combination with the reveal character button (#21 ) to learn new characters. The implementation could be similar to #21 but it would instead clear all canvases and restart the quiz (also clearing any outlines in HanziWriter).

Describe alternatives you've considered There are no good alternatives. After a quiz is completed in 0.4.0, it cannot be restarted within the same view. The only option is to see the same card later in the same learning session.

Additional context Add any other context or screenshots about the feature request here.

arueckle commented 4 years ago

Implemented in Restarting Quizzes

arueckle commented 4 years ago

It would also be good to offer an option to only restart the quiz of the current character in a multi-character quiz (e.g., to clear the outline after revealing only one character and then trying again)

arueckle commented 4 years ago

I changed the restarting logic: If current Hanzi quiz has completed strokes, restart only the quiz of this Hanzi. Otherwise clear all and restart from first Hanzi.

jcklie commented 4 years ago

Do you want to open a pull request for this?

arueckle commented 4 years ago

Yes, I will open a PR as soon as I have tested the feature a bit more. Probably end of the week.