Anki/proto/anki
RumovZ bd88c6d352
Ensure state mutator runs after card is rendered (#2421)
* Ensure state mutator runs after card is rendered

* Ensure ease buttons only show when states are ready

* Pass context into states mutator

* Revert queuing of state mutator hook

Now that context data is exposed users shouldn't rely on the question
having been rendered anymore.

* Use callbacks instead of signals and timeout

... to track whether the states mutator ran or failed.

* Make mutator async

* Remove State enum

* Reduce requests and compute seed on backend
2023-03-16 16:31:00 +10:00
..
ankidroid.proto Integrate AnkiDroid's backend patches into the repo (#2290) 2023-01-03 13:11:23 +10:00
backend.proto Implement TTS using windows crate (#2371) 2023-02-17 12:26:07 +10:00
card_rendering.proto Implement TTS using windows crate (#2371) 2023-02-17 12:26:07 +10:00
cards.proto Add card meta for persisting custom scheduling state (#2040) 2022-09-02 11:22:49 +10:00
collection.proto Integrate AnkiDroid's backend patches into the repo (#2290) 2023-01-03 13:11:23 +10:00
config.proto Remember previous choices in reposition dialog (#1950) 2022-07-08 11:28:38 +10:00
deckconfig.proto Revert bury restriction (#2432) 2023-03-11 17:49:18 +10:00
decks.proto Add non-legacy backend interface for adding new decks 2022-09-04 14:12:29 +10:00
generic.proto Add java_multiple_files option to proto files 2022-06-27 15:16:04 +10:00
i18n.proto Add java_multiple_files option to proto files 2022-06-27 15:16:04 +10:00
import_export.proto Deck scoped dupe check (#2372) 2023-02-16 17:53:36 +10:00
links.proto Add java_multiple_files option to proto files 2022-06-27 15:16:04 +10:00
media.proto Add option to tag notes with missing media (#2379) 2023-02-20 18:48:09 +10:00
notes.proto Add java_multiple_files option to proto files 2022-06-27 15:16:04 +10:00
notetypes.proto Introduce setting to collapse field by default (#1990) 2022-08-31 23:34:39 +10:00
scheduler.proto Ensure state mutator runs after card is rendered (#2421) 2023-03-16 16:31:00 +10:00
search.proto Allow burying cards in browser (#2351) 2023-01-30 19:21:06 +10:00
stats.proto Show custom data in stats screen 2023-02-07 12:27:43 +10:00
sync.proto Allow the network timeout to be customized 2023-02-08 14:33:02 +10:00
tags.proto Add java_multiple_files option to proto files 2022-06-27 15:16:04 +10:00