[PR #12096] [MERGED] Disable duplicate button without selected profile #28837

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/12096
Author: @davidegiacometti
Created: 1/5/2022
Status: Merged
Merged: 1/6/2022
Merged by: @undefined

Base: mainHead: issue-12056


📝 Commits (3)

  • 266c08e disable duplicate button without selected profile
  • 73691ad fix code formatting
  • a189cb3 use member instead of getter

📊 Changes

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

View changed files

📝 src/cascadia/TerminalSettingsEditor/AddProfile.cpp (+9 -0)
📝 src/cascadia/TerminalSettingsEditor/AddProfile.h (+3 -0)
📝 src/cascadia/TerminalSettingsEditor/AddProfile.idl (+2 -1)
📝 src/cascadia/TerminalSettingsEditor/AddProfile.xaml (+3 -1)

📄 Description

Summary of the Pull Request

  • Settings > Add a new profile
  • Disable "Duplicate" button until a profile is selected

Duplicate

References

PR Checklist

  • Should take care of #12056, once we can get a build to the a11y team (MAINTAINER EDIT: we unfortunately can't just say "closes #foo" for issues like this one, we need another team to validate the following build.)
  • 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

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed


🔄 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/12096 **Author:** [@davidegiacometti](https://github.com/davidegiacometti) **Created:** 1/5/2022 **Status:** ✅ Merged **Merged:** 1/6/2022 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `issue-12056` --- ### 📝 Commits (3) - [`266c08e`](https://github.com/microsoft/terminal/commit/266c08e13acbd6f5a7e59ec34605f7b874904b8d) disable duplicate button without selected profile - [`73691ad`](https://github.com/microsoft/terminal/commit/73691ad7e386fb6439cc053aa85ff1622b7cf484) fix code formatting - [`a189cb3`](https://github.com/microsoft/terminal/commit/a189cb3dd1d068198c26eb1c05de8a9b514cefff) use member instead of getter ### 📊 Changes **4 files changed** (+17 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalSettingsEditor/AddProfile.cpp` (+9 -0) 📝 `src/cascadia/TerminalSettingsEditor/AddProfile.h` (+3 -0) 📝 `src/cascadia/TerminalSettingsEditor/AddProfile.idl` (+2 -1) 📝 `src/cascadia/TerminalSettingsEditor/AddProfile.xaml` (+3 -1) </details> ### 📄 Description <!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request - Settings > Add a new profile - Disable "Duplicate" button until a profile is selected ![Duplicate](https://user-images.githubusercontent.com/25966642/148303450-a084cd5f-7f1c-4de3-86bd-602b9336649e.gif) <!-- Other than the issue solved, is this relevant to any other issues/existing PRs? --> ## References <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [x] Should take care of #12056, once we can get a build to the a11y team (MAINTAINER EDIT: we unfortunately can't just say "closes #foo" for issues like this one, we need another team to validate the following build.) * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [ ] Tests added/passed * [ ] Documentation updated. If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) 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 <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed --- <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:31:06 +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#28837