Skip to content
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

Allow to ask confirmation in custom actions and disable it in batch actions #6674

Open
javiereguiluz opened this issue Dec 30, 2024 · 0 comments
Labels
feature priority: important Bugs to fix and features to implement
Milestone

Comments

@javiereguiluz
Copy link
Collaborator

Batch actions display a confirmation message in a model windows because they can be "dangerous" (e.g. delete lots of items at once, publish/unpublish lots of items at once, etc.) But some folks prefer to not have that confirmation for some batch actions. Let's add a method to disable this default behavior.

Related to this, custom actions never display a confirmation dialog, but some of those can be destructive or dangerous. So, let's add a method for actions to ask for a confirmation.

While we do this, maybe we can redesign the current behavior based on a sliding down modal and display the message similar to what macOS or Windows do when asking for permission to users.

@javiereguiluz javiereguiluz added this to the 4.x milestone Dec 30, 2024
@javiereguiluz javiereguiluz added the priority: important Bugs to fix and features to implement label Dec 30, 2024
@javiereguiluz javiereguiluz changed the title Allow to ask confirmation in custom actiosn and disable it in batch actions Allow to ask confirmation in custom actions and disable it in batch actions Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature priority: important Bugs to fix and features to implement
Projects
None yet
Development

No branches or pull requests

1 participant