anki/rslib/src
Damien Elmes 704b5e581a Rework reschedule tool
The old rescheduling dialog's two options have been split into two
separate menu items, "Forget", and "Set Due Date"

For cards that are not review cards, "Set Due Date" behaves like the
old reschedule option, changing the cards into a review card, and
and setting both the interval and due date to the provided number of
days.

When "Set Due Date" is applied to a review card, it no longer resets
the card's interval. Instead, it looks at how much the provided number
of days will change the original interval, and adjusts the interval by
that amount, so that cards that are answered earlier receive a smaller
next interval, and cards that are answered after a longer delay receive
a bonus.

For example, imagine a card was answered on day 5, and given an interval
of 10 days, so it has a due date of day 15.

- if on day 10 the due date is changed to day 12 (today+2), the card
is being scheduled 3 days earlier than it was supposed to be, so the
interval will be adjusted to 7 days.
- and if on day 10 the due date is changed to day 20, the interval will
be changed from 10 days to 15 days.

There is no separate option to reset the interval of a review card, but
it can be accomplished by forgetting the card(s), and then setting the
desired due date.

Other notes:

- Added the action to the review screen as well.
- Set the shortcut to Ctrl+Shift+D, and changed the existing Delete
Tags shortcut to Ctrl+Alt+Shift+A.
2021-02-07 21:57:51 +10:00
..
backend Rework reschedule tool 2021-02-07 21:57:51 +10:00
deckconf update schema to fix default initial ease in deck configs 2020-09-22 08:16:39 +10:00
decks render deck description with markdown; strip images 2021-02-06 15:02:40 +10:00
media fix some comments in wrong position after format 2021-01-09 14:26:51 +10:00
notetype embed kind enum in StockNoteType and remove prefix 2021-01-31 18:56:16 +10:00
sched Rework reschedule tool 2021-02-07 21:57:51 +10:00
search Merge pull request #959 from Arthur-Milchior/AGPL 2021-02-01 12:46:59 +10:00
stats Update card_stats.html 2021-02-01 12:46:29 +10:00
storage add tag drag & drop support 2021-02-02 20:14:04 +10:00
sync unbury on sync start 2021-01-28 11:54:48 +10:00
backend_proto.rs NF: add AGPL licence missing in some file 2021-01-31 21:50:21 +01:00
card.rs fix reposition not being applied in browser sort order 2020-12-16 10:58:46 +10:00
cloze.rs handle multiple clozes in cloze-only filter 2020-07-29 12:54:29 +10:00
collection.rs allow normal sync tests to run offline 2021-01-12 18:47:08 +10:00
config.rs move remaining Filter button items into sidebar 2021-02-05 18:58:22 +10:00
dbcheck.rs collapsed->expanded in other tag uses for consistency 2021-02-02 18:52:57 +10:00
err.rs Rework reschedule tool 2021-02-07 21:57:51 +10:00
filtered.rs Rework reschedule tool 2021-02-07 21:57:51 +10:00
findreplace.rs fix some clippy lints 2020-08-26 19:02:56 +10:00
fluent_proto.rs NF: add AGPL licence missing in some file 2021-01-31 21:50:21 +01:00
i18n.rs plural rules and decimal separator should use bundle's language 2020-12-14 14:23:49 +10:00
latex.rs Add Alt text to latex image 2020-12-30 18:00:06 +01:00
lib.rs render deck description with markdown; strip images 2021-02-06 15:02:40 +10:00
log.rs skip terminal logging unless LOGTERM defined 2020-04-07 10:25:47 +10:00
markdown.rs render deck description with markdown; strip images 2021-02-06 15:02:40 +10:00
notes.rs Hierarchical tags 2021-01-09 17:10:13 +03:00
preferences.rs tidy up UTC offset handling/timing calculations 2021-01-12 21:32:56 +10:00
prelude.rs handle notes with invalid utf8 2020-11-06 10:21:51 +10:00
revlog.rs Rework reschedule tool 2021-02-07 21:57:51 +10:00
serde.rs handle missing deck ID in templates 2021-01-25 16:47:23 +10:00
tags.rs add tag drag & drop support 2021-02-02 20:14:04 +10:00
template_filters.rs add cloze-only filter 2020-07-21 12:59:28 +10:00
template.rs fix new Clippy lints 2020-11-25 09:12:19 +10:00
text.rs render deck description with markdown; strip images 2021-02-06 15:02:40 +10:00
timestamp.rs tidy up UTC offset handling/timing calculations 2021-01-12 21:32:56 +10:00
types.rs add note/card removal to backend 2020-06-04 18:21:04 +10:00
undo.rs move unbury/unsuspend routines into backend 2020-09-01 10:24:38 +10:00
version.rs don't pass BUILDINFO into build script 2020-12-21 16:04:29 +10:00