mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04: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. |
||
---|---|---|
.. | ||
benches | ||
i18n | ||
io | ||
linkchecker | ||
process | ||
proto | ||
proto_gen | ||
src | ||
sync | ||
tests/support | ||
.gitignore | ||
bench.sh | ||
build.rs | ||
Cargo.toml | ||
README.md | ||
rust_interface.rs |
Anki's Rust code.