Anki is a smart spaced repetition flashcard program
Find a file
Damien Elmes 97f43fbd45 Further speed up deck options load
Profiling revealed that binding to clientWidth for each component in
the deck options was taking up a sizable amount of time, due to the
inefficient way it's implemented: https://github.com/sveltejs/svelte/issues/7583

In one case, we can instead defer checking clientWidth until we go to
display the popover. In the other case, we can achieve the revert button
positioning a different way.

The last change dropped the speed index in Chrome from 1.4s to 1s; this
change brings it down to 0.7s.

Also fixed the hovered select element from jiggling due to a different
border width when hovering.
2023-12-08 15:10:35 +10:00
.buildkite Update n2 for Windows console fix; recommend it on Windows as well 2023-07-02 19:03:37 +10:00
.cargo Fix i18n build script not responding to env var changes 2023-07-04 17:17:41 +10:00
.config Drop workspace-hack in favor of workspace deps 2023-06-23 17:41:31 +10:00
.github/ISSUE_TEMPLATE Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
.vscode.dist Allow im-/exporting with or without deck configs (#2804) 2023-11-13 13:54:41 +10:00
build Fix mpv not working out of the box in win32 source build 2023-12-06 11:34:56 +10:00
cargo Update to latest fsrs-rs 2023-12-07 14:13:58 +10:00
docs Mention YARN_BINARY in documentation (#2851) 2023-11-27 11:50:23 +10:00
ftl Update translations 2023-12-08 14:01:27 +10:00
proto Allow user to configure hard/good buttons when rescheduling off 2023-12-08 11:04:34 +10:00
pylib Allow user to configure hard/good buttons when rescheduling off 2023-12-08 11:04:34 +10:00
python Update to PyQt 6.6.1 2023-12-06 09:20:42 +10:00
qt Ensure progress windows get cleaned up 2023-12-08 13:54:32 +10:00
rslib Update FSRS for new default weights 2023-12-08 13:54:31 +10:00
sass Improve visibility of clicked buttons in editor (#2841) 2023-11-23 16:56:45 +10:00
tools Fix mpv not working out of the box in win32 source build 2023-12-06 11:34:56 +10:00
ts Further speed up deck options load 2023-12-08 15:10:35 +10:00
.deny.toml Update to latest fsrs-rs 2023-12-07 14:13:58 +10:00
.dprint.json Allow disabling occlusion mask border (#2764) 2023-10-23 11:43:37 +10:00
.eslintrc.js Enforce curly bracket usage for one-statement ifs 2023-10-23 09:19:49 +10:00
.gitattributes try again to improve GitHub's language stats 2021-01-20 13:20:45 +10:00
.gitignore Merging Notetypes on Import (#2612) 2023-09-09 09:00:55 +10:00
.gitmodules Exclude PyOxidizer from recursive checkout 2023-07-02 18:22:44 +10:00
.isort.cfg Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
.mypy.ini Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
.pylintrc Add ability to restore a notetype to its original configuration (#2472) 2023-04-18 14:07:51 +10:00
.rustfmt-empty.toml Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
.rustfmt.toml Move ascii_percent_encoding into a separate repo 2023-04-12 08:45:23 +10:00
.version Bump version to 23.12 2023-11-13 13:57:33 +10:00
Cargo.lock Update FSRS for new default weights 2023-12-08 13:54:31 +10:00
Cargo.toml Update FSRS for new default weights 2023-12-08 13:54:31 +10:00
check Add a shortcut to auto-format before running checks 2023-07-02 09:59:05 +10:00
CONTRIBUTORS Fix Mathjax can only be pasted once (#2869) 2023-12-05 10:01:25 +10:00
LICENSE Replace css_browser_selector with our own implementation (#2854) 2023-11-30 10:57:33 +10:00
ninja Switch runner to release build 2023-07-02 10:31:07 +10:00
package.json Replace css_browser_selector with our own implementation (#2854) 2023-11-30 10:57:33 +10:00
pkgkey.asc add public key for release signing 2018-09-18 10:40:45 +10:00
README.md Updated README (#2718) 2023-10-11 14:11:07 +10:00
run Fix webengine remote debugging in Qt6 2023-11-05 12:41:17 +10:00
run.bat Fix webengine remote debugging in Qt6 2023-11-05 12:41:17 +10:00
rust-toolchain.toml Update to Rust 1.74, and update most Rust deps 2023-11-27 13:34:42 +10:00
SECURITY.md add SECURITY.md 2021-09-22 22:55:19 +10:00
yarn.lock Replace css_browser_selector with our own implementation (#2854) 2023-11-30 10:57:33 +10:00

Anki

Build status

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

About

Anki is a spaced repetition program. Please see the website to learn more.

Getting Started

Anki Betas

If you'd like to try development builds of Anki but don't feel comfortable building the code, please see Anki betas

Developing

For more information on building and developing, please see Development.

Contributing

Want to contribute to Anki? Check out the Contribution Guidelines.

Anki Contributors

CONTRIBUTORS

License

Anki's license: LICENSE