diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 64c831d14bc..b0bb6b97dd0 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -189,6 +189,7 @@ Dillon Baldwin Voczi Ben Nguyen <105088397+bpnguyen107@users.noreply.github.com> Themis Demetriades + ******************** The text of the 3 clause BSD license follows: diff --git a/ts/routes/deck-options/AdvancedOptions.svelte b/ts/routes/deck-options/AdvancedOptions.svelte index 48d486b3818..2bc95668cbe 100644 --- a/ts/routes/deck-options/AdvancedOptions.svelte +++ b/ts/routes/deck-options/AdvancedOptions.svelte @@ -19,6 +19,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 DateInput from "./DateInput.svelte"; export let state: DeckOptionsState; export let api: Record; @@ -39,6 +40,11 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html help: tr.deckConfigHistoricalRetentionTooltip(), sched: HelpItemScheduler.FSRS, }, + ignoreRevlogsBeforeMs: { + title: tr.deckConfigIgnoreBefore(), + help: tr.deckConfigIgnoreBeforeTooltip2(), + sched: HelpItemScheduler.FSRS, + }, startingEase: { title: tr.schedulingStartingEase(), help: tr.deckConfigStartingEaseTooltip(), @@ -216,6 +222,19 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html {tr.deckConfigHistoricalRetention()} + + + + + openHelpModal( + Object.keys(settings).indexOf("ignoreRevlogsBeforeMs"), + )} + > + {tr.deckConfigIgnoreBefore()} + + + {/if} diff --git a/ts/routes/deck-options/DateInput.svelte b/ts/routes/deck-options/DateInput.svelte index 9af3dd9f0c4..a3cba4f5315 100644 --- a/ts/routes/deck-options/DateInput.svelte +++ b/ts/routes/deck-options/DateInput.svelte @@ -13,11 +13,11 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
- - + + - + diff --git a/ts/routes/deck-options/FsrsOptions.svelte b/ts/routes/deck-options/FsrsOptions.svelte index 569dee9ddc9..319095e3e7e 100644 --- a/ts/routes/deck-options/FsrsOptions.svelte +++ b/ts/routes/deck-options/FsrsOptions.svelte @@ -25,7 +25,6 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html import SettingTitle from "$lib/components/SettingTitle.svelte"; import SwitchRow from "$lib/components/SwitchRow.svelte"; - import DateInput from "./DateInput.svelte"; import GlobalLabel from "./GlobalLabel.svelte"; import type { DeckOptionsState } from "./lib"; import SpinBoxFloatRow from "./SpinBoxFloatRow.svelte"; @@ -374,11 +373,6 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html placeholder={defaultWeightSearch} /> - - openHelpModal("ignoreBefore")}> - {tr.deckConfigIgnoreBefore()} - -