-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Confirmation Dialog for Critical Actions #250
Comments
This is possible to do it if you are a dahs pro user by crafting a card which is a combination of push button, button and status. But definitely, with the new codebase I proposed for ESP-DASH v5, with a new cleaner API, I was able to do it in 30min with only 10 lines of C++ code added in the library (and the UI component of course). Screen.Recording.2025-01-17.at.14.42.37.mov |
This looks very nice. Yes I'm a pro user but still on V4. |
@mathieucarbou can you help me providing a basic example for V4 pro? I tried several approaches but I´m not able to cast a button with status |
you need to understand how the UI works and is made in order to do that... It's just about creating a new ui card and copying content from other existing ones. then of course a little cpp update to support a new type of card. Ask @ayushsharma82 through his support email for a feature request ;-) |
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:
Use Cases
Expected Behavior
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.
The text was updated successfully, but these errors were encountered: