-
Notifications
You must be signed in to change notification settings - Fork 8.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dismiss Terminal-by-default banner on handoff #13344
Conversation
Does this work if the first tab in a session is a handoff? |
Yep! That's what I meant to say with the last bullet point in my validation steps. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love it. It's so clever.
Hello @lhecker! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
It's not useful to notify users that WT can be made the default if it's already clearly being used for handoff. This commit will suppresses the banner then. ## PR Checklist * [x] Closes #13314 * [x] I work here ## Validation Steps Performed * Modify `TerminalPage::ShowSetAsDefaultInfoBar` to not check for `CascadiaSettings::IsDefaultTerminalSet()` * Set Terminal Dev as the default * Set incoming connections to open in the latest Terminal window * Delete `state.json` after every test below * Launching Terminal Dev shows the banner ✅ Launching `cmd.exe` dismisses the banner in the current Terminal ✅ * Launching `cmd.exe` launches Terminal Dev without banner ✅ (cherry picked from commit 24a53d4) Service-Card-Id: 83434412 Service-Version: 1.14
🎉 Handy links: |
🎉 Handy links: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not useful to notify users that WT can be made the default if it's already
clearly being used for handoff. This commit will suppresses the banner then.
PR Checklist
Validation Steps Performed
TerminalPage::ShowSetAsDefaultInfoBar
to not check forCascadiaSettings::IsDefaultTerminalSet()
state.json
after every test belowLaunching
cmd.exe
dismisses the banner in the current Terminal ✅cmd.exe
launches Terminal Dev without banner ✅