mirror of
https://github.com/ankitects/anki.git
synced 2026-09-10 06:20:47 -04:00
## Linked issue (required) Fixes https://github.com/ankitects/anki/issues/5327 ## Summary / motivation (required) Moving cards between decks used to clear the old FSRS data, without recomputing the new FSRS data. This led to some unwanted behavior like absence of memory states in card info, inaccurate searching and sorting in the browser, etc. ## Steps to reproduce (required, use N/A if not applicable) 1. Move some cards from one deck to another 2. The browser doesn't show any memory states. ## How to test (required) <!--- How to test: how you verified the change (checks, unit tests, manual steps, edge cases — the "after" or general validation). ---> ### Checklist (minimum) - [ ] I ran `./ninja check` or an equivalent relevant check locally. - [ ] I added or updated tests when the change is non-trivial or behavior changed. ### Details <!-- Commands, manual steps, edge cases, and what you observed --> ## Before / after behavior (optional) <!-- For bugfixes: behavior before vs after. For other types: N/A or a short note. --> ## Risk / compatibility / migration (optional) <!-- Breaking changes, rollout notes, or N/A for small / low-risk PRs --> ## UI evidence (required for visual changes; otherwise N/A) <!-- Screenshot or short video --> ## Scope - [x] This PR is focused on one change (no unrelated edits). --------- Co-authored-by: Luc Mcgrady <lucmcgrady@gmail.com> Co-authored-by: Fernando Lins <1887601+fernandolins@users.noreply.github.com>
Anki's Rust code.