mirror of
https://github.com/ankitects/anki.git
synced 2025-11-08 13:47:13 -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. |
||
|---|---|---|
| .. | ||
| editable | ||
| editor | ||
| html-filter | ||
| icons | ||
| lib | ||
| mathjax | ||
| reviewer | ||
| routes | ||
| src | ||
| tools | ||
| .gitignore | ||
| bundle_svelte.mjs | ||
| bundle_ts.mjs | ||
| licenses.json | ||
| page.html | ||
| README.md | ||
| svelte.config.js | ||
| transform_ts.mjs | ||
| tsconfig.json | ||
| tsconfig_legacy.json | ||
| vite.config.ts | ||
| yarn.sh | ||
Anki's TypeScript and Sass dependencies. Some TS/JS code is also stored separately in ../qt/aqt/data/web/.
To update all dependencies:
./update.sh
To add a new dev dependency, use something like:
./add.sh -D @rollup/plugin-alias