[PR #13646] [MERGED] Fix a couple of issues with color scheme MVVM #29676

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/13646
Author: @PankajBhojwani
Created: 8/1/2022
Status: Merged
Merged: 8/2/2022
Merged by: @undefined

Base: mainHead: dev/pabhoj/fix_csvm


📝 Commits (4)

📊 Changes

2 files changed (+4 additions, -1 deletions)

View changed files

📝 src/cascadia/TerminalSettingsEditor/ColorSchemes.xaml (+0 -1)
📝 src/cascadia/TerminalSettingsEditor/ColorSchemesPageViewModel.cpp (+4 -0)

📄 Description

Summary of the Pull Request

  • When 'discard changes' is hit, we re-initialize our list of color scheme view models but forgot to tell xaml about it, this commit fixes that.
  • Make sure to exit rename mode when 'update settings' gets called

References

color schemes mvvm added in #13179

PR Checklist

  • CLA signed. If not, go over here and sign the CLA
  • 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

Validation Steps Performed

Hitting discard changes doesn't cause an inconsistency with the currently selected scheme anymore


🔄 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/13646 **Author:** [@PankajBhojwani](https://github.com/PankajBhojwani) **Created:** 8/1/2022 **Status:** ✅ Merged **Merged:** 8/2/2022 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `dev/pabhoj/fix_csvm` --- ### 📝 Commits (4) - [`5b4fdf4`](https://github.com/microsoft/terminal/commit/5b4fdf486c2b3152acd036a1ca8825eb66e31114) tell xaml the list changed too - [`feca5da`](https://github.com/microsoft/terminal/commit/feca5dacab5948a713620fcb36859b379ba1d96d) exit rename - [`cc05c21`](https://github.com/microsoft/terminal/commit/cc05c2125e5c063eac09d0ee85880141c8f310d4) Merge branch 'main' of https://github.com/microsoft/terminal into dev/pabhoj/fix_csvm - [`e23c44c`](https://github.com/microsoft/terminal/commit/e23c44c73b4b36a00e02184e19cfe44adb0b3d1c) nit ### 📊 Changes **2 files changed** (+4 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalSettingsEditor/ColorSchemes.xaml` (+0 -1) 📝 `src/cascadia/TerminalSettingsEditor/ColorSchemesPageViewModel.cpp` (+4 -0) </details> ### 📄 Description ## Summary of the Pull Request - When 'discard changes' is hit, we re-initialize our list of color scheme view models but forgot to tell xaml about it, this commit fixes that. - Make sure to exit rename mode when 'update settings' gets called ## References color schemes mvvm added in #13179 ## PR Checklist * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [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 ## Validation Steps Performed Hitting discard changes doesn't cause an inconsistency with the currently selected scheme anymore --- <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:36:16 +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#29676