[PR #13552] [CLOSED] Add a pivot to the tab color picker #29626

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/13552
Author: @carlos-zamora
Created: 7/20/2022
Status: Closed

Base: mainHead: dev/cazamor/color-picker-redesign


📝 Commits (2)

  • 7efe371 Add a pivot to the tab color picker
  • a3ad610 Rename reset button

📊 Changes

4 files changed (+95 additions, -87 deletions)

View changed files

📝 src/cascadia/TerminalApp/ColorPickupFlyout.cpp (+32 -31)
📝 src/cascadia/TerminalApp/ColorPickupFlyout.h (+2 -1)
📝 src/cascadia/TerminalApp/ColorPickupFlyout.xaml (+51 -53)
📝 src/cascadia/TerminalApp/Resources/en-US/Resources.resw (+10 -2)

📄 Description

Summary of the Pull Request

The "Custom" button on the color picker is a bit strange (at least with regards to accessibility). It's a magical toggle button that reveals/hides content but doesn't interact with the formerly existing content. Instead, I've added a Pivot control to introduce two "modes": "Standard" and "Custom". This aligns with the experience on MS Word's color selection for text.

With regards to accessibility, the role of the "Custom button" won't matter anymore because it won't exist.

While I was here, I also added did a little bit of code cleanup by sprinkling a few const around and removing some unnecessary XAML code.

Additionally, the "Reset" button was renamed to be more descriptive and be able to close #12044.

References

Closes #12045
Closes #12044

Validation Steps Performed

  • color picker works
  • acceptable keyboard navigation on the color picker

🔄 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/13552 **Author:** [@carlos-zamora](https://github.com/carlos-zamora) **Created:** 7/20/2022 **Status:** ❌ Closed **Base:** `main` ← **Head:** `dev/cazamor/color-picker-redesign` --- ### 📝 Commits (2) - [`7efe371`](https://github.com/microsoft/terminal/commit/7efe371cd1e5226105cb58e89849deedd43e7e97) Add a pivot to the tab color picker - [`a3ad610`](https://github.com/microsoft/terminal/commit/a3ad610c346b7dcbe6c5cdd5f000173a29bb338d) Rename reset button ### 📊 Changes **4 files changed** (+95 additions, -87 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalApp/ColorPickupFlyout.cpp` (+32 -31) 📝 `src/cascadia/TerminalApp/ColorPickupFlyout.h` (+2 -1) 📝 `src/cascadia/TerminalApp/ColorPickupFlyout.xaml` (+51 -53) 📝 `src/cascadia/TerminalApp/Resources/en-US/Resources.resw` (+10 -2) </details> ### 📄 Description ## Summary of the Pull Request The "Custom" button on the color picker is a bit strange (at least with regards to accessibility). It's a magical toggle button that reveals/hides content but doesn't interact with the formerly existing content. Instead, I've added a Pivot control to introduce two "modes": "Standard" and "Custom". This aligns with the experience on MS Word's color selection for text. With regards to accessibility, the role of the "Custom button" won't matter anymore because it won't exist. While I was here, I also added did a little bit of code cleanup by sprinkling a few `const` around and removing some unnecessary XAML code. Additionally, the "Reset" button was renamed to be more descriptive and be able to close #12044. ## References Closes #12045 Closes #12044 ## Validation Steps Performed - color picker works - acceptable keyboard navigation on the color picker --- <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:35:59 +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#29626