Skip to content

Feature Request: Confirmation Dialog for Critical Actions #250

Open
@inF1704

Description

I would like to propose a new feature for ESP Dash/ESP Dash Pro regarding the implementation of a confirmation mechanism for critical actions. Current Situation
Currently, when users interact with buttons that trigger critical operations (such as data deletion), the action is executed immediately upon the first click without any safeguard mechanism. Proposed Enhancement
Implementation of a two-step confirmation process for critical actions:

Add a confirmation popup/dialog that appears after the initial button click
The actual operation should only be executed after the user confirms in this second step

Use Cases

Data deletion operations
System reset functions
Configuration changes
Any other potentially destructive or irreversible actions

Expected Behavior

User clicks the primary action button
A confirmation dialog appears with:
    Clear warning message about the action's consequences
    Confirm and Cancel options
Action only executes after explicit confirmation

This enhancement would significantly improve the user experience by preventing accidental triggering of critical operations and aligning with common UI/UX best practices for handling destructive actions.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions