Anki/qt
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
..
aqt experiment with preserving search when resetting 2021-03-19 19:45:21 +10:00
icons move remaining Filter button items into sidebar 2021-02-05 18:58:22 +10:00
linux remove old symlink before installing a new version 2020-12-30 20:56:28 +10:00
mac exclude Mac dylib from '...' 2021-02-04 20:41:08 +10:00
tests start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
tools move remaining Filter button items into sidebar 2021-02-05 18:58:22 +10:00
.isort.cfg initial Bazel conversion 2020-11-01 14:26:58 +10:00
.pylintrc tweak search wording and tidy up API 2021-02-11 19:57:19 +10:00
bazelfixes.py fix deprecation error on startup on Windows 2020-12-16 15:56:10 +10:00
BUILD.bazel document ANKI_PROFILE_CODE and add bazel command to run snakeviz 2020-12-17 12:03:24 +10:00
dmypy-watch.sh add a bunch of return types 2021-02-01 23:53:23 +10:00
mypy.ini add remaining types and disable missing types on (almost) all aqt 2021-02-03 00:00:29 +10:00
README.md minor doc updates 2020-12-11 22:37:12 +10:00
runanki.py fix pywintypes issue when running tests on Windows 2020-11-02 21:36:01 +10:00

Python's Qt GUI is in aqt/