Anki/pylib/anki/scheduler
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
..
__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 Ensure state mutator runs after card is rendered (#2421) 2023-03-16 16:31:00 +10:00