Repository navigation
feat(sdk): Re-add SimpleTheme UnoFeature for 6.6 SR2 - #23894
Conversation
Reapply #22785 (revert of the 6.6 revert #23172) to make the SimpleTheme UnoFeature available on release/stable/6.6, so studio.live's exported 6.6-SR2 apps can opt into the Simple design theme via <UnoFeatures>SimpleTheme</UnoFeatures>. Feature wiring only: UnoFeature.cs, Sdk.props.buildschema.json, the Uno.Implicit.Packages.ProjectSystem* targets, and the Simple package *names* in packages.json (Uno.Simple.WinUI(.Markup), Uno.Toolkit.WinUI.Simple). Version pins are untouched — the Themes (7.0.0-dev.12) / Toolkit (8.5.0-dev.29) groups already contain Simple. No wizard/template appTheme option or default — those stay deferred to 6.7. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23894/wasm-skia-net9/index.html |
|
|
The reapplied #22785 also brought Simple docs; drop them from the 6.6 backport: - doc/articles/features/uno-simple.md — orphan stub (not in any TOC, uid unreferenced — on master too) - Simple entries in using-the-uno-sdk.md / supported-libraries.md — resolve `xref:Uno.Themes.Simple.GetStarted` only where the uno.themes external docs are imported at a Simple-containing ref (master); on 6.6 the imported themes docs are pre-Simple, so those links would break the docs build, and would surface Simple publicly (deferred to 6.7). Leaves the SR2 backport as SDK feature wiring only. A docs-hygiene PR (incl. the orphan page) can be done separately on master. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23894/wasm-skia-net9/index.html |
|
|
The aka.platform.uno/feature-simpletheme link does not resolve — the Simple design docs are intentionally kept out of the 6.6 SR2 feature-only backport (deferred to 6.7). Remove the dead helpUrl from the SimpleTheme UnoFeature so the SDK ships only the bare minimum to unblock studio for 6.6 SR2. Other features keep their (resolving) help links. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23894/wasm-skia-net9/index.html |
Related to https://github.com/unoplatform/private/issues/1102
What & why
Make the
SimpleThemeUnoFeature available onrelease/stable/6.6so studio.live's exported 6.6-SR2 apps can opt into the Simple design theme via<UnoFeatures>SimpleTheme</UnoFeatures>.Feature-only: no wizard/template
appThemeoption, no default theme, and no docs — all deferred to 6.7.How
The feature was added on
masterby #22785, then reverted on 6.6 by #23172. This reapplies #22785 minus the docs — the SDK wiring only (6 files):src/Uno.Sdk/UnoFeature.cs—[UnoArea(UnoArea.Theme)] SimpleThemesrc/Uno.Sdk/Sdk/Sdk.props.buildschema.json—SimpleThemeschema entrysrc/Uno.Sdk/targets/Uno.Implicit.Packages.ProjectSystem[.Uno|.Wasm].targets—;simpletheme;conditions pullingUno.Simple.WinUI,Uno.Simple.WinUI.Markup(C# Markup),Uno.Toolkit.WinUI.Simple(+ SkiaSharp/Lottie shared conditions)src/Uno.Sdk/packages.json— Simple package names added to the Themes/Toolkit groupsVersion pins untouched — the Themes (
7.0.0-dev.12) / Toolkit (8.5.0-dev.29) group versions already contain Simple, so the names resolve; noversionline changes.Validation
SimpleThemerestored inUnoFeature.cs, Simple names present inpackages.json, 0version-line changes.