-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Add confirmation dialog before script execution #2474
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
Comments
Thanks for opening this issue!
|
do we want the dialog text as well? |
You mean a customizable dialog text? That would be a nice addition, but it would need to support some build-in variables, like
|
🎉 This change has been released in version 5.2.0-alpha.24 |
🎉 This change has been released in version 5.3.0-beta.1 |
🎉 This change has been released in version 5.3.0-alpha.1 |
🎉 This change has been released in version 5.3.0 |
New Feature / Enhancement Checklist
Current Limitation
A script is executed as soon as it is selected from the context menu. For sensitive operations it should be possible to show a confirmation dialog before the script is executed.
Feature / Enhancement Description
Add a config option to the script that shows a confirmation dialog, which allows the user to either "Cancel" (default / highlight button) or "Continue". By default, no dialog should be displayed.
The dialog could look like this:
In addition, the confirmation dialog should have 2 levels of severity, as is currently implemented throughout the dashboard UI. A "critical" level (red style) and an "info" level (blue style), like this:
Example Use Case
Alternatives / Workarounds
None
The text was updated successfully, but these errors were encountered: