Anki/ts/routes
Jarrett Ye 1f7f7bc8a3
Fix/FSRS simulator fallback to memory_state_from_sm2 when converting cards (#4189)
* Fix/FSRS simulator fallback to memory_state_from_sm2 for after setting “Ignore cards reviewed before”

* add comment to fsrs_item_for_memory_state

* Add historical retention field to FSRS review request and update related logic

- Added `historical_retention` field to `SimulateFsrsReviewRequest` in `scheduler.proto`.
- Updated `simulator.rs` to use `req.historical_retention` instead of the removed `desired_retention`.
- Modified `FsrsOptions.svelte` to include `historicalRetention` in the options passed to the component.

* Update rslib/src/scheduler/fsrs/memory_state.rs

Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>

* Update rslib/src/scheduler/fsrs/simulator.rs

Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>

* pass ci

* Update rslib/src/scheduler/fsrs/simulator.rs

Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>

* format

* Update rslib/src/scheduler/fsrs/simulator.rs

Co-authored-by: Luc Mcgrady <lucmcgrady@gmail.com>

* format

* Fix condition in is_included_card function to check CardType instead of CardQueue

---------

Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
Co-authored-by: Luc Mcgrady <lucmcgrady@gmail.com>
2025-07-09 16:22:59 +07: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 Fix/FSRS simulator fallback to memory_state_from_sm2 when converting cards (#4189) 2025-07-09 16:22:59 +07:00
graphs Update svelte/vite/esbuild for CWEs 2025-07-01 18:01:48 +07:00
image-occlusion Revert "Fix/unapplied scss (#4103)" (#4136) 2025-06-29 14:40:56 +07: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