A failed initial read of the database does not prevent saving #123
Loading…
Reference in New Issue
Block a user
No description provided.
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?
If the initial database read fails, there is very little preventing the user from saving the empty state from being saved back to disk. Pressing
q
will trigger the save, even if the quit won't happen on the error screen. Preventing saving on error screens is also not enough. The user can dismiss the error and then the data may save.There should be some mechanism to prevent the user from saving the invalid data. Perhaps a new "Catastrophic Error" state which has only one outgoing action - to exit without saving?