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 v2] Module settings should be hidden/disabled when module toggleswitch is off. #2127

Closed
niels9001 opened this issue Apr 14, 2020 · 18 comments
Assignees
Labels
Area-User Interface things that regard UX for PowerToys Product-Settings The standalone PowerToys Settings application

Comments

@niels9001
Copy link
Contributor

Summary of the new feature/enhancement

The various module settings are still available when the main module toggeswitch is set to off. We should hide all settings if the toggeswitch is turned off. It helps the user to understand the feature is turned off entirely and follows other UX conventions (that are also used in the Settings app).
We don't need to touch the state of the various options, hiding them would suffice.

Proposed technical implementation details

Every page consists of a StackPanel with all controls. We can create a subpanel wrapping all options. Its visibility is bind to the ToggleSwitch state.

Happy to pick this one up.

@crutkas
Copy link
Member

crutkas commented Apr 14, 2020

I think that is a good one to pick up. Lets get #2129 in then lets work on this.

@crutkas crutkas added the Product-Settings The standalone PowerToys Settings application label Apr 14, 2020
@mdtauk
Copy link

mdtauk commented Apr 15, 2020

Hidden or set to disabled. There may be some benefit to showing what can be set, when you choose to toggle the module on.

@enricogior
Copy link
Contributor

In general I agree with @mdtauk , hiding the settings seems too much, just disabling them should be enough.
I'm also considering that with the number of modules increasing, if a user turns off several modules, it would be nice to have the active modules on top.

@niels9001
Copy link
Contributor Author

That makes sense, let's go for disabled!

@enricogior If I recall correctly @mdtauk has some thoughts on this before. We could have a visual indicator in the NavigationViewItems to indicate that a feature is turned off?

@enricogior
Copy link
Contributor

Any type of indication would be good, if the module name can be grayed out for example, but I leave it to UI experts to choose the best way to indicate it.

@niels9001 niels9001 changed the title [Settings v2] Module settings should be hidden when module togeswitch is off. [Settings v2] Module settings should be hidden/disabled when module toggleswitch is off. Apr 15, 2020
@niels9001
Copy link
Contributor Author

niels9001 commented Apr 15, 2020

Warning navview gif

This could be a way to indicate that there's e.g. a new feature or a feature is disabled.

EDIT:
Your Phone has a similiar notification badge for when there are unread messages:
image We could use blue for 'new', red for 'error', grey for 'disabled'.

@enricogior
Copy link
Contributor

I like the idea of a way to notify the user of a new feature (eventually we will have something similar to VS Code, one place with a list of all new features for all modules).
For the disabled items, the triangle with the exclamation seems to indicate a problem with the module, so I think is would be better to just gray out the module name (if possible).

@mdtauk
Copy link

mdtauk commented Apr 15, 2020

Warning navview gif

This could be a way to indicate that there's e.g. a new feature or a feature is disabled.

EDIT:
Your Phone has a similiar notification badge for when there are unread messages:
image We could use blue for 'new', red for 'error', grey for 'disabled'.

Another use case has emerged for this proposal in the WinUI repo it seems...
microsoft/microsoft-ui-xaml#2140

@niels9001
Copy link
Contributor Author

I like the idea of a way to notify the user of a new feature (eventually we will have something similar to VS Code, one place with a list of all new features for all modules).
For the disabled items, the triangle with the exclamation seems to indicate a problem with the module, so I think is would be better to just gray out the module name (if possible).

Yeah, maybe a 'What's new' / release notes clickable link under the version number (or maybe we can make the version number clickable?) that will take you to the release notes page on GH for now?

We can later on have something more fancy that integrates into the app.

Warning navview gif
This could be a way to indicate that there's e.g. a new feature or a feature is disabled.
EDIT:
Your Phone has a similiar notification badge for when there are unread messages:
image We could use blue for 'new', red for 'error', grey for 'disabled'.

Another use case has emerged for this proposal in the WinUI repo it seems...
microsoft/microsoft-ui-xaml#2140

Great, let's keep track of this. Hopefully we can leverage the badge improvements in the future to indicate that a feature is turned off.

@crutkas
Copy link
Member

crutkas commented Apr 15, 2020

i love the badging idea. One idea is dynamically updating the image.

  • One issue for the coloring the text is the nav item acutally isn't disabled. To reenable it, they have to click on it.
  • I like the Warning idea / mock @niels9001 did as it visually shows state.
    • I think it may need to be a stop sign or something. Warning implies configuration issue of some sort.

@crutkas crutkas added the Area-User Interface things that regard UX for PowerToys label Apr 15, 2020
@crutkas crutkas added this to the v1.0 Release milestone Apr 15, 2020
@ghost ghost mentioned this issue Apr 16, 2020
4 tasks
@htcfreek
Copy link
Collaborator

htcfreek commented Apr 18, 2020

  • I think it may need to be a stop sign or something. Warning implies configuration issue of some sort.

Originally posted by @crutkas

An example for using warning symbol to warn users could be #1958#issuecomment-613334280 .

@ghost ghost mentioned this issue Apr 22, 2020
4 tasks
@ghost
Copy link

ghost commented Apr 22, 2020

@niels9001
@crutkas
@mdtauk
@enricogior
This is how I am approaching it in the UI. Let me know if this solves the issue.

Disabled:
image

Enabled:
image

@niels9001
Copy link
Contributor Author

I think that makes sense!

Related question.. do we need a 'save sizes' button? Adding a new one should auto save it with default values in place? (And updating a vlue as well?

@mdtauk
Copy link

mdtauk commented Apr 22, 2020

This is how I am approaching it in the UI. Let me know if this solves the issue.

Disabled:
image

I know those subheading TextBoxes are not interactive, but is there any value in making the text faded along with the disabled controls?

The headings stand out a bit when the controls are disabled, to the point it feels a bit weird.


Also instead of Xs, you should be using the Multiply glyph as they are dimensions.

1920 × 1080

@ghost
Copy link

ghost commented Apr 22, 2020

This is how I am approaching it in the UI. Let me know if this solves the issue.
Disabled:
image

I know those subheading TextBoxes are not interactive, but is there any value in making the text faded along with the disabled controls?

The headings stand out a bit when the controls are disabled, to the point it feels a bit weird.

Also instead of Xs, you should be using the Multiply glyph as they are dimensions.

1920 × 1080

  • Sure I will fade out the headings when disabled and use the glyph icon for multiplication.

@ghost
Copy link

ghost commented Apr 22, 2020

I think that makes sense!

Related question.. do we need a 'save sizes' button? Adding a new one should auto save it with default values in place? (And updating a vlue as well?

Hi Niels, I do not have a strong preference for the save button. I added it to allow users to make all the changes they want and save when done. I thought was efficient as opposed to tracking every field.

@htcfreek
Copy link
Collaborator

image

@laviusmotileng-ms

  • For a better overview you could write a : between the name and the first size.
  • Do we really need two dropdowns for the type (pixels, ...)? I think no one will have pixel in the first number and an other type in the second number. (I would removed the first type dropdown. See example below.)
  • The dropdowns seems to be one pixel moved in compare to the number fields.

Example:
[Small] : [1024] x [1080] [pixel]   [Trash-Symbol]

@saahmedm saahmedm added Status-In progress This issue or work-item is under development and removed Status-In progress This issue or work-item is under development labels Apr 22, 2020
@niels9001
Copy link
Contributor Author

We're disabling interactive UI elements, which is best practice.

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 Product-Settings The standalone PowerToys Settings application
Projects
None yet
Development

No branches or pull requests

6 participants