Go to file
Damien Elmes b3b40933c2 switch 'set due date' to leaving the interval alone for now
The previous approach worked when the user pushes their due date back,
or moves it forward a little bit, but breaks down if they reschedule
shortly after the previous answer - a card that was only just answered
will have had an effective delay of 0, causing the interval to be
reset, which is not great.

I thought about limiting interval reductions, but that means the
behaviour is inconsistent when sending a card forward and moving it
back again.

We could apply a cap to the amount of interval we'll reduce, but that
will either doing something like dividing by 2 (which breaks down when
the action is performed repeatedly), or or looking up the review log
to try and determine the previous interval we should not go below.

One other option we might want to consider in the future is using
the revlog to calculate the actual elapsed time at answer time instead
of reschedule time, falling back to existing behaviour when the revlog
doesn't match or is missing.
2021-02-12 11:19:58 +10:00
.buildkite build wheels in Linux CI 2020-12-21 19:31:15 +10:00
.github/ISSUE_TEMPLATE Update issue templates 2021-02-03 15:31:17 +10:00
cargo render deck description with markdown; strip images 2021-02-06 15:02:40 +10:00
docs contributing.md update 2021-02-03 16:06:34 +10:00
ftl split due into 'due today' and 'overdue' 2021-02-11 10:49:36 +10:00
pip winrt packaging bug has been fixed 2021-02-03 13:34:44 +10:00
platforms add linux_arm64 platform 2020-12-29 18:40:39 +10:00
pylib Allow for passing in custom note type and template 2021-02-12 02:12:03 +01:00
qt Remove unused imports 2021-02-12 02:16:05 +01:00
rslib switch 'set due date' to leaving the interval alone for now 2021-02-12 11:19:58 +10:00
scripts accept args in scripts/runopt 2021-01-12 18:47:08 +10:00
ts ignore manually scheduled cards in hour graph 2021-02-10 09:36:51 +10:00
.bazelignore initial Bazel conversion 2020-11-01 14:26:58 +10:00
.bazelrc turn top bar dark when night mode enabled on macOS 2021-02-04 19:19:56 +10:00
.bazelversion update pinned Bazel version to 4.0 release 2021-01-21 19:58:41 +10:00
.gitattributes try again to improve GitHub's language stats 2021-01-20 13:20:45 +10:00
.gitignore Gitignore root target folder 2021-01-13 12:17:00 +01:00
bazel.bat initial Bazel conversion 2020-11-01 14:26:58 +10:00
BUILD.bazel simplify wheel building 2020-12-10 20:27:21 +10:00
Cargo.lock render deck description with markdown; strip images 2021-02-06 15:02:40 +10:00
Cargo.toml remember last input for 'set due'; add string config; nest config types 2021-02-08 14:10:05 +10:00
CONTRIBUTORS Add myself to list of contributors 2021-01-26 21:38:42 +00:00
defs.bzl bump version 2021-02-07 13:56:11 +10:00
late_deps.bzl move aqt_data into source folder; implement wheel building 2020-11-04 12:14:03 +10:00
LICENSE move aqt_data into source folder; implement wheel building 2020-11-04 12:14:03 +10:00
pkgkey.asc add public key for release signing 2018-09-18 10:40:45 +10:00
protobuf.bzl add linux_arm64 platform 2020-12-29 18:40:39 +10:00
python.bzl use PYTHON_SYS_EXECUTABLE for setting path to Python 2020-12-23 21:53:13 +10:00
README.md minor doc updates 2020-12-11 22:37:12 +10:00
repos.bzl update translations 2021-02-09 19:37:28 +10:00
run proper fix for __pycache__ folders preventing remove on ./run 2021-01-12 18:47:08 +10:00
run.bat enable Python warnings when running 2020-12-16 14:59:04 +10:00
WORKSPACE packages.bzl -> repos.bzl; update rules_rust 2020-11-05 14:22:45 +10:00

Anki

Build status

This repo contains the source code for the computer version of Anki.

If you'd like to try development builds of Anki but don't feel comfortable building the code, please see https://betas.ankiweb.net/#/

For more information on building, please see Development.