Warn users about rescheduling

This commit is contained in:
Damien Elmes 2023-10-26 08:25:31 +10:00
parent 2781d47d21
commit 9a027a8c48
2 changed files with 8 additions and 1 deletions

View File

@ -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,

View File

@ -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()}
</SettingTitle>
</SwitchRow>
{#if $config.rescheduleFsrsCards}
<Warning warning={tr.deckConfigRescheduleCardsWarning()} />
{/if}
</div>
<div class="m-2">