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

[Settings] UI suggestions #18866

Open
3 of 26 tasks
Jay-o-Way opened this issue Jun 15, 2022 · 16 comments
Open
3 of 26 tasks

[Settings] UI suggestions #18866

Jay-o-Way opened this issue Jun 15, 2022 · 16 comments
Assignees
Labels
Area-User Interface things that regard UX for PowerToys Cost-Large Large work item - 3+ days worth of work (chances are needs to be broken down) Product-Settings The standalone PowerToys Settings application Tracker Issue that is used to collect multiple sub-issues about a feature

Comments

@Jay-o-Way
Copy link
Collaborator

Jay-o-Way commented Jun 15, 2022

GLOBAL

Visual

Preview Give feedback
  1. Area-User Interface Priority-3 Product-Settings
  2. Area-User Interface Idea-Enhancement Needs-Team-Response Product-Settings
  3. Area-User Interface Idea-Enhancement Product-Settings Tracker
  4. Idea-Enhancement Priority-3 Product-Settings
  5. Area-User Interface Product-Settings Resolution-Fix Committed
    Jay-o-Way
  6. Area-User Interface Idea-Enhancement

Bindings

Preview Give feedback
  1. Product-Settings
    Jay-o-Way

Others

Preview Give feedback
  1. Area-Build Product-Settings
  2. Area-Build Resolution-Fix Committed
    Jay-o-Way

ALWAYS ON TOP

  • We could simplify this (reduces "movement" when switching default/custom)
    image
@Jay-o-Way Jay-o-Way added Product-Settings The standalone PowerToys Settings application Area-User Interface things that regard UX for PowerToys Priority-3 Bug that is low priority Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Jun 15, 2022
@Jay-o-Way Jay-o-Way changed the title [Settings] small suggestions (many of them about icons) [Settings] small suggestions (mostly icons) Jun 15, 2022
@htcfreek
Copy link
Collaborator

AOT

  • Sound: make it one setting (no expander)

this a preparing for the "choose file" issue

@niels9001 niels9001 self-assigned this Jul 11, 2022
@niels9001 niels9001 removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Jul 11, 2022
@Jay-o-Way Jay-o-Way changed the title [Settings] small suggestions (mostly icons) [Settings] UI suggestions Jul 15, 2022
@Jay-o-Way Jay-o-Way self-assigned this Jul 25, 2022
@Jay-o-Way Jay-o-Way added the Status-In progress This issue or work-item is under development label Jul 25, 2022
@Jay-o-Way

This comment was marked as outdated.

@Jay-o-Way

This comment was marked as resolved.

@niels9001
Copy link
Contributor

@niels9001

<muxc:InfoBar
Severity="Warning"
x:Uid="VideoConference_RunAsAdminRequired"
IsOpen="True"
IsTabStop="True"
IsClosable="False"
Visibility="{Binding Mode=OneWay, Path=IsElevated, Converter={StaticResource BoolToVisibilityConverter}}" />

This InfoBar has both an IsOpen="True" and an IsVisible={Binding} property, which I think is incorrect.
Why do we use Visibility on all InfoBars anyway, when I think we only need IsOpen?

Not sure.. there might have been a Narrator bug that still announced the InfoBars property when IsOpen was set to false. But not sure, if not we could use the IsOpen instead yes.

@Jay-o-Way Jay-o-Way added Tracker Issue that is used to collect multiple sub-issues about a feature Cost-Large Large work item - 3+ days worth of work (chances are needs to be broken down) labels Aug 21, 2022
@Jay-o-Way

This comment was marked as outdated.

@Jay-o-Way Jay-o-Way removed the Status-In progress This issue or work-item is under development label Oct 13, 2022
@crutkas
Copy link
Member

crutkas commented Nov 2, 2022

This is an epic. These should be individual tasks

@crutkas crutkas removed the Priority-3 Bug that is low priority label Nov 2, 2022
@niels9001 niels9001 removed their assignment May 9, 2023
@Jay-o-Way
Copy link
Collaborator Author

I see quite a lot of the following. Should we apply the suggestion?
image

@Jay-o-Way

This comment was marked as resolved.

@Jay-o-Way

This comment was marked as resolved.

@Jay-o-Way
Copy link
Collaborator Author

@niels9001 I'm trying to works on some points now. Do you have an answer for the (4) questions above here?

@niels9001
Copy link
Contributor

When VS says a namespace is unneeded, shall I remove it? image

Note: this one is consistent for every page in OobeViews

Yeah, this can be removed as we are not using that namespace in the XAML 👍

@niels9001
Copy link
Contributor

Should "using:Microsoft.PowerToys.Settings.UI.Controls" be a xmlns:local= or xmlns:custom=? image

Whatever works :) the 'local' or 'custom' part is up to the developer to determine. Here, 'controls' would make most sense?

@Jay-o-Way
Copy link
Collaborator Author

@niels9001 I was just looking at https://learn.microsoft.com/windows/uwp/xaml-platform/themeresource-markup-extension#when-and-how-to-use-themeresource-rather-than-staticresource and it looks like we should be using ThemeResource in a lot more places. It should be used for brushes, font properties and text styles (amongst others) and we often use a StaticResources for those.
If I'm right, this also applies to the example/code in WinUI Gallery > Design Guidance > Typography.

@niels9001
Copy link
Contributor

@niels9001 I was just looking at https://learn.microsoft.com/windows/uwp/xaml-platform/themeresource-markup-extension#when-and-how-to-use-themeresource-rather-than-staticresource and it looks like we should be using ThemeResource in a lot more places. It should be used for brushes, font properties and text styles (amongst others) and we often use a StaticResources for those.
If I'm right, this also applies to the example/code in WinUI Gallery > Design Guidance > Typography.

There's little to no additional benefit, so I wouldn't waste any time on that. StaticResources are fine for resources that do not change or are not defined in ThemeDictionaries. Brushes do get updated on theme changes, so for those we'd want to use ThemeResources.

@Jay-o-Way
Copy link
Collaborator Author

Jay-o-Way commented Jun 5, 2024

WASDK 1.6 will have https://learn.microsoft.com/windows/apps/windows-app-sdk/experimental-channel#new-titlebar-control 🥳

Think we should wait for the Stable relase?

@niels9001
Copy link
Contributor

WASDK 1.6 will have https://learn.microsoft.com/windows/apps/windows-app-sdk/experimental-channel#new-titlebar-control 🥳

Check the Build session for more info: https://youtu.be/WR4T24lLoVo?si=_lxZw-OQ14U7MPgJ&t=827! We've worked with the WinUI team to port the Community Toolkit titlebar to the platform, so that should make adoption much simpler!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-User Interface things that regard UX for PowerToys Cost-Large Large work item - 3+ days worth of work (chances are needs to be broken down) Product-Settings The standalone PowerToys Settings application Tracker Issue that is used to collect multiple sub-issues about a feature
Projects
Status: No status
Development

No branches or pull requests

4 participants