Add a view for managing button actions.
Review Request #14681 — Created Nov. 10, 2025 and submitted
RB.Actions.ButtonActionViewwraps 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.
- Change Summary:
-
- Fixed sorting of imports.
- Removed an unused "Instance variables" doc block.
- Commits:
-
Summary ID 09967a73ccd5262f3b6b5422aa2f1cbc48ba943e 4aaf15be25ef8c0e23034199d8ca02804651e657 - Diff:
-
Revision 2 (+130 -6)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.