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. |
||
|---|---|---|
| .. | ||
| addupdate.rs | ||
| counts.rs | ||
| current.rs | ||
| filtered.rs | ||
| limits.rs | ||
| mod.rs | ||
| name.rs | ||
| remove.rs | ||
| reparent.rs | ||
| schema11.rs | ||
| service.rs | ||
| stats.rs | ||
| tree.rs | ||
| undo.rs | ||