Skip to content

Conversation

@vncloudsco
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings October 9, 2025 07:16
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds confirmation dialogs for delete actions across the application to improve user experience and prevent accidental deletions. The changes replace simple browser confirm dialogs with a more user-friendly custom confirmation dialog component.

Key changes:

  • Enhanced the ConfirmDialog component to support loading states, destructive variants, and React node descriptions
  • Replaced browser confirm dialogs with custom confirmation dialogs in Users, SSL, Alerts, and ACL management pages
  • Added proper state management for tracking items to be deleted

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
apps/web/src/components/ui/confirm-dialog.tsx Enhanced with loading spinner, destructive variant, and React node description support
apps/web/src/components/pages/Users.tsx Added confirmation dialog for user deletion with detailed warning message
apps/web/src/components/pages/SSLTable.tsx Replaced browser confirm with custom dialog for SSL certificate deletion
apps/web/src/components/pages/Alerts.tsx Added confirmation dialogs for both notification channels and alert rules deletion
apps/web/src/components/pages/ACL.tsx Added confirmation dialog for ACL rule deletion with access control warning

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 9, 2025

@vncloudsco vncloudsco merged commit aa5600c into TinyActive:features_ui_fix_button Oct 9, 2025
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