Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@L-M-Sherlock
Copy link
Contributor

@L-M-Sherlock L-M-Sherlock commented May 26, 2025

modified from #3688, fix #3701

warning: it assumes the previous due and ivl are correct.

@dae dae merged commit 1e6d12b into ankitects:main May 26, 2025
1 check passed
@L-M-Sherlock L-M-Sherlock deleted the Set-Due-Date-Set-interval-to-actual-elapsed-days-when-FSRS-is-enabled branch May 26, 2025 13:39
} else {
self.interval
};
let fsrs_enabled = self.memory_state.is_some();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this work if the card lacks memory states because it has been moved between decks?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, but I have not other good solution to know whether this card is scheduled by FSRS without looking at the collection global setting.

@user1823
Copy link
Contributor

warning: it assumes the previous due and ivl are correct.

This will cause issues in cases where the ivl or due are incorrect due to a prior use of Set Due Date or the use of add-ons. Is it really not possible to use the revlog, like my attempt in #3688?

@L-M-Sherlock
Copy link
Contributor Author

Is it really not possible to use the revlog, like my attempt in #3688?

Set Due Date is operation which support batch process. Using revlog will slow down it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Set due date + FSRS + forced interval

3 participants