-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
Comments
I think that is a good one to pick up. Lets get #2129 in then lets work on this. |
Hidden or set to disabled. There may be some benefit to showing what can be set, when you choose to toggle the module on. |
In general I agree with @mdtauk , hiding the settings seems too much, just disabling them should be enough. |
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? |
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. |
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). |
Another use case has emerged for this proposal in the WinUI repo it seems... |
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.
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. |
i love the badging idea. One idea is dynamically updating the image.
|
Originally posted by @crutkas An example for using warning symbol to warn users could be #1958#issuecomment-613334280 . |
@niels9001 |
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? |
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 |
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. |
Example: |
We're disabling interactive UI elements, which is best practice. |
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.
The text was updated successfully, but these errors were encountered: