You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched for similar issues before opening a new one.
Problem
some context menu items also have shortcut items associated with them, and in those cases we want to display the keyboard shortcut in the menu. to make the process of creating the context menu easier, we can add an api to associate the context menu item with a keyboard shortcut
Request
add an optional associatedKeyboardShortcut to ContextMenuItem interface (feel free to debate name)
should be a string, the name of a keyboard shortcut as it exists in the registry
if the kb shortcut does not exist in the registry at the time we access the shortcut name, then log a warning but then otherwise proceed as if the property were undefined
Check for duplicates
Problem
some context menu items also have shortcut items associated with them, and in those cases we want to display the keyboard shortcut in the menu. to make the process of creating the context menu easier, we can add an api to associate the context menu item with a keyboard shortcut
Request
associatedKeyboardShortcuttoContextMenuIteminterface (feel free to debate name)Alternatives considered
No response
Additional context
No response