Anki/ftl/core
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
..
actions.ftl Use our translation of 'Discard' (#2920) 2024-01-01 14:20:31 +10:00
adding.ftl Improve confirmation message in Add screen (#2903) 2023-12-24 15:22:59 +10:00
browsing.ftl Clarify a translation string 2024-01-25 13:08:11 +10:00
card-stats.ftl Integrate FSRS into Anki (#2654) 2023-09-16 16:09:26 +10:00
card-template-rendering.ftl Template err improvements (#1953) 2022-07-09 13:00:03 +10:00
card-templates.ftl Clarify warning in notetype reset 2023-04-26 16:08:48 +10:00
change-notetype.ftl Change Notetype UI Rework (#1499) 2021-11-24 12:09:55 +10:00
custom-study.ftl Add Rust bin to deprecate unused ftl entries (#2364) 2023-02-07 11:56:14 +10:00
database-check.ftl Fix invalid ids on db check (#2445) 2023-03-19 10:58:35 +10:00
deck-config.ftl FSRS - Ignore revlogs before date while optimizing (#2922) 2024-02-22 11:01:10 +07:00
decks.ftl Add hint for zero minutes in filtered deck (#2887) 2023-12-13 09:07:09 +10:00
editing.ftl add select all tool (#2981) 2024-01-30 15:43:15 +10:00
empty-cards.ftl automatically format/check ftl files 2020-11-22 15:30:59 +10:00
errors.ftl Add Rust bin to deprecate unused ftl entries (#2364) 2023-02-07 11:56:14 +10:00
exporting.ftl Allow im-/exporting with or without deck configs (#2804) 2023-11-13 13:54:41 +10:00
fields.ftl Add support for tagging + protecting fields 2023-09-17 14:03:42 +10:00
findreplace.ftl automatically format/check ftl files 2020-11-22 15:30:59 +10:00
help.ftl Change link to manual in help screen from icon to text (#2886) 2023-12-13 09:03:05 +10:00
importing.ftl Cloze notetype merges (#2912) 2023-12-28 18:01:23 +10:00
keyboard.ftl Add getPlatformString for making shortcuts to platform string 2021-04-22 13:04:24 +02:00
media-check.ftl Extract inline images as part of media check 2023-07-31 12:23:16 +10:00
media.ftl remove format separator from recording string 2020-12-16 19:44:47 +10:00
network.ftl automatically format/check ftl files 2020-11-22 15:30:59 +10:00
notetypes.ftl Allow creating an image occlusion from the clipboard (#2689) 2023-09-29 15:51:44 +10:00
preferences.ftl Add log-in button to preferences screen (#2994) 2024-02-12 16:29:16 +10:00
profiles.ftl Backup improvements (#1728) 2022-03-21 19:40:42 +10:00
scheduling.ftl Reset->change in due date prompt 2022-06-01 19:44:51 +10:00
search.ftl search-invalid-flag -> search-invalid-flag-2 2021-06-02 21:49:33 +02:00
statistics.ftl Improve description of stability in Stats (#2910) 2023-12-27 13:07:08 +10:00
studying.ftl Add auto-advance options to deck preset (#2765) 2023-11-13 10:41:51 +10:00
sync.ftl Add log-in button to preferences screen (#2994) 2024-02-12 16:29:16 +10:00
undo.ftl move action names out of undo.ftl into actions.ftl 2021-05-08 17:11:54 +10:00