flexprice/flexprice-front

Add confirmation dialog for deleting secret keys in developers section.

Aperta

#412 aperta il 19 ott 2025

 (6 commenti) (0 reazioni) (1 assegnatario)TypeScript (106 fork)auto 404
enhancementhacktoberfest

Metriche repository

Star
 (32 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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:

Guida contributor