Problem/Motivation

Currently, it's impossible to know which bulk actions are triggered, so it would be nice to have something like data-action-id or something similar to help target the needed action.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

ahmad khader created an issue. See original summary.

ahmad khader’s picture

I implemented something simple for the button.
We could expand it or change to something better.

divyansh.gupta’s picture

Assigned: Unassigned » divyansh.gupta

Reviewing this

divyansh.gupta’s picture

Assigned: divyansh.gupta » Unassigned
Status: Needs review » Reviewed & tested by the community
StatusFileSize
new44.48 KB
new50.53 KB

The data-action-id attribute is correctly rendered on each bulk action button, allowing frontend code to identify which action was triggered. Matches the intent of the issue. Moving to RTBC.
Before:
before
After:
after

graber’s picture

Status: Reviewed & tested by the community » Needs work

Please create a MR.

ahmad khader’s picture

Version: 4.3.x-dev » 4.4.x-dev

ahmad khader’s picture

Status: Needs work » Needs review

graber’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.