From 9a027a8c48d36dc167f3cd724efd16828df18e5a Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Thu, 26 Oct 2023 08:25:31 +1000 Subject: [PATCH] Warn users about rescheduling --- ftl/core/deck-config.ftl | 4 +++- ts/deck-options/FsrsOptions.svelte | 5 +++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ftl/core/deck-config.ftl b/ftl/core/deck-config.ftl index 6e628796b..0deee416d 100644 --- a/ftl/core/deck-config.ftl +++ b/ftl/core/deck-config.ftl @@ -365,7 +365,9 @@ deck-config-reschedule-cards-on-change-tooltip = This option controls whether the due dates of cards will be changed when you enable FSRS, or change the weights. The default is not to reschedule cards: future reviews will use the new scheduling, but there will be no immediate change to your workload. If rescheduling is enabled, the due dates of cards - will be changed. Depending on your desired retention, this can result in a large number of cards becoming + will be changed. +deck-config-reschedule-cards-warning = + Depending on your desired retention, this can result in a large number of cards becoming due, so is not recommended when first switching from SM2. deck-config-compute-optimal-weights-tooltip = Once you've done 1000+ reviews in Anki, you can use the Optimize button to analyze your review history, diff --git a/ts/deck-options/FsrsOptions.svelte b/ts/deck-options/FsrsOptions.svelte index 0bcf9276e..4aca091c6 100644 --- a/ts/deck-options/FsrsOptions.svelte +++ b/ts/deck-options/FsrsOptions.svelte @@ -22,6 +22,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html import type { DeckOptionsState } from "./lib"; import SpinBoxFloatRow from "./SpinBoxFloatRow.svelte"; import SpinBoxRow from "./SpinBoxRow.svelte"; + import Warning from "./Warning.svelte"; import WeightsInputRow from "./WeightsInputRow.svelte"; export let state: DeckOptionsState; @@ -237,6 +238,10 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html {tr.deckConfigRescheduleCardsOnChange()} + + {#if $config.rescheduleFsrsCards} + + {/if}