-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Teach info bars to be dismissed permanently #11139
Teach info bars to be dismissed permanently #11139
Conversation
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.
Just a few small things before I approve
Okay I need top put aside more time for a full review, but this is legit. <crazy idea hat> How hard would it be to add a link to the docs (like, to https://docs.microsoft.com/en-us/windows/terminal/customize-settings/profile-advanced#profile-termination-behavior) to that infobar? We could generate the fwlink if needed |
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.
Besides wording nits, I'm cool with the rest of the code here. I'll leave it to the rest of the team to sort out the specific wording (/cc @cinnamon-msft)
@zadjii-msft - this is not very hard. We can do something like but we need to decide if we want to follow up by opening the settings 😊.... or... we can do all of them: In any case suggest to do it in a follow up. I can open a ticket for it.. and proceed with it if the team is interested. |
I am a fan of this. :) |
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.
Perfect. Let's do this
Hello @carlos-zamora! 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 (
|
* Allows "keyboard service" info bar to be dismissed permanently UI: * Add "Don't show again" button to the keyboard info bar Dismiss Permanently: * Introduce a set of "dismissed messages" to the Application State * Add verification the message is not dismissed before showing an info bar * "Don't show again" persists the choice under "dismissed messages" (cherry-picked from commit a900aba)
🎉 Handy links: |
🎉 Handy links: |
Summary of the Pull Request
that guides the user how to configure termination behavior
PR Checklist
Detailed Description of the Pull Request / Additional comments
UI:
Dismiss Permanently:
Wiring the Info Bar:
TerminalPage
onTermControl
'sConnectionStateChanged
event