diff --git a/ts/deckoptions/Addons.svelte b/ts/deckoptions/Addons.svelte index 68f74090c..871748d2f 100644 --- a/ts/deckoptions/Addons.svelte +++ b/ts/deckoptions/Addons.svelte @@ -7,12 +7,14 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html import type { DeckOptionsState } from "./lib"; export let state: DeckOptionsState; + export let api: Record; + let components = state.addonComponents; const auxData = state.currentAuxData; {#if $components.length || state.haveAddons} - +

If you're using an add-on that hasn't been updated to use this new screen yet, you can access the old deck options screen by holding down the shift diff --git a/ts/deckoptions/AdvancedOptions.svelte b/ts/deckoptions/AdvancedOptions.svelte index 861dfa6c4..e6f8f2375 100644 --- a/ts/deckoptions/AdvancedOptions.svelte +++ b/ts/deckoptions/AdvancedOptions.svelte @@ -10,11 +10,13 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html import type { DeckOptionsState } from "./lib"; export let state: DeckOptionsState; + export let api: Record; + let config = state.currentConfig; let defaults = state.defaults; - + ; + let config = state.currentConfig; let defaults = state.defaults; - + - - - - - {tr.deckConfigBuryNewSiblings()} - - - - - - - + + + {tr.deckConfigBuryNewSiblings()} + - - - - {tr.deckConfigBuryReviewSiblings()} - - - - - - - + + {tr.deckConfigBuryReviewSiblings()} + diff --git a/ts/deckoptions/ConfigEditor.svelte b/ts/deckoptions/ConfigEditor.svelte deleted file mode 100644 index a91c1fe14..000000000 --- a/ts/deckoptions/ConfigEditor.svelte +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - - - - - - - - - - - - - {#if state.v3Scheduler} - - - - {/if} - - - - - - - - - - - - - - diff --git a/ts/deckoptions/DailyLimits.svelte b/ts/deckoptions/DailyLimits.svelte index 4f1eeaa6c..3c768be55 100644 --- a/ts/deckoptions/DailyLimits.svelte +++ b/ts/deckoptions/DailyLimits.svelte @@ -5,11 +5,14 @@ - - - {tr.schedulingNewCardsday()} - + + + + {tr.schedulingNewCardsday()} + - + + - - {tr.schedulingMaximumReviewsday()} - + + + {tr.schedulingMaximumReviewsday()} + - + + diff --git a/ts/deckoptions/DeckOptionsPage.svelte b/ts/deckoptions/DeckOptionsPage.svelte index 93a474e90..29aa27774 100644 --- a/ts/deckoptions/DeckOptionsPage.svelte +++ b/ts/deckoptions/DeckOptionsPage.svelte @@ -4,7 +4,18 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html --> - + + + + + + + + + + + + + + + + + {#if state.v3Scheduler} + + + + {/if} + + + + + + + + + + + + + + diff --git a/ts/deckoptions/DisplayOrder.svelte b/ts/deckoptions/DisplayOrder.svelte index 9f80c9ae3..e597d72ef 100644 --- a/ts/deckoptions/DisplayOrder.svelte +++ b/ts/deckoptions/DisplayOrder.svelte @@ -11,6 +11,8 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html import { reviewMixChoices } from "./strings"; export let state: DeckOptionsState; + export let api: Record; + let config = state.currentConfig; let defaults = state.defaults; @@ -36,7 +38,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html ]; - + - + - + ; + let config = state.currentConfig; let defaults = state.defaults; - +