Add action to quickly create a button shortcut #3500
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add the ability to quickly create a button that executes the action of another button and mimicks its appearance. Useful when you need the exact same button in multiple places and don't want to duplicate the button/maintenance.
We do this all the time to have a specific button available on a bunch of pages, for instance a lights/graphics clear button or a go back to home button. Or when we have create an event-specific page with the most-needed controls.
Uses existing actions/feedback to trigger/look like the target button.
An alternative approach would be to make a more fundamental "shortcut button" type that does not have its own configuration/actions/etc. For now, I chose this approach to avoid a larger maintenance burden by using existing concepts and to have quicker user feedback on the usefulness of this feature.