[PR #9808] [MERGED] Add a success dialog to window renaming #27770

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/9808
Author: @zadjii-msft
Created: 4/14/2021
Status: Merged
Merged: 4/22/2021
Merged by: @undefined

Base: mainHead: dev/migrie/b/9804-rename-confirmation


📝 Commits (5)

  • 25362e8 the whole thing
  • 49f5f6e derp
  • 9fdbd50 Merge remote-tracking branch 'origin/main' into dev/migrie/b/9804-rename-confirmation
  • 1239835 remove the specific success toast. That's unnecessary.
  • f748efd Address Carlos' concerns

📊 Changes

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

View changed files

📝 src/cascadia/TerminalApp/TerminalPage.cpp (+23 -3)
📝 src/cascadia/TerminalApp/TerminalPage.h (+1 -1)

📄 Description

I added a RenameSucceededText property to the TerminalPage which returns the
formatted message Successfully renamed window to "{WindowNameForDisplay()}"

This doesn't pop the dialog when you wt -w foo for the first time. Only
subsequent renames.

References


🔄 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/9808 **Author:** [@zadjii-msft](https://github.com/zadjii-msft) **Created:** 4/14/2021 **Status:** ✅ Merged **Merged:** 4/22/2021 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `dev/migrie/b/9804-rename-confirmation` --- ### 📝 Commits (5) - [`25362e8`](https://github.com/microsoft/terminal/commit/25362e8b95faa5a5114b93efbdaa155c052db926) the whole thing - [`49f5f6e`](https://github.com/microsoft/terminal/commit/49f5f6e847ad1ee29d09b92549032a7f99b284a1) derp - [`9fdbd50`](https://github.com/microsoft/terminal/commit/9fdbd50c47c15a34ff6dfc9cfd9cfe9c70710417) Merge remote-tracking branch 'origin/main' into dev/migrie/b/9804-rename-confirmation - [`1239835`](https://github.com/microsoft/terminal/commit/1239835f0f36b215a37c9b745c8b4119c1da2c1a) remove the specific success toast. That's unnecessary. - [`f748efd`](https://github.com/microsoft/terminal/commit/f748efd071279b3000cd4e788a8e28dab53a48ca) Address Carlos' concerns ### 📊 Changes **2 files changed** (+24 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalApp/TerminalPage.cpp` (+23 -3) 📝 `src/cascadia/TerminalApp/TerminalPage.h` (+1 -1) </details> ### 📄 Description I added a `RenameSucceededText` property to the `TerminalPage` which returns the formatted message `Successfully renamed window to "{WindowNameForDisplay()}"` This _doesn't_ pop the dialog when you `wt -w foo` for the first time. Only _subsequent_ renames. ## References * Added in #9662 * Closes #9804 --- <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:24: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#27770