Anki/ts
Damien Elmes 5004cd332b
Integrate FSRS into Anki (#2654)
* Pack FSRS data into card.data

* Update FSRS card data when preset or weights change

+ Show FSRS stats in card stats

* Show a warning when there's a limited review history

* Add some translations; tweak UI

* Fix default requested retention

* Add browser columns, fix calculation of R

* Property searches

eg prop:d>0.1

* Integrate FSRS into reviewer

* Warn about long learning steps

* Hide minimum interval when FSRS is on

* Don't apply interval multiplier to FSRS intervals

* Expose memory state to Python

* Don't set memory state on new cards

* Port Jarret's new tests; add some helpers to make tests more compact

https://github.com/open-spaced-repetition/fsrs-rs/pull/64

* Fix learning cards not being given memory state

* Require update to v3 scheduler

* Don't exclude single learning step when calculating memory state

* Use relearning step when learning steps unavailable

* Update docstring

* fix single_card_revlog_to_items (#2656)

* not need check the review_kind for unique_dates

* add email address to CONTRIBUTORS

* fix last first learn & keep early review

* cargo fmt

* cargo clippy --fix

* Add Jarrett to about screen

* Fix fsrs_memory_state being initialized to default in get_card()

* Set initial memory state on graduate

* Update to latest FSRS

* Fix experiment.log being empty

* Fix broken colpkg imports

Introduced by "Update FSRS card data when preset or weights change"

* Update memory state during (re)learning; use FSRS for graduating intervals

* Reset memory state when cards are manually rescheduled as new

* Add difficulty graph; hide eases when FSRS enabled

* Add retrievability graph

* Derive memory_state from revlog when it's missing and shouldn't be

---------

Co-authored-by: Jarrett Ye <jarrett.ye@outlook.com>
2023-09-16 16:09:26 +10:00
..
card-info Integrate FSRS into Anki (#2654) 2023-09-16 16:09:26 +10:00
change-notetype Combine all backend methods into a single js/d.ts file, like in Python 2023-07-03 13:46:38 +10:00
components Tooltips for CSV import and import page refactoring (#2655) 2023-09-14 09:06:15 +10:00
congrats Combine all backend methods into a single js/d.ts file, like in Python 2023-07-03 13:46:38 +10:00
deck-options Integrate FSRS into Anki (#2654) 2023-09-16 16:09:26 +10:00
domlib Fix overwrite surround (#2247) 2022-12-09 10:10:58 +10:00
editable Update to Svelte 4, and update most other JS deps (#2565) 2023-07-01 16:21:53 +10:00
editor Add ability to tab to DuplicateLink (#2646) 2023-09-09 09:03:04 +10:00
fields Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
graphs Integrate FSRS into Anki (#2654) 2023-09-16 16:09:26 +10:00
html-filter Detect incorrect usage of triple slash in TypeScript (#2524) 2023-05-26 12:49:44 +10:00
icons Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
image-occlusion Fix some issues with undo/redo in mask editor (#2649) 2023-09-10 13:26:41 +10:00
import-anki-package Tooltips for CSV import and import page refactoring (#2655) 2023-09-14 09:06:15 +10:00
import-csv Tooltips for CSV import and import page refactoring (#2655) 2023-09-14 09:06:15 +10:00
import-page Tooltips for CSV import and import page refactoring (#2655) 2023-09-14 09:06:15 +10:00
lib Integrate FSRS into Anki (#2654) 2023-09-16 16:09:26 +10:00
mathjax Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
reviewer Improve presentation of importing results (#2568) 2023-08-02 20:29:44 +10:00
sveltelib Update to Svelte 4, and update most other JS deps (#2565) 2023-07-01 16:21:53 +10:00
tag-editor Combine all backend methods into a single js/d.ts file, like in Python 2023-07-03 13:46:38 +10:00
tools Fix eslint issue 2023-07-10 11:05:32 +10:00
.gitignore Update eslint to 4.22.0 2021-04-22 19:19:39 +02:00
bundle_svelte.mjs Fix a deprecation warning in Svelte 2023-08-23 11:05:14 +10:00
bundle_ts.mjs Add env var to enable sourcemaps 2022-12-04 11:37:16 +10:00
esbuild_jest.mjs Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
jest.config.js Update to Svelte 4, and update most other JS deps (#2565) 2023-07-01 16:21:53 +10:00
licenses.json Update to Svelte 4, and update most other JS deps (#2565) 2023-07-01 16:21:53 +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
transform_ts.mjs Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
tsconfig.json Migrate to protobuf-es (#2547) 2023-06-14 22:47:37 +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