anki/ts/lib
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
..
i18n Move .ts i18n method generation to Rust 2023-07-03 14:36:09 +10:00
bridgecommand.ts Detect incorrect usage of triple slash in TypeScript (#2524) 2023-05-26 12:49:44 +10:00
cards.ts Detect incorrect usage of triple slash in TypeScript (#2524) 2023-05-26 12:49:44 +10:00
children-access.ts Improved add-on extension API (#1626) 2022-02-03 14:52:11 +10:00
context-keys.ts Fix shortcuts for tag actions not working (#2214) 2022-11-27 10:29:58 +10:00
cross-browser.ts Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
dom.ts Re-enable formatting for .ts files 2022-11-28 09:33:04 +10:00
events.ts Re-enable formatting for .ts files 2022-11-28 09:33:04 +10:00
functional.ts Last polishes for Surrounder class (#2017) 2022-08-17 16:00:37 +10:00
globals.ts Split/Merge editor.py for its three use cases (#1581) 2022-01-12 14:51:43 +10:00
help-page.ts Tooltips for CSV import and import page refactoring (#2655) 2023-09-14 09:06:15 +10:00
helpers.ts Update to Svelte 4, and update most other JS deps (#2565) 2023-07-01 16:21:53 +10:00
image-import.d.ts update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +10:00
keys.ts Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
nightmode.ts Update to Svelte 4, and update most other JS deps (#2565) 2023-07-01 16:21:53 +10:00
node.ts Reverse-engineer surrounding with execCommand (#1377) 2021-11-18 19:18:39 +10:00
parsing.ts Fix infinite update loop in editor with invalid input HTML (#1761) 2022-03-31 11:17:13 +10:00
platform.ts Rework spinner buttons (#2230) 2022-12-04 13:18:49 +10:00
post.ts Integrate the FSRS optimizer (#2633) 2023-09-05 18:45:05 +10:00
progress.ts Integrate the FSRS optimizer (#2633) 2023-09-05 18:45:05 +10:00
promise.ts Set "no-non-null-assertion: off" by default (#1475) 2021-11-04 11:42:51 +10:00
runtime-require.ts Expose onUpdateHook/onShownHook via package 2023-05-31 15:19:09 +10:00
shadow-dom.d.ts Reverse-engineer surrounding with execCommand (#1377) 2021-11-18 19:18:39 +10:00
shortcuts.ts Detect incorrect usage of triple slash in TypeScript (#2524) 2023-05-26 12:49:44 +10:00
styling.ts Change how resizable images work (#1859) 2022-05-13 12:57:07 +10:00
time.test.ts add missing copyright headers to *.ts 2021-04-13 18:57:08 +10:00
time.ts Integrate FSRS into Anki (#2654) 2023-09-16 16:09:26 +10:00
tsconfig.json Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
typing.ts Use WithFloating for MathjaxOverlay (#2011) 2022-09-05 17:20:00 +10:00
ui.ts Improved add-on extension API (#1626) 2022-02-03 14:52:11 +10:00
uuid.ts Re-enable formatting for .ts files 2022-11-28 09:33:04 +10:00
wrap.ts Re-enable formatting for .ts files 2022-11-28 09:33:04 +10:00