flexprice/flexprice-front
Add confirmation dialog for deleting secret keys in developers section.
Open
#412 opened on Oct 19, 2025
enhancementhacktoberfest
Repository metrics
- Stars
- (32 stars)
- PR merge metrics
- (PR metrics pending)
Description
Description: Currently, on the API Keys admin page, the “Delete” button removes a key immediately without any confirmation. This can lead to accidental deletions, which could cause critical issues since API keys are sensitive and required for access.
Proposed Solution: Add a confirmation dialog or modal when the user clicks “Delete” to warn them before the key is permanently removed. The dialog should clearly indicate that deletion is irreversible, will likely use some shadcn component and modify it accordingly.
Screenshot: