Anki/ts
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
..
editable Reduce use of type casting (#3723) 2025-01-12 20:05:05 +11:00
editor Use tilted (filled and unfilled) sticky icons in the cards editor (#3825) 2025-02-16 22:24:11 +07:00
html-filter Reduce use of type casting (#3723) 2025-01-12 20:05:05 +11:00
icons Use tilted (filled and unfilled) sticky icons in the cards editor (#3825) 2025-02-16 22:24:11 +07:00
lib Use tilted (filled and unfilled) sticky icons in the cards editor (#3825) 2025-02-16 22:24:11 +07:00
mathjax Issue 2563 - remove mhchem (#3705) 2025-01-09 22:24:39 +11:00
reviewer Reduce use of type casting (#3723) 2025-01-12 20:05:05 +11:00
routes Feat/support load balance and easy days in rescheduling (#3815) 2025-02-18 13:44:00 +07:00
src ts/src/app.html: Changed from favicon.png to favicon.ico (#3485) 2024-10-11 22:25:58 +10:00
tools Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
.gitignore Update eslint to 4.22.0 2021-04-22 19:19:39 +02:00
bundle_svelte.mjs Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
bundle_ts.mjs Add env var to enable sourcemaps 2022-12-04 11:37:16 +10:00
licenses.json Update vitest and unpin vite 2024-10-26 18:41:59 +10:00
page.html Load page script after body created (#1802) 2022-04-19 17:16:56 +10:00
README.md add add.sh helper for adding dependency and updating licenses 2020-12-31 12:20:51 +10:00
svelte.config.js Fix import order 2024-05-17 17:11:28 +07:00
transform_ts.mjs Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
tsconfig.json Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
tsconfig_legacy.json Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
vite.config.ts Update vitest and unpin vite 2024-10-26 18:41:59 +10:00
yarn.sh Fix yarn.sh failing with linked out folder 2023-03-31 13:08:59 +10:00

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