Repository navigation
[Breaking] fix: Drop Fluent V1 styles - #14769
MartinZikmund wants to merge 5 commits into
Conversation
This change drops the Fluent V1 styles in a non-breaking manner by redirecting them to the V2 styles. Later we will be able to drop the versioned styles altogether
|
If I didn't miss something, this should not be breaking (except for behavior breaking, but I doubt any app is still using the old styles anyway):
As part of breaking changes we can then safely drop the whole version separation and just keep |
|
🤖 Your docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-14769/index.html |
| #endif | ||
| break; | ||
| // As Fluent Styles V1 are no longer officially supported, prefer V2 styles. | ||
| requestedVersion = MaxSupportedResourcesVersion; |
There was a problem hiding this comment.
Is this variable used anymore?
Youssef1313
left a comment
There was a problem hiding this comment.
LGTM, but let's wait for @jeromelaban's approval as well
|
This might still be breaking for UWP apps, particularly if resources don't match between versions. Building those styles are not impacting the build time that much, and we should not breaking in 5.x. |
|
Closing for now until breaking changes are addressed |
# Conflicts: # src/SourceGenerators/Uno.UI.SourceGenerators/XamlGenerator/XamlFileGenerator.cs # src/Uno.UI.FluentTheme.v1/FluentMerge.targets # src/Uno.UI.FluentTheme.v1/Resources/Version1/PriorityDefault/CalendarView_themeresources.xaml # src/Uno.UI.FluentTheme.v1/Resources/Version1/PriorityDefault/CommandBarFlyout.xaml # src/Uno.UI.FluentTheme.v1/Resources/Version1/PriorityDefault/MediaTransportControls_themeresources.xaml # src/Uno.UI.FluentTheme.v1/Resources/Version1/PriorityDefault/NavigationBackButton_v1.xaml # src/Uno.UI.FluentTheme.v1/Resources/Version1/PriorityDefault/NavigationView_v1.xaml # src/Uno.UI.FluentTheme.v1/Resources/Version1/PriorityDefault/TeachingTip_v1.xaml # src/Uno.UI.FluentTheme.v1/themeresources_v1.xaml
GitHub Issue (If applicable): part of #14765
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Fluent V1 is no longer supported and is buggy.
What is the new behavior?
Drop v1 styles in non-breaking manner.
PR Checklist
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Runresults.