flexprice/flexprice-front
Add confirmation dialog for deleting secret keys in developers section.
Aberta
#412 aberto em 19 de out. de 2025
enhancementhacktoberfest
Métricas do repositório
- Stars
- (32 estrelas)
- Métricas de merge de PR
- (Mesclagem média 1d 1h) (116 fundiu PRs em 30d)
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: