CmdPal: Add settings, alias, and hotkey actions to top-level context menus#46049
CmdPal: Add settings, alias, and hotkey actions to top-level context menus#46049jiripolasek wants to merge 4 commits intomainfrom
Conversation
- Automatically add a Settings menu item for extensions that expose a settings page - Replace provider-authored settings-page context menu items so they open the Settings window instead - Add Change alias and Change global hotkey actions to top-level command context menus - Navigate directly to the owning extension page and focus the relevant settings section or command control - Group the new settings-related actions into a separate context menu section and update their icons --------- Co-authored-by: Niels Laute <niels.laute@live.nl>
|
I love the settings stuff. On alias/hotkey, it starts to get pretty bloated. I could see "Change Alias/Hotkey", but really, settings takes them there. |
a) This helps with discoverability. I know it’s there, you know it’s there, but users don’t. Even if they open the Settings page, shortcuts and aliases are hidden in a collapsed expander. b) As currently implemented, the "Settings" command only appears for custom extension settings (the adaptive card content) and takes you there. Not all extensions have that. It could be changed to "just" open the Extension Settings page, but that would lose part of its appeal: if the menu item is present, there’s something useful to configure. |
|
@niels9001, would love your input here |
|
Pinging @niels9001 |
|
@jiripolasek @michaeljolley I believe we are using a Because then, we could just have a single entry that is something called 'customization' and we could do a sub flyout?
|
It's using our built-in context-menu component. That is a ListView. However, it behaves just like our standard ContextMenu in that selecting a command that has subcommands simply dives into those subcommands rather than opening another flyout.
|
Right.. so for this example, should all of these be grouped under a Copy context menu? I think that would make sense in e.g. an app or OS UX, for a launcher I dunno.. question stays that you'd want to differentiate between primirary actions and secomdary actions. E.g. in the OP changing the alias is a one time thing - and a user would not need direct access to it so a submenu could make sense there - actually reduces cognitive load and improves glancibility too by hiding / keeping things short and clean. |
|
If we do this, we should find another way to teach the user about the hotkeys and aliases. Moving them out of sight will greatly reduce discoveribility. But then, it might have been a wrong too for a wrong problem altogether. |
|
@niels9001 would you like the new "Customize" submenu encompass Settings also? The only thing I'm not sure is how it behaves when the Customize (or any submenu) becomed the secondary command (Ctrl+Enter). |



Summary of the Pull Request
Pictures? Pictures!
Screen.Recording.2026-03-10.182002.mp4
PR Checklist
Detailed Description of the Pull Request / Additional comments
Validation Steps Performed