Skip to content
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

Remove the "set default terminal" banner #16873

Merged
merged 9 commits into from Mar 20, 2024
Merged

Conversation

DHowett
Copy link
Member

@DHowett DHowett commented Mar 14, 2024

Default Terminal: Everyone who cares to know, knows. Everyone who doesn't, has an annoying bar above all terminals

I had to introduce a workaround for the fact that unknown dismissed message keys in state.json result in Terminal exploding on launch. 😁 That's tracked in #16874.

Closes #11930 (but not in the way you'd expect)

@DHowett
Copy link
Member Author

DHowett commented Mar 14, 2024

Since we can't delete keys from the enum mapper used in ApplicationState here, I chose to introduce a new key called deprecated. It's first in the list so that when we deserialize setAsDefault it becomes 0, and when we re-serialize it it becomes deprecated. We can figure out a better long-term solution afterwards.

I'll file a bug and replace the GH# placeholder

@microsoft-github-policy-service microsoft-github-policy-service bot added Issue-Bug It either shouldn't be doing this or needs an investigation. Area-Accessibility Issues related to accessibility Priority-3 A description (P3) Product-Terminal The new Windows Terminal. labels Mar 14, 2024
@DHowett DHowett changed the title Remove the "set terminal as default" and "keyboard service" banners Remove the "set default terminal" + "keyboard service" banners Mar 14, 2024
@DHowett DHowett enabled auto-merge (squash) March 14, 2024 19:55
@zadjii-msft
Copy link
Member

I'm tempted to say we should only pull the defterm one. People hated the KB service one, but we also don't get complaints about it anymore. I'd bet that if we delete the warning, we're surely going to get people who's KB no worky once again.

@DHowett DHowett added this to the Terminal v1.21 milestone Mar 20, 2024
@DHowett DHowett added this to To Cherry Pick in 1.19 Servicing Pipeline via automation Mar 20, 2024
@DHowett DHowett added this to To Cherry Pick in 1.20 Servicing Pipeline via automation Mar 20, 2024
@DHowett DHowett removed this from To Cherry Pick in 1.19 Servicing Pipeline Mar 20, 2024
@DHowett DHowett changed the title Remove the "set default terminal" + "keyboard service" banners Remove the "set default terminal" banner Mar 20, 2024
@DHowett DHowett disabled auto-merge March 20, 2024 21:10
@DHowett DHowett enabled auto-merge (squash) March 20, 2024 21:10
@DHowett DHowett merged commit febfbeb into main Mar 20, 2024
18 of 20 checks passed
@DHowett DHowett deleted the dev/duhowett/banner-be-gone branch March 20, 2024 21:23
@DHowett DHowett moved this from To Cherry Pick to Cherry Picked in 1.20 Servicing Pipeline Mar 21, 2024
DHowett added a commit that referenced this pull request Mar 21, 2024
**Default Terminal**: Everyone who cares to know, knows. Everyone who
doesn't, has an annoying bar above all terminals

I had to introduce a workaround for the fact that unknown dismissed
message keys in `state.json` result in Terminal exploding on launch.
:grin: That's tracked in #16874.

Closes #11930 (but not in the way you'd expect)

(cherry picked from commit febfbeb)
Service-Card-Id: 92139784
Service-Version: 1.20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Accessibility Issues related to accessibility Issue-Bug It either shouldn't be doing this or needs an investigation. Priority-3 A description (P3) Product-Terminal The new Windows Terminal.
Projects
3 participants