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

Add miscellaneous simple settings to the settings UI #17923

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

carlos-zamora
Copy link
Member

Summary of the Pull Request

Adds the following settings to the settings UI:

  • $profile.RainbowSuggestions
  • $profile.AnswerbackMessage
  • $profile.CellWidth
  • $global.SearchWebDefaultQueryUrl
  • $global.EnableColorSelection
  • $global.ShowAdminShield
  • $global.EnableUnfocusedAcrylic

Additionally, the following settings have graduated from experimental 🎓:

  • $profile.rightClickContextMenu
  • $profile.RainbowSuggestions

Part of #10000

@@ -1839,4 +1871,20 @@
<value>Non-monospace fonts:</value>
<comment>This is a label that is followed by a list of proportional fonts.</comment>
</data>
<data name="Profile_RainbowSuggestions.Header" xml:space="preserve">
<value>Display suggestions UI preview text with rainbow formatting</value>
<comment>This is a label for a setting that, when enabled, applies a rainbow coloring to the previewable text from the suggestions UI.</comment>

Check failure

Code scanning / check-spelling

Unrecognized Spelling

[previewable](#security-tab) is not a recognized word. \(unrecognized-spelling\)
@carlos-zamora carlos-zamora force-pushed the dev/cazamor/sui/misc-simple-settings branch from 0c7979c to c895a73 Compare September 12, 2024 21:37
@carlos-zamora
Copy link
Member Author

Demo

Interaction page

  • $global.SearchWebDefaultQueryUrl
  • $global.EnableColorSelection

{EF32D7BB-AE96-45DD-9ECF-B2F9512BB8A3}

Appearance page

  • $global.ShowAdminShield
  • $global.EnableUnfocusedAcrylic

{3E01EA2A-4FCB-4C39-A53C-19376716CDBC}

Profile > Advanced

  • $profile.RainbowSuggestions
  • $profile.AnswerbackMessage

{2AF9BC25-43BA-4A2A-8137-6C87D466A75E}

Profile > Appearance

  • $profile.CellWidth

{7FA41BBF-D772-4600-B701-8AFC19CF5D51}

Comment on lines +139 to +143
<!-- Enable Unfocused Acrylic -->
<local:SettingContainer x:Uid="Globals_EnableUnfocusedAcrylic">
<ToggleSwitch IsOn="{x:Bind ViewModel.EnableUnfocusedAcrylic, Mode=TwoWay}"
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
</local:SettingContainer>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noticed that this setting is compatibility.enableUnfocusedAcrylic. Any ideas why it's in the compatibility namespace? To me, it makes sense to have in the appearance page, but the compatibility namespace is making me second guess that it should be in the new compatibility page. Should we remove the compatibility prefix?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it was more "OS compatibility" - unfocused acrylic is actually a different implementation of acrylic than usual. It has caused some issues in the past.

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.

2 participants