jdlorimer / incremental-reading

Anki add-on providing incremental reading features
https://ankiweb.net/shared/info/935264945
ISC License
217 stars 38 forks source link

don't reschedule suspended cards #105

Open AlexRiina opened 4 years ago

AlexRiina commented 4 years ago

Every time reposition runs, it lists all IR cards and sorts them, but this includes suspended cards which interrupts what I think is a good workflow https://github.com/luoliyan/incremental-reading/issues/96

My ideal work flow would be

This allows the suspending part of the workflow to continue working.

AlexRiina commented 4 years ago

Codacity doesn't like the sqlite with string interpolation as a security risk, but the value that is interpolated is not a user defined value. The style I have is consistent with the anki core style e.g. https://github.com/ankitects/anki/blob/862e2b48f06dadf414d171d2cfdc4ac3ad79e7da/pylib/anki/sched.py#L747