Closed
Description
The Mathesar UI should allow users to delete existing views.
Scenarios
- The user wants to delete a view with no dependencies. We ask them to confirm the action and go ahead and delete it once they do.
- The user wants to delete a view with some dependencies. We show them all the existing dependencies that will be deleted if they delete the view and ask them to confirm the action. We go ahead and delete it and all its dependencies once they confirm.
- The user wants to delete a view (with or without dependencies). We ask them to confirm the action and they change their mind. We don't delete anything.
- The user wants to delete a view (with or without dependencies). We ask them to confirm the action, they agree. The backend call to delete fails and we don't delete anything.
Additional Context
- Blocked by design work on Support for opening and interacting with a View #466