Anki/ts/routes
Jarrett Ye 46bcf4efa6
Feat/per-deck desired retention (#4194)
* 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.
2025-07-28 18:22:35 +10:00
..
card-info Update the default value of FSRS-6 decay in forgetting curve (#4096) 2025-06-19 13:25:30 +07:00
change-notetype Revert "Fix/unapplied scss (#4103)" (#4136) 2025-06-29 14:40:56 +07:00
congrats Revert "Fix/unapplied scss (#4103)" (#4136) 2025-06-29 14:40:56 +07:00
deck-options Feat/per-deck desired retention (#4194) 2025-07-28 18:22:35 +10:00
graphs FIX Graph Tooltip uses wrong font (#4193) 2025-07-12 13:41:22 +07:00
image-occlusion add io mask rotation snapping (#4214) 2025-07-22 14:32:42 +03:00
import-anki-package Revert "Fix/unapplied scss (#4103)" (#4136) 2025-06-29 14:40:56 +07:00
import-csv Allow creating deck via #deck:... if non-existent when importing (#4154) 2025-07-08 00:46:04 +07:00
import-page Revert "Fix/unapplied scss (#4103)" (#4136) 2025-06-29 14:40:56 +07:00
tmp Update to Svelte 5 (#3292) 2024-09-25 18:49:07 +10:00
+error.svelte Include error message text on page 2024-06-24 15:35:47 +07:00
+layout.svelte Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
+layout.ts Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
base.scss Fix deck config input's background color regression (#3258) 2024-06-28 18:52:51 +07:00