Skip to content

feat: delete resource block#22

Open
FBalint wants to merge 2 commits intocloudflare:mainfrom
FBalint:feat-delete-resource-block
Open

feat: delete resource block#22
FBalint wants to merge 2 commits intocloudflare:mainfrom
FBalint:feat-delete-resource-block

Conversation

@FBalint
Copy link
Contributor

@FBalint FBalint commented Feb 6, 2026

Add DeleteResource Block

Adds a reusable confirmation dialog for destructive delete actions with type-to-confirm validation.

Key Features

  • Type-to-confirm: Users must type exact resource name to enable deletion
  • Copy helper: Click-to-copy button for resource name with visual feedback
  • Error handling: Built-in error message display
  • Loading states: Disables inputs and shows spinner during deletion
  • Case sensitivity: Optional case-insensitive matching

Changes

  • New DeleteResource block component with full TypeScript types
  • Fixed Dialog responsive behavior (mobile overflow issues)
  • Added documentation page and interactive demo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant