Anki is a smart spaced repetition flashcard program
Find a file
Kieran Black 46890fbbaa
fix: refresh model list when legacy addon adds notetype (#2825)
* refresh model list when legacy addon adds notetype

When legacy addons add note types, they automatically add the note type to the collection models. When this was detected, the dialog box presenting the list of models was not being updated due to an early return in the code. This commit adds a list refresh along this path of execution to ensure the gui is updated with the newly added model.

* add trailing space to name in CONTRIBUTORS
2023-11-13 10:36:21 +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 Invalid sorting (#2709) 2023-10-07 06:36:15 +00:00
build Fix Android backend failing to build on Windows with n2 2023-11-08 13:31:35 +10:00
cargo Update self_cell for UB fix 2023-11-12 10:40:33 +10:00
docs Add Sphinx documentation generation functionality (#2720) 2023-10-13 13:03:54 +10:00
ftl Update translations 2023-11-09 20:44:13 +10:00
proto Move anki.utils.html_to_text_line() to backend (#2816) 2023-11-09 09:57:23 +10:00
pylib Move anki.utils.html_to_text_line() to backend (#2816) 2023-11-09 09:57:23 +10:00
python Update pip for CVE [action required] 2023-11-03 14:21:12 +10:00
qt fix: refresh model list when legacy addon adds notetype (#2825) 2023-11-13 10:36:21 +10:00
rslib Show due date of buried/suspended cards in card info (#2820) 2023-11-13 10:23:46 +10:00
sass Add scss formatter 2023-07-03 09:44:38 +10:00
tools Fix n2 missing hide-success code 2023-10-11 13:04:54 +10:00
ts Fix jittery virtual table scrolling on mobile (#2810) 2023-11-13 10:19:33 +10:00
.deny.toml Integrate the FSRS optimizer (#2633) 2023-09-05 18:45:05 +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 2023-11-13 10:10:00 +10:00
Cargo.lock Update fsrs-rs 2023-11-13 10:13:20 +10:00
Cargo.toml Update fsrs-rs 2023-11-13 10:13:20 +10:00
check Add a shortcut to auto-format before running checks 2023-07-02 09:59:05 +10:00
CONTRIBUTORS fix: refresh model list when legacy addon adds notetype (#2825) 2023-11-13 10:36:21 +10:00
LICENSE move aqt_data into source folder; implement wheel building 2020-11-04 12:14:03 +10:00
ninja Switch runner to release build 2023-07-02 10:31:07 +10:00
package.json Update to Svelte 4, and update most other JS deps (#2565) 2023-07-01 16:21:53 +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 Rust 1.73 2023-10-09 19:22:43 +10:00
SECURITY.md add SECURITY.md 2021-09-22 22:55:19 +10:00
yarn.lock Bump @babel/traverse from 7.22.5 to 7.23.2 (#2746) 2023-10-18 09:17:26 +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