anki/proto
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
..
anki Enable state-dependent custom scheduling data (#2049) 2022-09-05 16:48:01 +10:00
.clang-format move protobuf into separate folder in preparation for multiple files 2021-07-09 21:02:40 +10:00
.top_level refactor protobuf handling for split/import 2021-07-10 19:17:05 +10:00
BUILD.bazel refactor protobuf handling for split/import 2021-07-10 19:17:05 +10:00
clang_format.bzl set local=False for python/protoc/clang 2021-11-01 11:38:20 +10:00
format.py move protobuf into separate folder in preparation for multiple files 2021-07-09 21:02:40 +10:00
protobuf.bzl Add support for proto3 optional scalars 2022-02-27 19:42:06 +10:00