Skip to content

Uniform ConfirmDialog component #363

Open

Description

@Bohreromir

Several modals are the same thing: a title, a message, Cancel and Confirm.

  • storage/modals/DeleteConfirmModal.svelte
  • the disconnect modal at BucketList.svelte:271
  • the unsaved-changes modal at settings/connections/[id]/edit/+page.svelte:103
  • DeleteConnectionModal, MoveConfirmModal and UnsavedConfirmDialog might fit too

Add ui/ConfirmDialog and use it

The button styles differ today (btn-sm or not, btn-error vs btn-outline btn-error); the component should settle on one per variant (danger, primary).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions