anki/proto/anki
Damien Elmes f6486da233
Various tweaks to I/O code (#2478)
* Allow user to select I/O notetype instead of enforcing a specific name

* Display a clearer error when I/O note is missing an image

Opening the card layout screen from "manage notetypes" was showing an
error about the Anki version being too old.

Replacement error is not currently translatable.

* Preserve existing notetype when adding I/O notetype

* Add a 'from clipboard' string

The intention is to use this in the future to allow an image occlusion
to be created from an image on the clipboard.

* Tweak I/O init

- Use union type instead of multiple nullable values
- Pass the notetype id in to initialization

* Fix image insertion in I/O note

- The regex expected double quotes, and we were using single ones
- Image tags don't need to be closed

* Use more consistent naming in image_occlusion.proto

* Tweaks to default I/O notetype

- Show the header on the front side as well (I presume this is what
users expect; if not am happy to revert)
- Don't show comments on card (again, I presume users expect to use
this field to add notes that aren't displayed during review, as they
can use back extra for that)

* Fix sticky footer missing background

Caused by earlier CSS refactoring
2023-04-19 15:30:18 +10:00
..
ankidroid.proto Integrate AnkiDroid's backend patches into the repo (#2290) 2023-01-03 13:11:23 +10:00
backend.proto Feature image occlusion (#2367) 2023-03-29 12:33:19 +10:00
card_rendering.proto Implement TTS using windows crate (#2371) 2023-02-17 12:26:07 +10:00
cards.proto Add card meta for persisting custom scheduling state (#2040) 2022-09-02 11:22:49 +10:00
collection.proto Integrate AnkiDroid's backend patches into the repo (#2290) 2023-01-03 13:11:23 +10:00
config.proto Remember previous choices in reposition dialog (#1950) 2022-07-08 11:28:38 +10:00
deckconfig.proto Add a fully-random review order 2023-04-11 16:16:45 +10:00
decks.proto Add non-legacy backend interface for adding new decks 2022-09-04 14:12:29 +10:00
generic.proto Add java_multiple_files option to proto files 2022-06-27 15:16:04 +10:00
i18n.proto Add java_multiple_files option to proto files 2022-06-27 15:16:04 +10:00
image_occlusion.proto Various tweaks to I/O code (#2478) 2023-04-19 15:30:18 +10:00
import_export.proto Deck scoped dupe check (#2372) 2023-02-16 17:53:36 +10:00
links.proto Add java_multiple_files option to proto files 2022-06-27 15:16:04 +10:00
media.proto Add option to tag notes with missing media (#2379) 2023-02-20 18:48:09 +10:00
notes.proto Add java_multiple_files option to proto files 2022-06-27 15:16:04 +10:00
notetypes.proto Add ability to restore a notetype to its original configuration (#2472) 2023-04-18 14:07:51 +10:00
scheduler.proto Ensure state mutator runs after card is rendered (#2421) 2023-03-16 16:31:00 +10:00
search.proto Allow burying cards in browser (#2351) 2023-01-30 19:21:06 +10:00
stats.proto fix stats calendar incorrect due to daylight savings time (#2456) 2023-03-28 15:35:06 +10:00
sync.proto Allow the network timeout to be customized 2023-02-08 14:33:02 +10:00
tags.proto Add java_multiple_files option to proto files 2022-06-27 15:16:04 +10:00