mirror of
https://github.com/ankitects/anki.git
synced 2025-11-25 05:57: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. |
||
|---|---|---|
| .. | ||
| ankidroid.proto | ||
| ankihub.proto | ||
| ankiweb.proto | ||
| backend.proto | ||
| card_rendering.proto | ||
| cards.proto | ||
| collection.proto | ||
| config.proto | ||
| deck_config.proto | ||
| decks.proto | ||
| frontend.proto | ||
| generic.proto | ||
| i18n.proto | ||
| image_occlusion.proto | ||
| import_export.proto | ||
| links.proto | ||
| media.proto | ||
| notes.proto | ||
| notetypes.proto | ||
| scheduler.proto | ||
| search.proto | ||
| stats.proto | ||
| sync.proto | ||
| tags.proto | ||