Run data import in background #192
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, data imports is just a future that gets started in the settings pane. If you leave to check out something else, the future keeps running, but when returning to where you started it, the progress bar does not show up anymore. However, it keeps running in the background until it eventually finished (without giving you any notice).
Let's make it into a Cubit or something, so that the settings can retrieve the status whenever re-rendered, and display some sort of notice on the screen, maybe a snackbar.
Locking library lists while importing would be a good idea. Not needed for history, it will just get backfilled.
See also #105