Skip to content

Support for deleting a database view #454

Closed
@kgodey

Description

The Mathesar UI should allow users to delete existing views.

Scenarios

  1. 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.
  2. 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.
  3. 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.
  4. 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

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions