[PR #6806] Add actions missing in schema, descriptions for toggleRetroEffect #26784

Open
opened 2026-01-31 09:18:08 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/6806

State: closed
Merged: Yes


Summary of the Pull Request

In the wake of #6635, a couple things got missed in merges:

  • toggleRetroEffect didn't get into the schema, nor did renameTab or
    commandPalette.
  • toggleRetroEffect also didn't get a name

Furthermore, I thought it might be a good idea to start sticking
commands into bindings even without keys. So I tried doing that for
opentabColorPicker and toggleRetroEffect, and found immediately that
the labels for the key chord still appear even when the text is empty.
So I added some XAML magic to hide those when the text is empty.

References

PR Checklist

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

Removed all my manual actions, ran the Terminal:
image

**Original Pull Request:** https://github.com/microsoft/terminal/pull/6806 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request In the wake of #6635, a couple things got missed in merges: * `toggleRetroEffect` didn't get into the schema, nor did `renameTab` or `commandPalette`. * `toggleRetroEffect` also didn't get a name Furthermore, I thought it might be a good idea to start sticking commands into `bindings` even without `keys`. So I tried doing that for `opentabColorPicker` and `toggleRetroEffect`, and found immediately that the labels for the key chord still appear even when the text is empty. So I added some XAML magic to hide those when the text is empty. ## References * #6762 * #6691 * #6557 * #6635 ## PR Checklist * [x] Closes #6762 * [x] I work here * [x] Tests added/passed * [n/a] Requires documentation to be updated ## Detailed Description of the Pull Request / Additional comments * See also: https://docs.microsoft.com/en-us/windows/uwp/data-binding/data-binding-quickstart#formatting-or-converting-data-values-for-display - make sure to switch to C++/WinRT at the top! ## Validation Steps Performed Removed all my manual actions, ran the Terminal: ![image](https://user-images.githubusercontent.com/18356694/86652356-f5a79400-bfa9-11ea-9131-5b7d3e835e19.png)
claunia added the pull-request label 2026-01-31 09:18:08 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#26784