[PR #9582] [MERGED] Command Palette: announce various mode and state changes to UIA #27640

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/9582
Author: @DHowett
Created: 3/22/2021
Status: Merged
Merged: 3/23/2021
Merged by: @DHowett

Base: mainHead: dev/duhowett/cpal-announcement


📝 Commits (2)

  • acb4b2b Command Palette: announce various mode and state changes to UIA
  • dc6c96d Update src/cascadia/TerminalApp/Resources/en-US/Resources.resw

📊 Changes

3 files changed (+58 additions, -1 deletions)

View changed files

📝 src/cascadia/TerminalApp/CommandPalette.cpp (+41 -1)
📝 src/cascadia/TerminalApp/Resources/en-US/Resources.resw (+16 -0)
📝 src/cascadia/TerminalApp/pch.h (+1 -0)

📄 Description

Summary of the Pull Request

This commit introduces a few different announcements to the command
palette.

When you delete the >, it will announce that you have entered
"command-line mode". When you reintroduce the >, it will announce that
you are in "action search mode."

When you enter a nested command, it will announce that you are looking
at "more options for new tab..." or "more options for select color
scheme...".

When you search and find nothing, it will announce that there were no
matching commands (or tabs!)

References

#7907 -- I would like to add "10 results match" or something, but ... pluralization across different languages is utterly hellish 😄

PR Checklist

  • Closes #xxx
  • CLA signed. If not, go over here and sign the CLA
  • Tests added/passed
  • Documentation updated. If checked, please file a pull request on our docs repo and link it here: #xxx
  • Schema updated.
  • I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/9582 **Author:** [@DHowett](https://github.com/DHowett) **Created:** 3/22/2021 **Status:** ✅ Merged **Merged:** 3/23/2021 **Merged by:** [@DHowett](https://github.com/DHowett) **Base:** `main` ← **Head:** `dev/duhowett/cpal-announcement` --- ### 📝 Commits (2) - [`acb4b2b`](https://github.com/microsoft/terminal/commit/acb4b2b19bf992cf0c4cf68676e0bc564a6f4ba7) Command Palette: announce various mode and state changes to UIA - [`dc6c96d`](https://github.com/microsoft/terminal/commit/dc6c96d2e842ad5c94dbedabd083ae377ede5bbf) Update src/cascadia/TerminalApp/Resources/en-US/Resources.resw ### 📊 Changes **3 files changed** (+58 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalApp/CommandPalette.cpp` (+41 -1) 📝 `src/cascadia/TerminalApp/Resources/en-US/Resources.resw` (+16 -0) 📝 `src/cascadia/TerminalApp/pch.h` (+1 -0) </details> ### 📄 Description ## Summary of the Pull Request This commit introduces a few different announcements to the command palette. When you delete the `>`, it will announce that you have entered "command-line mode". When you reintroduce the `>`, it will announce that you are in "action search mode." When you enter a nested command, it will announce that you are looking at "more options for new tab..." or "more options for select color scheme...". When you search and find nothing, it will announce that there were no matching commands (or tabs!) ## References #7907 -- I would like to add "10 results match" or something, but ... pluralization across different languages is utterly hellish :smile: ## PR Checklist * [ ] Closes #xxx * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [x] Tests added/passed * [x] Documentation updated. If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx * [x] Schema updated. * [x] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:23:12 +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#27640