mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 12:47:11 -05:00
* Feat/per-deck desired retention * Refactor desired retention logic in Collection implementation Updated the logic for retrieving deck-specific desired retention in both `memory_state.rs` and `mod.rs` to handle cases where the deck's normal state may not be available. This change ensures that the default configuration is used when necessary, improving the robustness of the retention handling. * Refactor desired retention handling in FsrsOptions.svelte Updated the logic for effective desired retention to use the configuration default instead of the deck-specific value. This change improves consistency in the retention value used throughout the component, ensuring that the correct value is bound to the UI elements. * refactor the logic for obtaining deck-specific desired retention by using method chaining * support deck-specific desired retention when rescheduling * Refactor desired retention logic to use a dedicated method for improved clarity and maintainability. |
||
|---|---|---|
| .. | ||
| [deckId] | ||
| Addons.svelte | ||
| AdvancedOptions.svelte | ||
| AudioOptions.svelte | ||
| AutoAdvance.svelte | ||
| BuryOptions.svelte | ||
| CardStateCustomizer.svelte | ||
| choices.ts | ||
| ConfigSelector.svelte | ||
| DailyLimits.svelte | ||
| DateInput.svelte | ||
| deck-options-base.scss | ||
| DeckOptionsPage.svelte | ||
| DisplayOrder.svelte | ||
| EasyDays.svelte | ||
| EasyDaysInput.svelte | ||
| FsrsOptions.svelte | ||
| FsrsOptionsOuter.svelte | ||
| GlobalLabel.svelte | ||
| HtmlAddon.svelte | ||
| index.ts | ||
| LapseOptions.svelte | ||
| lib.test.ts | ||
| lib.ts | ||
| NewOptions.svelte | ||
| ParamsInput.svelte | ||
| ParamsInputRow.svelte | ||
| ParamsSearchRow.svelte | ||
| SaveButton.svelte | ||
| SimulatorModal.svelte | ||
| SpinBoxFloatRow.svelte | ||
| SpinBoxRow.svelte | ||
| steps.test.ts | ||
| steps.ts | ||
| StepsInput.svelte | ||
| StepsInputRow.svelte | ||
| TabbedValue.svelte | ||
| TextInputModal.svelte | ||
| TimerOptions.svelte | ||
| Warning.svelte | ||