flexprice/flexprice-front
Add confirmation dialog for deleting secret keys in developers section.
开放
#412 创建于 2025年10月19日
enhancementhacktoberfest
仓库指标
- 星标
- (32 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
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: