Repository navigation
feat(settings-ui): add update channel selector - #49722
Merged
Niels Laute (niels9001) merged 2 commits intoAug 7, 2026
Merged
Niels Laute (niels9001) merged 2 commits into
Niels Laute (niels9001) merged 2 commits into
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4169c03d-5e17-4495-b7b1-8e6af0d6565c
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4169c03d-5e17-4495-b7b1-8e6af0d6565c
2 of 4 tasks
Niels Laute (niels9001)
enabled auto-merge (squash)
August 6, 2026 16:51
Niels Laute (niels9001)
requested review from
Boliang Zhang (LegendaryBlair)
and
a lite review from Copilot
August 6, 2026 16:51
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
Suppressed comments (1)
src/settings-ui/Settings.UI/ViewModels/GeneralViewModel.cs:675
IsIncludePrereleaseUpdatesGpoManagedreturns_includePrereleaseUpdatesIsGpoDisabled, which is semantically the opposite of what 'managed' often implies (managed can be either enabled/disabled by policy). Consider renaming the property to match the underlying meaning (e.g.,IsIncludePrereleaseUpdatesGpoDisabled) or adjusting the backing field/property naming so 'GpoManaged' unambiguously reflects the policy-managed state.
public bool IsIncludePrereleaseUpdatesGpoManaged
{
get => _includePrereleaseUpdatesIsGpoDisabled;
}
| <value>Insider</value> | ||
| </data> | ||
| <data name="GeneralPage_UpdateChannelInsiderDescription.Text" xml:space="preserve"> | ||
| <value>Get nightly builds with the latest features and fixes. These builds may be unstable.</value> |
Contributor
There was a problem hiding this comment.
Describe the actual Insider update cadence
Severity: medium
The Insider channel receives preview releases, not nightly builds. The current copy overpromises both cadence and freshness.
Suggested change
| <value>Get nightly builds with the latest features and fixes. These builds may be unstable.</value> | |
| <value>Receive preview releases with the latest features and fixes. These releases may be unstable.</value> |
Muyuan Li (MuyuanMS)
approved these changes
Aug 7, 2026
3 tasks done
Niels Laute (niels9001)
pushed a commit
that referenced
this pull request
Aug 10, 2026
## Summary of the Pull Request Fixes Settings navigation to the General page by applying the correctly typed `SecondaryIsEnabledTextBlockStyle` to `GeneralPage_UpdateChannelDescription` in `src/settings-ui/Settings.UI/SettingsXAML/Views/GeneralPage.xaml`. The previous `SecondaryTextStyle` targets `TextBlock`, so WinUI threw a `XamlParseException` when applying it to the custom `IsEnabledTextBlock` control. This prevented `GeneralPage.InitializeComponent()` from completing. ## PR Checklist - [x] **Communication:** Regression identified while validating the v0.101 preview candidate - [x] **Tests:** Existing Settings tests pass and the runtime regression was verified - [x] **Localization:** No end-user-facing strings changed ## Detailed Description of the Pull Request / Additional comments PR #49722 introduced the incompatible style assignment. This change reuses the existing `SecondaryIsEnabledTextBlockStyle`, which targets `controls:IsEnabledTextBlock` and preserves the intended secondary foreground and 12px font size. The same regression is present on `stable`; this fix should be included in the v0.101 release branch after merge. ## Validation Steps Performed - Built `src/settings-ui/PowerToys.Settings.slnf` in Release x64. - Ran `Settings.UI.UnitTests.dll`: 185 passed, 0 failed, 0 skipped. - Launched the fixed Release Settings binary directly on `Overview`; the General header and Update channel controls rendered. - Confirmed no new `NavigationService` or `XamlParseException` log entries and no relevant Event Viewer crash. Copilot-Session: e9f79ac2-9a7b-4083-834c-0d87e8c83bfd
Boliang Zhang (LegendaryBlair)
added a commit
that referenced
this pull request
Aug 11, 2026
## Summary of the Pull Request Fixes Settings navigation to the General page by applying the correctly typed `SecondaryIsEnabledTextBlockStyle` to `GeneralPage_UpdateChannelDescription` in `src/settings-ui/Settings.UI/SettingsXAML/Views/GeneralPage.xaml`. The previous `SecondaryTextStyle` targets `TextBlock`, so WinUI threw a `XamlParseException` when applying it to the custom `IsEnabledTextBlock` control. This prevented `GeneralPage.InitializeComponent()` from completing. ## PR Checklist - [x] **Communication:** Regression identified while validating the v0.101 preview candidate - [x] **Tests:** Existing Settings tests pass and the runtime regression was verified - [x] **Localization:** No end-user-facing strings changed ## Detailed Description of the Pull Request / Additional comments PR #49722 introduced the incompatible style assignment. This change reuses the existing `SecondaryIsEnabledTextBlockStyle`, which targets `controls:IsEnabledTextBlock` and preserves the intended secondary foreground and 12px font size. The same regression is present on `stable`; this fix should be included in the v0.101 release branch after merge. ## Validation Steps Performed - Built `src/settings-ui/PowerToys.Settings.slnf` in Release x64. - Ran `Settings.UI.UnitTests.dll`: 185 passed, 0 failed, 0 skipped. - Launched the fixed Release Settings binary directly on `Overview`; the General header and Update channel controls rendered. - Confirmed no new `NavigationService` or `XamlParseException` log entries and no relevant Event Viewer crash. Copilot-Session: e9f79ac2-9a7b-4083-834c-0d87e8c83bfd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Supersedes #49719, which could not be reopened after its original base branch was deleted when #49414 merged.
Summary of the Pull Request
Improves the update settings introduced by #49414 by replacing the prerelease checkbox with a dedicated Update channel expander. Users can choose between Stable and Insider channels, see the current selection while the expander is collapsed, and access the PowerToys Insider documentation.
The new expander preserves the existing
IncludePrereleaseUpdatessetting and displays its own managed-by-organization state when the preview update policy is configured.PR Checklist
Detailed Description of the Pull Request / Additional comments
IncludePrereleaseUpdatesout of the general update settings list into a dedicated SettingsExpander insrc/settings-ui/Settings.UI/SettingsXAML/Views/GeneralPage.xaml.src/settings-ui/Settings.UI/Strings/en-us/Resources.resw.src/settings-ui/Settings.UI/ViewModels/GeneralViewModel.cs.Validation Steps Performed
src/settings-ui/Settings.UI/PowerToys.Settings.csprojfor Debug ARM64 with the repository build script.GeneralPage.xaml.