anki/ftl
Damien Elmes e364b36dc4 experiment with preserving search when resetting
Up until now, we've been forcing a new search whenever reset is called.
The primary reason was that the card list display routines did not expect
a card or note to have been removed. By updating the model to show
"(deleted)" when a card or note is missing, we no longer have to repeat
the search.

This has a few advantages:

- Searches, especially complex ones, can be slow to execute. When we
perform them after every operation like a delete, it can make Anki feel
sluggish.
- The fact that notes have been deleted becomes more obvious - some users
found it easy to miss the "deleted" pop-up in the past.

This change does not just affect deletions, as many other operations
trigger a reset as well. In the past, when using 'set due date' in the
review screen for example, it caused an ugly flicker in the browser screen,
and could be slow when the current search couldn't be quickly redone.

The disadvantage of this approach is that the displayed content may
not reflect the specified search, which has the potential to be confusing.
But if that turns out to be a problem, it could be (partly) alleviated by
displaying a refresh button next to the search bar when the search may
need to be refreshed.

Feedback welcome!
2021-03-19 19:45:21 +10:00
..
core experiment with preserving search when resetting 2021-03-19 19:45:21 +10:00
qt add dialog to choose addons to update 2021-03-03 10:34:43 +09:00
BUILD.bazel update duplicate-string and copy 'set due date' in from AnkiMobile 2021-02-07 13:56:11 +10:00
duplicate-string.py handle case when .ftl file doesn't exist yet 2021-03-04 11:03:09 +10:00
extract-strings.py move other i18n scripts to ftl/ 2020-11-22 15:41:14 +10:00
format_check.py automatically format/check ftl files 2020-11-22 15:30:59 +10:00
format.py fix ftl check failing in non-utf8 locale 2021-01-19 16:28:13 +10:00
README.md move other i18n scripts to ftl/ 2020-11-22 15:41:14 +10:00
sync.py update translations 2021-01-14 10:16:22 +10:00
transform-string.py remove format separator from recording string 2020-12-16 19:44:47 +10:00

Files related to Anki's translations.

Please see https://translating.ankiweb.net/#/anki/developers