Anki/rslib/src/scheduler
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
..
answering Enable state-dependent custom scheduling data (#2049) 2022-09-05 16:48:01 +10:00
filtered Improve temporary table handling (#1976) 2022-07-22 17:51:26 +10:00
queue Enable state-dependent custom scheduling data (#2049) 2022-09-05 16:48:01 +10:00
states Enable state-dependent custom scheduling data (#2049) 2022-09-05 16:48:01 +10:00
bury_and_suspend.rs Improve temporary table handling (#1976) 2022-07-22 17:51:26 +10:00
congrats.rs Expose backend_proto publicly for AnkiDroid, and rename to pb 2022-06-27 15:27:53 +10:00
learning.rs deckconf -> deckconfig 2021-04-20 21:54:24 +10:00
mod.rs Fix for crash with invalid dates on Windows (#1837) 2022-05-07 10:30:23 +10:00
new.rs Improve temporary table handling (#1976) 2022-07-22 17:51:26 +10:00
reviews.rs Improve temporary table handling (#1976) 2022-07-22 17:51:26 +10:00
timespan.rs Fix number of days in a (standard) year 2022-06-13 09:09:27 +10:00
timing.rs suppress some tests around the daily rollover 2021-05-24 14:18:07 +10:00
upgrade.rs Improve temporary table handling (#1976) 2022-07-22 17:51:26 +10:00