Skip to content

Add Warnings to Settings UI#17933

Merged
carlos-zamora merged 2 commits intomainfrom
dev/cazamor/sui/warnings
Sep 25, 2024
Merged

Add Warnings to Settings UI#17933
carlos-zamora merged 2 commits intomainfrom
dev/cazamor/sui/warnings

Conversation

@carlos-zamora
Copy link
Member

Adds the following settings to the Interaction page under a Warnings subsection:

  • ConfirmCloseAllTabs
  • InputServiceWarning
  • WarnAboutLargePaste
  • WarnAboutMultiLinePaste

This also changes the JSON keys of those settings to be in the warning namespace as a QOL change for JSON users. We still handle the legacy keys, don't worry 😉.

#10000

@carlos-zamora
Copy link
Member Author

Demo

{5352A045-34A8-4259-8EE8-C8C0098EAC48}

I kinda dislike that they all start with "Warn when...", but at the same time, it's very clear what they'll do. Replacing it with "Warning: ", for example, isn't as clear. Any suggestions?

@carlos-zamora carlos-zamora mentioned this pull request Sep 18, 2024
66 tasks
@carlos-zamora carlos-zamora added the Needs-Second It's a PR that needs another sign-off label Sep 25, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot removed the Needs-Second It's a PR that needs another sign-off label Sep 25, 2024
@carlos-zamora carlos-zamora merged commit 37aba31 into main Sep 25, 2024
@carlos-zamora carlos-zamora deleted the dev/cazamor/sui/warnings branch September 25, 2024 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants