Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add Warnings to Settings UI #17933

Merged
merged 2 commits into from
Sep 25, 2024
Merged

Add Warnings to Settings UI #17933

merged 2 commits into from
Sep 25, 2024

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
65 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
20 checks passed
@carlos-zamora carlos-zamora deleted the dev/cazamor/sui/warnings branch September 25, 2024 17:10
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants