-
Notifications
You must be signed in to change notification settings - Fork 62
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 improvements #1618
Settings improvements #1618
Conversation
erri120
commented
Jun 13, 2024
•
edited
Loading
edited
- Added sections, resolves Add settings sections #1370.
- Assigned settings to sections, resolves Assign sections to settings #1571.
- Re-worded and re-organized settings (also closes Telemetry/User data text changes - multiple locations #1606).
- Can now add links to settings, added one to link to the Privacy site.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are some translations that could be made, but would likely create conflicts with the other PRs we have, we can also do these in future prs.
.WithDescription("Send anonymous analytics information and usage data to Nexus Mods.") | ||
.AddToSection(Sections.Privacy) | ||
.WithDisplayName("Send usage data") | ||
.WithDescription("Help us improve the App by sending usage data to Nexus Mods.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider translation
.AddToSection(Sections.Advanced) | ||
.WithDisplayName("Show game files") | ||
.WithDescription("Show game files as a mod alongside your added mods.") | ||
.UseBooleanContainer() | ||
) | ||
.AddPropertyToUI(x => x.ShowOverride, propertyBuilder => propertyBuilder | ||
.AddToSection(sectionId) | ||
.WithDisplayName("Show Override") | ||
.WithDescription("Shows Override in the Mods page.") | ||
.AddToSection(Sections.Advanced) | ||
.WithDisplayName("Show Override mod") | ||
.WithDescription("Shows the Override mod, which contains files generated or modified during gameplay that aren't part of any specific mod.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider translations
.WithDescription("When enabled, logs will be written to the console as well as the log file.") | ||
.AddToSection(Sections.DeveloperTools) | ||
.WithDisplayName("Log to console") | ||
.WithDescription("Enables the ConsoleTarget (stdout) for all loggers.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider translations
view => view.ViewModel!.SettingEntries, | ||
view => view.ViewModel!.Sections |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are not expected to change right? This should not get triggered on every setting value change for example, right?
{ | ||
Id = Sections.General, | ||
IconFunc = static () => IconValues.Desktop, | ||
Name = "General", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider translation
.WithDescription("For testing the Xbox Game Pass detection") | ||
.AddToSection(Sections.Experimental) | ||
.WithDisplayName("Enable Xbox Game Pass support") | ||
.WithDescription("Allows you to manage games installed with Xbox Game Pass.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider translations
Here tests are failing |
Wow, this looks really good! (haven't looked at the code, but the screenshots look awesome. |
This is my bad but when we changed the diagnostics section to "Privacy", I should have also updated the icon. |
"Minimum severity" diagnostic setting needs updated text. |
src/Abstractions/NexusMods.Abstractions.Games.Diagnostics/DiagnosticSettings.cs
Outdated
Show resolved
Hide resolved
…nosticSettings.cs Co-authored-by: Al <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@captainsandypants reviewed in call with me and this should be good to merge