Add a view for managing button actions.

Review Request #14681 — Created Nov. 10, 2025 and updated

Information

Review Board
release-7.1.x

Reviewers

RB.Actions.ButtonActionView wraps a button action, converting a click
event to an action activation.

During activation, the button's busy state will be set, ensuring the
button isn't clicked more than once.

We don't have an Ink button instance to work with, so instead this just
works with the element directly. Given the limited needs, there's no
value in creating a full instance to manage this at this time.

Tested the Quick Access buttons, ensuring that clicks would trigger the
actions and that the busy state behavior was properly managed.

Summary ID
Add a view for managing button actions.
`RB.Actions.ButtonActionView` wraps a button action, converting a click event to an action activation. During activation, the button's busy state will be set, ensuring the button isn't clicked more than once. We don't have an Ink button instance to work with, so instead this just works with the element directly. Given the limited needs, there's no value in creating a full instance to manage this at this time.
09967a73ccd5262f3b6b5422aa2f1cbc48ba943e
Checks run (2 succeeded)
flake8 passed.
JSHint passed.