[Canvas] Refactor shortcut types to better describe specific actions #45073
Labels
chore
Feature:Canvas
impact:low
Addressing this issue will have a low level of impact on the quality/strength of our product.
loe:small
Small Level of Effort
Team:Presentation
Presentation Team for Dashboard, Input Controls, and Canvas
We should refactor our shortcut types to A) make it easier to add new shortcuts and B) make it easier to type specific shortcut actions.
For example, with something like:
there's not a good way to type that action besides string.
A refactor path could be to create an enum with all the actions. We could use this enum while building and typing the keymap or adding new shortcuts. This enum could also make it easier to type action types like
EDITING
orFULLSCREEN
The text was updated successfully, but these errors were encountered: