Anki/pylib/anki/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
..
__init__.py Backend Custom Study (#1600) 2022-01-20 14:25:22 +10:00
base.py Remember previous choices in reposition dialog (#1950) 2022-07-08 11:28:38 +10:00
legacy.py Move custom study tag and limit gathering+saving into the backend 2022-03-10 16:23:03 +10:00
v1.py Import submodules directly (#1662) 2022-02-13 13:40:47 +10:00
v2.py Don't rely on frontend to cap time taken in v3 2022-04-02 20:06:23 +10:00
v3.py Enable state-dependent custom scheduling data (#2049) 2022-09-05 16:48:01 +10:00