-
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
Add the setting "confirmCloseAllTabs" to SUI #14419
Conversation
I think a better Header for the settings container is needed. Maybe a HelpText also. |
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.
Verified this works with screen readers.
Long-term, we need...
- "don't show this again" checkboxes on the warning dialogs. When checked, we suppress the dialog and save the selection to state.json.
- Migration (aka legacy support): if user has any warning settings set in settings.json, update state.json appropriately.
- SUI updates:
- add a UI for each warning so that the user can reset it.
- add a "reset all warnings" button?
I'm saying all of this because adding these warnings to the SUI in the meantime shouldn't conflict with any of it. At the end of the day, if 1 and 2 is done, we just update the view model in SUI to update state.json instead of settings.json.
tl;dr: Thanks for doing this :). If you want to add all of the other warnings, go for it. Should be pretty much the same.
src/cascadia/TerminalSettingsEditor/Resources/en-US/Resources.resw
Outdated
Show resolved
Hide resolved
FWIW, Carlos's comment is largely musing and not indicative of work that NEEDS to be done in this PR. Small, incremental changes are always easier to review and ingest. See also #6641 |
Sorry! Yes! Should've made that more clear haha. Just trying to be encouraging and give you (or anybody else) the direction we're thinking of going as a whole. |
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 (
|
For clarity this might be better stated as, "Confirm when closing more than one tab". We cannot always translate the JSON names directly to sentences 😄 EDIT: or even, "Prompt for confirmation before closing more than one tab"? |
🎉 Handy links: |
This commit adds the setting "confirmCloseAllTabs" to SUI.
The setting was added to the Interactions pane of Global Settings.
Closes #14413
Closes #14033