Skip to content

feat(sdk): Re-add SimpleTheme UnoFeature for 6.6 SR2 - #23894

Merged
agneszitte merged 3 commits into
release/stable/6.6from
dev/agzi/backport-simpletheme-feature-6.6
Jul 28, 2026
Merged

agneszitte merged 3 commits into
release/stable/6.6from
dev/agzi/backport-simpletheme-feature-6.6

Conversation

@agneszitte

@agneszitte agneszitte commented Jul 27, 2026 •

Copy link
Copy Markdown
Member

Related to https://github.com/unoplatform/private/issues/1102

What & why

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-only: no wizard/template appTheme option, no default theme, and no docs — all deferred to 6.7.

How

The feature was added on master by #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)] SimpleTheme
  • src/Uno.Sdk/Sdk/Sdk.props.buildschema.json — SimpleTheme schema entry
  • src/Uno.Sdk/targets/Uno.Implicit.Packages.ProjectSystem[.Uno|.Wasm].targets — ;simpletheme; conditions pulling Uno.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 groups

Version pins untouched — the Themes (7.0.0-dev.12) / Toolkit (8.5.0-dev.29) group versions already contain Simple, so the names resolve; no version line changes.

Validation

  • Code review: net diff = 6 SDK files, +23/−5, zero docs; SimpleTheme restored in UnoFeature.cs, Simple names present in packages.json, 0 version-line changes.
  • Runtime validation is CI on this PR.

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]>
@github-actions github-actions Bot added kind/documentation area/sdk Categorizes an issue or PR as relevant to the Uno.Sdk labels Jul 27, 2026
@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

⚠️⚠️ The build 224411 has failed on Uno.UI - CI.

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]>
@agneszitte
agneszitte marked this pull request as ready for review July 28, 2026 13:27
@agneszitte
agneszitte requested review from kazo0 and nickrandolph July 28, 2026 13:28
@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

⚠️⚠️ The build 224522 has failed on Uno.UI - CI.

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]>
@unodevops

Copy link
Copy Markdown
Contributor

@agneszitte
agneszitte enabled auto-merge July 28, 2026 17:57
@agneszitte
agneszitte disabled auto-merge July 28, 2026 18:35
@agneszitte
agneszitte merged commit c29204c into release/stable/6.6 Jul 28, 2026
47 of 61 checks passed
@agneszitte
agneszitte deleted the dev/agzi/backport-simpletheme-feature-6.6 branch July 28, 2026 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/sdk Categorizes an issue or PR as relevant to the Uno.Sdk kind/documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants