anki/ftl/core
Damien Elmes d382b33585 rework filtered deck screen & search errors
- Filtered deck creation now happens as an atomic operation, and is
undoable.
- The logic for initial search text, normalizing searches and so on
has been pushed into the backend.
- Use protobuf to pass the filtered deck to the updated dialog, so
we don't need to deal with untyped JSON.
- Change the "revise your search?" prompt to be a simple info box -
user has access to cancel and build buttons, and doesn't need a separate
prompt. Tweak the wording so the 'show excluded' button should be more
obvious.
- Filtered decks have a time appended to them instead of a number,
primarily because it's easier to implement. No objections going back to
the old behaviour if someone wants to contribute a clean patch.
The standard de-duplication will happen if two decks are created in the
same minute with the same name.
- Tweak the default sort order, and start with two searches. The UI
will still hide the second search by default, but by starting with two,
the frontend doesn't need logic for creating the starting text.
- Search errors now have their own error type, instead of using
InvalidInput, as that was intended mainly for bad API calls. The markdown
conversion is done when the error is converted from the backend, allowing
errors to printed as a string without any special handling by the calling
code.

TODO: when building a new filtered deck, update_active() is clobbering
the undo log when the overview is refreshed
2021-03-24 22:04:35 +10:00
..
actions.ftl Remove edit mode 2021-03-08 11:55:15 +01:00
adding.ftl move ftl into top level ftl/ folder; make it source of truth for aqt 2020-11-18 16:20:58 +10:00
browsing.ftl Add context action 'Update with Current Search' 2021-03-23 11:20:46 +01:00
card-stats.ftl automatically format/check ftl files 2020-11-22 15:30:59 +10:00
card-template-rendering.ftl automatically format/check ftl files 2020-11-22 15:30:59 +10:00
card-templates.ftl update remaining python format strings to Fluent 2020-11-22 14:57:53 +10:00
custom-study.ftl move ftl into top level ftl/ folder; make it source of truth for aqt 2020-11-18 16:20:58 +10:00
database-check.ftl move ftl into top level ftl/ folder; make it source of truth for aqt 2020-11-18 16:20:58 +10:00
deck-config.ftl add markdown flag for deck description 2021-02-09 18:47:19 +10:00
decks.ftl rework filtered deck screen & search errors 2021-03-24 22:04:35 +10:00
editing.ftl move ftl into top level ftl/ folder; make it source of truth for aqt 2020-11-18 16:20:58 +10:00
empty-cards.ftl automatically format/check ftl files 2020-11-22 15:30:59 +10:00
errors.ftl catch attempts to nest under a filtered deck; don't show traceback 2021-03-01 09:58:12 +10:00
exporting.ftl automatically format/check ftl files 2020-11-22 15:30:59 +10:00
fields.ftl fix ftl formatting 2021-01-04 13:27:35 +10:00
findreplace.ftl automatically format/check ftl files 2020-11-22 15:30:59 +10:00
importing.ftl update remaining python format strings to Fluent 2020-11-22 14:57:53 +10:00
media-check.ftl avoid using literal 1 in English translations 2020-12-18 10:14:19 +10:00
media.ftl remove format separator from recording string 2020-12-16 19:44:47 +10:00
network.ftl automatically format/check ftl files 2020-11-22 15:30:59 +10:00
notetypes.ftl automatically format/check ftl files 2020-11-22 15:30:59 +10:00
preferences.ftl rework v2 scheduler upgrade; drop downgrade 2021-02-21 15:50:41 +10:00
profiles.ftl Set up default language before loading profile 2020-11-21 05:29:23 +03:00
scheduling.ftl fix 'forgot card' translation string 2021-03-10 12:03:37 +10:00
search.ftl Add button in dynDeckConf to search in browser 2021-02-01 13:55:03 +01:00
statistics.ftl show actual error when graphData fails 2021-01-29 14:39:05 +10:00
studying.ftl automatically format/check ftl files 2020-11-22 15:30:59 +10:00
sync.ftl automatically format/check ftl files 2020-11-22 15:30:59 +10:00
undo.ftl support undo of filtered deck build/empty 2021-03-24 12:56:06 +10:00