Anki/rslib/src/scheduler/answering
Damien Elmes b466f0ce90 rework undo
- use dataclasses for the review/checkpoint undo cases, instead of the
nasty ad-hoc list structure
- expose backend review undo to Python, and hook it into GUI
- redo is not currently exposed on the GUI, and the backend can only
cope with reviews done by the new scheduler at the moment
- the initial undo prototype code was bumping mtime/usn on undo, but
that was not ideal, as it was breaking the queue handling which expected
the mtime to match. The original rationale for bumping mtime/usn was
to avoid problems with syncing, but various operations like removing
a revlog can't be synced anyway - so we just need to ensure we clear the
undo queue prior to syncing
2021-03-10 11:47:53 +10:00
..
current.rs switch to 4 buttons when previewing in test scheduler 2021-03-01 23:47:00 +10:00
learning.rs split rescheduling_filter, and more tidyups 2021-02-23 17:35:20 +10:00
mod.rs support undoing deck mutations 2021-03-10 11:47:53 +10:00
preview.rs switch to 4 buttons when previewing in test scheduler 2021-03-01 23:47:00 +10:00
relearning.rs initial work on undoing reviews+burying siblings 2021-03-10 11:47:53 +10:00
review.rs switch to 4 buttons when previewing in test scheduler 2021-03-01 23:47:00 +10:00
revlog.rs initial work on undoing reviews+burying siblings 2021-03-10 11:47:53 +10:00
undo.rs rework undo 2021-03-10 11:47:53 +10:00