Anki/ts/routes
Jarrett Ye 59e143ec25
Feat/support load balance and easy days in rescheduling (#3815)
* Feat/support load balance and easy days in rescheduling

* ./ninja fix:minilints

* apply clippy

* reuse calculate_easy_days_modifiers()

* consider LoadBalancerEnabled

* move calculate_easy_days_modifiers out of struct

* improve naming & add comments

* apply clippy

* reschedule if easy days settings are changed

* Minor simplification

* refactor to share code between load balancer and rescheduler

* intervals_and_params -> intervals_and_weights

* find_best_interval -> select_weighted_interval

* cargo clippy

* add warning about easyDaysChanged

* compare arrays directly

* Don't show warning if fsrs+rescehdule is already enabled

---------

Co-authored-by: Damien Elmes <gpg@ankiweb.net>
Co-authored-by: Jake Probst <jake.probst@gmail.com>
2025-02-18 13:44:00 +07:00
..
card-info Add margin to the bottom of forgetting curve (#3805) 2025-02-11 15:46:36 +07:00
change-notetype Reduce use of type casting (#3723) 2025-01-12 20:05:05 +11:00
congrats Restore the missing external congrats page 2025-01-24 16:21:36 +11:00
deck-options Feat/support load balance and easy days in rescheduling (#3815) 2025-02-18 13:44:00 +07:00
graphs Delete y-axis titles for graphs (#3789) 2025-02-06 14:17:39 +07:00
image-occlusion Remove unfinished polygon when undoing and redoing in IO mode (#3759) 2025-01-25 10:08:47 +03:00
import-anki-package Reduce use of type casting (#3723) 2025-01-12 20:05:05 +11:00
import-csv Cap preview cols to prevent stall when csv is parsed with the wrong delimiter (#3786) 2025-02-06 14:23:43 +07:00
import-page Reduce use of type casting (#3723) 2025-01-12 20:05:05 +11: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