flexprice/flexprice-front

Add confirmation dialog for deleting secret keys in developers section.

Ouverte

#412 ouverte le 19 oct. 2025

 (6 commentaires) (0 réaction) (1 personne assignée)TypeScript (106 forks)auto 404
enhancementhacktoberfest

Métriques du dépôt

Stars
 (32 étoiles)
Métriques de merge PR
 (Merge moyen 1j 1h) (116 PRs mergées en 30 j)

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:

Guide contributeur