Skip to content

fix(nosql): replace browser confirm() with AlertDialog in connection-… - #213

Merged
itsmeakhil merged 1 commit into
mainfrom
akhil/optimise-nosql
Jun 17, 2026
Merged

fix(nosql): replace browser confirm() with AlertDialog in connection-…#213
itsmeakhil merged 1 commit into
mainfrom
akhil/optimise-nosql

Conversation

@itsmeakhil

Copy link
Copy Markdown
Collaborator

…form, clean up handlers

Replace window.confirm() in connection-form delete handler with AlertDialog for consistent in-app modal UI. Remove unnecessary async keywords from dialog trigger handlers (handleDropDatabase, handleDropCollection) since they don't await anything. This ensures all destructive actions use shadcn AlertDialog instead of browser native dialogs.

…form, clean up handlers

Replace window.confirm() in connection-form delete handler with AlertDialog for consistent in-app modal UI. Remove unnecessary async keywords from dialog trigger handlers (handleDropDatabase, handleDropCollection) since they don't await anything. This ensures all destructive actions use shadcn AlertDialog instead of browser native dialogs.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mydevtools-tech Building Building Preview, Comment Jun 17, 2026 12:26pm

@itsmeakhil
itsmeakhil merged commit 8879676 into main Jun 17, 2026
1 of 2 checks passed
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