anki/rslib
Matthias Metelka d110c4916c
Introduce setting to collapse field by default (#1990)
* Introduce setting to collapse field by default

* Fix schema order

* Change wording from adjective to imperative

sounds a bit less clunky

* Update rslib/src/notetype/schema11.rs (dae)

* Keep settings in single column

* Add back Toggle Visual Editor string

* Add RichTextBadge component and show it conditionally

* Reverse input order depending on default setting

* Make PlainTextInput border-radius responsive to toggle states

* Prevent first Collapsible transition differently

* Focus inputs after Collapsible transition

The double tick calls are just a temporary solution until I find the exact moment an input is focusable again.

* Use requestAnimationFrame to await focusable state

Note: Svelte tick doesn't seem to work in this scenario.
2022-08-31 23:34:39 +10:00
..
.cargo initial Bazel conversion 2020-11-01 14:26:58 +10:00
benches New TTS/AV tag handling (#1559) 2021-12-17 19:04:42 +10:00
build Deck-specific Limits (#1955) 2022-07-19 18:27:25 +10:00
cargo Partially migrate type answer to backend 2022-07-22 19:28:34 +10:00
i18n Partially migrate type answer to backend 2022-07-22 19:28:34 +10:00
i18n_helpers Partially migrate type answer to backend 2022-07-22 19:28:34 +10:00
linkchecker Partially migrate type answer to backend 2022-07-22 19:28:34 +10:00
src Introduce setting to collapse field by default (#1990) 2022-08-31 23:34:39 +10:00
tests/support move linkchecker into separate crate 2021-12-20 17:27:43 +10:00
.gitignore initial Bazel conversion 2020-11-01 14:26:58 +10:00
bench.sh New TTS/AV tag handling (#1559) 2021-12-17 19:04:42 +10:00
BUILD.bazel Partially migrate type answer to backend 2022-07-22 19:28:34 +10:00
Cargo.toml Partially migrate type answer to backend 2022-07-22 19:28:34 +10:00
empty.rs Backend Custom Study (#1600) 2022-01-20 14:25:22 +10:00
README.md add some code editing/completion docs 2020-12-16 14:16:08 +10:00
rustfmt.bzl Update to latest rules_rust, which unblocks the tokio upgrade 2022-03-03 19:48:17 +10:00
rustfmt.toml tidy up Rust imports 2021-04-18 18:38:54 +10:00

Anki's Rust code.

backend.proto stores the interfaces used to communicate backend messages between Rust, Python and TypeScript.