In newTabMenu allow assignment/override of the icon property for the action items #18103
Labels
Area-Settings
Issues related to settings and customizability, for console or terminal
Area-User Interface
Issues pertaining to the user interface of the Console or Terminal
Help Wanted
We encourage anyone to jump in on these.
In-PR
This issue has a related PR
Issue-Task
It's a feature request, but it doesn't really need a major design.
Needs-Tag-Fix
Doesn't match tag requirements
Product-Terminal
The new Windows Terminal.
Milestone
Description of the new feature
Hi.
One small cosmetic suggestion.
Currently, I can define actions->command which I can then select as the action in newTabMenu.
If I would like to have an icon (or glyph) for that item displayed in the newTabMenu, icon needs to be defined at the level of actions->command. That will result in icon being visible in the command palette as well, which I'd like to avoid (I don't like it visually to have only one or a few items with the icon in a long list of commands).
Would it be possible to have a possibility to define "icon" for newTabMenu action items ("type": "action"). That would allow assignment of desired icons/glyphs to desired commands only in newTabMenu and not in command palette.
Other option would be to have a property on the actions->command item level that would allow for the icon not to be displayed in the command palette (e.g. iconVisibility to have one of the following values: "newtabmenu", "commandpalette", "both", "none").
One more thing that could work is to allow the whole custom command to be excluded from the command palette.
Thank you in advance!
Proposed technical implementation details
No response
The text was updated successfully, but these errors were encountered: