Anki/ts/deck-options
Luc Mcgrady 8b18a08b3b
FSRS - Ignore revlogs before date while optimizing (#2922)
* Added: Date input button

* Added: ignoreDate to config

* Added: Backend

* Optimize function passes value

* Fix: Spelling

* Moved: filter logic from revlog_for_srs to update_memory_state

* fmt

* Copyright header

* ./check

* Fix: Test

* Renamed: Ignore_date -> Ignore_before_date

* Neaten parameters

* evaluate weights

* ./check

* Optimize all presets

* Added: Label localizations

* Removed globe label

* Added: Tooltip

* Changed error type

* fmt

* Moved filter to own function

* missing function call replacement

* Fix: Typo

* Apply suggestions from code review

Co-authored-by: Damien Elmes <dae@users.noreply.github.com>

* timestamp * 1000 -> timestamp_millis

* ignoreBefore -> ignore_before

* clarified ignore_before variables

* i64 -> TimestampMillis

* Un-traitified remove_revlogs_before

* Added: ms == 0 guard

* Added: Ignore_before affects scheduling

* Moved filter to fsrs_items_for_training

* removed filter from revlog_for_srs

* Tuple -> UpdateMemoryStateEntry

* Removed unused function

* Removed superfluous _ms from variables

* cid -> id

* Different ignore method

* Added: Unit test

* cid -> id

* Test: Exact ms edge case

* ./check

* Fix: re-learns could be before ignore date in cards without learning steps

* getignoreRevlogsBeforeMs -> getIgnoreRevlogsBeforeMs

* Removed pub(crate)

* Clarified unit test

* last_learn_entry -> first_of_last_learn_entries

* @user1823's method

* IOS fix

* ./check

* Fix: width defined twice
2024-02-22 11:01:10 +07:00
..
Addons.svelte Remove untranslated 'see old deck options' notice 2022-11-03 12:05:19 +10:00
AdvancedOptions.svelte FSRS - Ignore revlogs before date while optimizing (#2922) 2024-02-22 11:01:10 +07:00
AudioOptions.svelte Merging Notetypes on Import (#2612) 2023-09-09 09:00:55 +10:00
AutoAdvance.svelte Fix title of Auto Advance section (#2949) 2024-01-19 15:48:30 +10:00
BuryOptions.svelte Remove v1/v2 support from the backend (#2727) 2023-10-14 10:50:59 +10:00
CardStateCustomizer.svelte Move globe icon into separate Svelte file 2023-12-12 12:33:31 +10:00
choices.ts Add by creation date review sort order (#2957) 2024-01-21 20:29:19 +10:00
ConfigSelector.svelte Do not close web pages when Esc is pressed and a modal is open (#2894) 2023-12-21 13:59:52 +10:00
DailyLimits.svelte Move globe icon into separate Svelte file 2023-12-12 12:33:31 +10:00
DateInput.svelte FSRS - Ignore revlogs before date while optimizing (#2922) 2024-02-22 11:01:10 +07:00
deck-options-base.scss Fix some RTL issues in help modals (#2857) 2023-12-01 15:07:44 +10:00
DeckOptionsPage.svelte Split "auto advance" into a separate section 2023-12-11 13:47:34 +10:00
DisplayOrder.svelte Use FSRS difficulty when sorting by ease 2023-09-23 16:20:36 +10:00
FsrsOptions.svelte FSRS - Ignore revlogs before date while optimizing (#2922) 2024-02-22 11:01:10 +07:00
GlobalLabel.svelte Move globe icon into separate Svelte file 2023-12-12 12:33:31 +10:00
HtmlAddon.svelte fix deprecation warning in latest svelte-preprocess 2021-10-26 08:43:02 +10:00
icons.ts Merging Notetypes on Import (#2612) 2023-09-09 09:00:55 +10:00
index.ts Add by creation date review sort order (#2957) 2024-01-21 20:29:19 +10:00
LapseOptions.svelte Hide SM2-specific items in help pages when FSRS enabled 2023-10-13 11:00:51 +10:00
lib.test.ts Add option to calculate all weights at once 2023-11-27 11:24:31 +10:00
lib.ts Switch FSRS reschedule to a global option; don't persist 2023-11-27 11:24:31 +10:00
NewOptions.svelte Remove v1/v2 support from the backend (#2727) 2023-10-14 10:50:59 +10:00
SaveButton.svelte Fix inability to save deck options when FSRS not enabled 2023-11-27 13:34:42 +10:00
SpinBoxFloatRow.svelte Add auto-advance options to deck preset (#2765) 2023-11-13 10:41:51 +10:00
SpinBoxRow.svelte Merging Notetypes on Import (#2612) 2023-09-09 09:00:55 +10:00
steps.test.ts More uniform file naming 2021-07-01 12:24:16 +02:00
steps.ts Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
StepsInput.svelte Refactor Select component | Fix CSV import issue (#2227) 2022-12-01 19:24:26 +10:00
StepsInputRow.svelte Merging Notetypes on Import (#2612) 2023-09-09 09:00:55 +10:00
TabbedValue.svelte Fix unwanted border on macOS 2023-12-12 14:43:48 +10:00
TextInputModal.svelte Do not close web pages when Esc is pressed and a modal is open (#2894) 2023-12-21 13:59:52 +10:00
TimerOptions.svelte Split "auto advance" into a separate section 2023-12-11 13:47:34 +10:00
tsconfig.json Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
Warning.svelte Add an info box so the non-linear nature of desired retention can be seen 2023-11-06 12:04:31 +10:00
WeightsInput.svelte Display the default weights as a placeholder 2023-09-30 16:10:23 +10:00
WeightsInputRow.svelte Display the default weights as a placeholder 2023-09-30 16:10:23 +10:00