Anki/proto/anki
Matthias Metelka 371f731e30
Editor Field Descriptions (#1476)
* Add description input to fields dialog

QLineEdit seems like the best option, as it saves space and motivates users to keep their descriptions concise.

* Add setDescriptions to note initialization script

Went for the extra function instead of including it in setFields to prevent potential add-on breakages.

* Add tooltip next to field name if description is set

* Refactor code according to suggestions

Set default tooltip placement to right instead of bottom

Use .get() for fld["description"]

Fix tab order in fields dialog

Swap out abbreviation "desc" for full length name to keep consistency

* Update Protobuf and Rust for description

Add description to notetypes.proto and schema11

Co-authored-by: RumovZ <RumovZ@users.noreply.github.com>

* Fix tooltips not updating with description

Remove redundant variable tooltipOptions

Update previousTooltip within reactive function

* Move LabelDescription out of LabelName

Co-authored-by: Henrik Giesel <hgiesel@users.noreply.github.com>

* Decrease icon size and fix alignment

Co-Authored-By: Henrik Giesel <hengiesel@gmail.com>

* the new key needs to be cleared from fields, not the notetype itself

Co-authored-by: RumovZ <RumovZ@users.noreply.github.com>
Co-authored-by: Henrik Giesel <hengiesel@gmail.com>
Co-authored-by: Damien Elmes <gpg@ankiweb.net>
2021-11-06 09:42:48 +10:00
..
backend.proto Add links.proto and backend module 2021-07-22 10:05:38 +02:00
card_rendering.proto replace the old stripHTML() methods with the backend implementation 2021-10-01 23:15:45 +10:00
cards.proto support updating multiple cards in one transaction/undo op 2021-08-02 16:59:02 +10:00
collection.proto split out cards and collection 2021-07-10 19:52:31 +10:00
config.proto configs.proto plural workaround no longer necessary 2021-07-11 19:35:18 +10:00
deckconfig.proto adding options to sort by ascending/descending ease 2021-08-22 15:32:46 +10:00
decks.proto Use backend for getting deck children (#1465) 2021-10-29 19:43:17 +10:00
generic.proto Card info cleanup (#1446) 2021-10-23 11:00:43 +10:00
i18n.proto refactor protobuf handling for split/import 2021-07-10 19:17:05 +10:00
links.proto Remove native HelpPage enum 2021-07-22 16:32:49 +02:00
media.proto split out remaining tags, stats, media and rendering 2021-07-10 23:16:18 +10:00
notes.proto support updating multiple notes in one transaction/undo op 2021-08-02 17:07:26 +10:00
notetypes.proto Editor Field Descriptions (#1476) 2021-11-06 09:42:48 +10:00
scheduler.proto configs.proto plural workaround no longer necessary 2021-07-11 19:35:18 +10:00
search.proto fix sort order toggling 2021-10-30 09:14:43 +10:00
stats.proto Switch CardInfoDialog to ts page (#1414) 2021-10-14 19:22:47 +10:00
sync.proto split out sync, search, scheduler & config 2021-07-10 21:33:12 +10:00
tags.proto bikeshedding: amount -> match_limit 2021-09-12 11:57:49 +10:00