Provide the action's ID to the JavaScript model as "id".

Review Request #14661 — Created Oct. 31, 2025 and submitted

Information

Review Board
release-7.1.x

Reviewers

When actions were first implemented, the action's ID was provided to
the model as an actionId attribute. This wasn't marked as the model's
attribute, so it didn't properly function as an ID for lookup purposes.

To keep things clean and standard, this has been renamed to id. This
may have some theoretical fallout if anyone has actions with custom
views that reference this.get('actionId'), but it's unlikely any
third-parties will truly be affected. If needed, we could alias the ID.

Unit tests pass.

Summary ID
Provide the action's ID to the JavaScript model as "id".
When actions were first implemented, the action's ID was provided to the model as an `actionId` attribute. This wasn't marked as the model's attribute, so it didn't properly function as an ID for lookup purposes. To keep things clean and standard, this has been renamed to `id`. This may have some theoretical fallout if anyone has actions with custom views that reference `this.get('actionId')`, but it's unlikely any third-parties will truly be affected. If needed, we could alias the ID.
f82ac1a50c5f54fdecfb1b59b174f0956eef4175
maubin
  1. Ship It!
  2. 
      
david
  1. Ship It!
  2. 
      
chipx86
maubin
  1. Ship It!
  2. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-7.1.x (f16ce20)