Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Upgrade flashcard algorithm to FSRSv4 Fix https://github.com/siyuan-note/siyuan/issues/8843 Rating 相关问题 https://github.com/siyuan-note/riff/issues/2

Daniel36fe9e116e98
diff --git a/app/src/card/openCard.ts b/app/src/card/openCard.ts
index 1427ea4ce6..19d5d72152 100644
--- a/app/src/card/openCard.ts
+++ b/app/src/card/openCard.ts
@@ -349,7 +349,7 @@ export const bindCardEvent = (options: {
}
return;
}
- if (["0", "1", "2", "3", "-3"].includes(type) && actionElements[0].classList.contains("fn__none")) {
+ if (["1", "2", "3", "4", "-3"].includes(type) && actionElements[0].classList.contains("fn__none")) {
fetchPost(type === "-3" ? "/api/riff/skipReviewRiffCard" : "/api/riff/reviewRiffCard", {
deckID: options.blocks[index].deckID,
cardID: options.blocks[index].cardID,