Anki/rslib/src/scheduler/answering
RumovZ e39fb74e82
Enable state-dependent custom scheduling data (#2049)
* Enable state-dependent custom scheduling data

* Next(Card)States -> SchedulingStates

The fact that `current` was included in `next` always bothered me,
and custom data is part of the card state, so that was a bit confusing
too.

* Store custom_data in SchedulingState

* Make custom_data optional when answering

Avoids having to send it 4 extra times to the frontend, and avoids the
legacy answerCard() API clobbering the stored data.

Co-authored-by: Damien Elmes <gpg@ankiweb.net>
2022-09-05 16:48:01 +10:00
..
current.rs tidy up Rust imports 2021-04-18 18:38:54 +10:00
learning.rs Original position (#1677) 2022-02-22 22:48:21 +10:00
mod.rs Enable state-dependent custom scheduling data (#2049) 2022-09-05 16:48:01 +10:00
preview.rs Enable state-dependent custom scheduling data (#2049) 2022-09-05 16:48:01 +10:00
relearning.rs Original position (#1677) 2022-02-22 22:48:21 +10:00
review.rs Original position (#1677) 2022-02-22 22:48:21 +10:00
revlog.rs filtered decks w/ scheduling disabled in v3 now log reviews 2021-08-19 20:25:29 +10:00