Anki/pylib/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
..
_vendor
foreign_data
importing
scheduler Ensure state mutator runs after card is rendered (#2421) 2023-03-16 16:31:00 +10:00
_backend.py Rework syncing code, and replace local sync server (#2329) 2023-01-18 12:43:46 +10:00
_legacy.py
_rsbridge.pyi Rework syncing code, and replace local sync server (#2329) 2023-01-18 12:43:46 +10:00
browser.py
cards.py
collection.py Implement TTS using windows crate (#2371) 2023-02-17 12:26:07 +10:00
config.py
consts.py
db.py
dbproxy.py
decks.py
errors.py Refactor error handling (#2136) 2022-10-21 18:02:12 +10:00
exporting.py
find.py
hooks.py
httpclient.py
lang.py
latex.py
media.py
models.py
notes.py
py.typed
rsbackend.py
sound.py
stats.py Fix some more RTL issues (#2244) 2022-12-08 22:29:56 +10:00
statsbg.py
stdmodels.py
storage.py
sync.py
syncserver.py Rework syncing code, and replace local sync server (#2329) 2023-01-18 12:43:46 +10:00
tags.py
template.py
types.py
utils.py