Skip to content

docs: Close out the 7.0 documentation and reconciliation leftovers - #24351

Merged
MartinZikmund merged 26 commits into
masterfrom
dev/mazi/70closeouts
Sep 16, 2026
Merged

MartinZikmund merged 26 commits into
masterfrom
dev/mazi/70closeouts

Conversation

@MartinZikmund

@MartinZikmund MartinZikmund commented Sep 2, 2026 •

Copy link
Copy Markdown
Member

GitHub Issue: relates to #8339

Closes the following internal 7.0 items (referenced in the commit trailers):
uno-private#2050, #2055, #2056, #2057, #2098, #2126, #2135, #2156, #2157, #2284.
Advances #2112, #2114 and #2159, which stay open on stated dependencies.

PR Type:

📚 Documentation content changes

(plus removal of the leftover WASM DOM-renderer surface, one build fix and one project-file fix; see below)

What changed? 🚀

An audit of the 7.0 epic found that the release's biggest systemic gap is documentation, not code. For 25 of 106 sub-issues, the only outstanding work was a missing migrating-to-uno-7.md entry. Several source-breaking changes had shipped with no consumer-facing old → new mapping. This PR closes out those leftovers, one commit per item. It also removes the last orphaned pieces of the WASM DOM renderer.

Migration guide entries for breaking changes that shipped undocumented

  • Background moved off FrameworkElement (BC38): which eight types keep it and which lose it, why <Setter Property="Background"> stops resolving in a style whose target type doesn't declare it, and how to migrate.
  • DataContext restricted to FrameworkElement (BC58): this changes only the API surface. {Binding} on a non-FrameworkElement object (Brush, Run, ColumnDefinition, …) still resolves through the inheritance context, as in WinUI. Uno's multi-parent sharing is stricter than WinUI's, though: it lacks WinUI's ResourceDictionary and ContentControl exceptions, so a brush resource shared by several elements stops resolving its bindings, and the entry says so. The entry also explains why flyout content still binds against its target.
  • IAnimatedVisualSource: maps the nine-method Uno-only contract to WinUI's TryCreateAnimatedVisual with an old → new table, and notes that unmodified LottieGen output now compiles.
  • DependencyObject is a class (BC26): partial is no longer required, and a type can no longer inherit another base class and pick up DependencyObject alongside it.
  • UserControl : Control (BC14): the lost ContentControl surface, and Content retyped from object to UIElement.
  • DependencyPropertyValuePrecedences (BC39): the removed and renamed enum members, which consumers can reach through the public DependencyObjectExtensions precedence overloads.
  • SkiaSharp 4 and Vulkan as the new 7.0 defaults. Both are user-visible behavior changes.
  • WASM DOM interop: the removed surface (HtmlElementAttribute, HtmlCustomEventArgs, UIElement.HtmlId, …). The entry now points to BrowserHtmlElement as the replacement instead of listing it as removed.

Docs that still taught a removed model

  • api-differences.md and uno-internals-overview.md still described UIElement inheriting a native view type and DependencyObject as an interface. They also linked a source-generator file deleted in c371084bb52.
  • migrating-guidance.md told readers to add partial when inheriting DependencyObject, which is no longer true. Its deep link pointed at a heading this PR renames.
  • feature-flags.md documented the three UseVulkanOn* flags as Default: false; they are true (FeatureConfiguration.cs:520,527,539).
  • using-vulkan-rendering.md called Vulkan opt-in, but it is the default. This PR adds a Disabling Vulkan section and rewrites the fallback list to match the new default.
  • using-skia-desktop.md called SkiaSharp 4 opt-in, but it is the default.
  • windows-ui-xaml-window.md said a second window throws on both Android and iOS. iOS gained scene-backed windows in feat: Support for iOS SceneDelegate #19083, so the limitation now applies only to Android, and the doc spells out the iOS opt-in requirements.
  • platform-specific-csharp.md corrections:
    • __APPLE_UIKIT__ is defined only by src/Uno.CrossTargetting.targets, which is repo-internal and in no nuspec, so consumers never get it.
    • __UNO_SKIA__ ships in the Uno.WinUI.Runtime.Skia.* packages. Android, iOS, tvOS and browser-WASM class libraries still get it through those packages' build assets, but net10.0-desktop and plain net10.0 class libraries don't, so the row now says exactly that.
    • The type-alias sample aliased a UWP namespace that 7.0 doesn't ship, and the UWP/NETFX_CORE row is gone.
    • The || in the symbols table is escaped so the rows render.
  • migrating-from-previous-releases.md stopped at 6.6, so nothing linked readers to the 7.0 guide.

Removal of the leftover WASM DOM-renderer surface

The DOM renderer was already gone, but its browser-side layer and a few consumers were still in the tree. None of it was compiled or shipped: on master, no project file references src/Uno.UI/ts, tsBindings or WasmCSS, except the two cross-project includes moved below.

  • Deleted, orphaned:
    • src/Uno.UI/ts/**: WindowManager.ts, HtmlDom.ts, MonoSupport.ts, the Interop/** Mono shims and the Windows/** DOM extensions.
    • src/Uno.UI/tsBindings/** and src/Uno.UI/tsconfig.json.
    • src/Uno.UI/WasmCSS/Uno.UI.css.
  • Public type removed: Uno.Extensions.HtmlCustomEventArgs. Its only producer, UIElementWasmExtensions, was removed earlier, so no app could receive one. It is covered in both PackageDiffIgnore IgnoreSets.
  • Consumers removed:
    • The Wasm_CustomEvent sample and its ItemExclusions.props block.
    • The six UI tests driving that sample, in Given_CustomEvents and WasmTests.
    • Given_HtmlElementAttribute.wasm.cs and its Compile include.
    • The HtmlElementAttribute probe in XamlFileGenerator, which can no longer resolve.
  • Dead code: removed the #if __WASM__ cleanup block from Application.Alc.cs. __WASM__ is never defined for Uno.UI, and none of the three members the block called exist anymore.
  • Moved to their real consumers:
    • WebView.ts moves to Uno.UI.Runtime.Skia.WebAssembly.Browser/ts/Runtime/. That project was its only consumer and already <Link>ed it there.
    • The ambient ts/types/** .d.ts files move to Uno.WinRT, which the browser runtime already references.
    • The cross-project TypeScriptCompile and tsconfig.json entries are updated to match, and specs/043-drop-native-rendering/progress.md records the new locations.

Build and project-file fixes

  • build/PackageDiffIgnore.xml: BC62 renamed Application.TraceProvider.LauchedStart/LauchedStop to Launched*, and the package diff reads that as two removed public fields. Neither old name had an ignore entry, so the Phase 4 "package-diff clean" clause was unmet. The entries are added to both the 6.6 and 6.7 IgnoreSets, which are maintained as identical copies (the same applies to HtmlCustomEventArgs above).
  • UnoAppWinUILinuxValidation pinned SkiaSharp.Skottie at 2.88.7, while the repo ships 4.151.1. That folder's Directory.Build.targets deliberately does not chain to src/Directory.Build.targets, so the central PackageReference Update never retargets it. The stale pin was live and conflicted with the SkiaSharp-4-based Uno.WinUI.Lottie that the same head references.

Spec reconciliation: the BC26, BC39 and BC58 impact specs still described their plans rather than what shipped, including "open decision" sections the code had already answered. Two plan claims were false against the tree and are corrected: DependencyObjectStore no longer exists (it was folded into DependencyObject), and DependencyObjectGenerator was deleted outright rather than trimmed. The specs cite only public references.

Validation

  • Docs, compile only. When the doc commits were authored, a full local docfx docfx.json produced a warning/error set byte-identical to the base commit: 178 warnings / 16 errors, 196 normalized lines, with no new diagnostics. That build caught one regression, a renamed heading that broke an inbound #anchor deep link, and it is fixed. On the current head, the Uno.UI - docs pipeline and Check Docs links pass. No browser validation of the rendered pages was performed.
  • WASM DOM-renderer removal, compile only.
    • Uno.UI (net10.0) builds with 0 warnings and 0 errors.
    • The SamplesApp desktop head and SamplesApp.UITests build clean.
    • Uno.UI.SourceGenerators.Tests has the same failure set with and without the XamlFileGenerator change (21 pre-existing failures).
    • After the TypeScript move, the browser runtime's emitted Uno.Runtime.Wasm.js is unchanged: 6380 lines, with the same WebView and BrowserPointerInputSource occurrence counts.
  • Runtime. No runtime validation was performed. The deleted code was not compiled into any shipped assembly, and the only C# behavior change is the removal of an already-dead #if __WASM__ block.
  • Other C# edits (TextElement.cs, Given_DependencyProperty.cs) change comments only.

PR Checklist ✅

  • 🧪 Added Runtime tests, UI tests, or a manual test sample (for bug fixes / features, if applicable). N/A: no new behavior. This PR removes one sample, six UI tests and one runtime test that exercised the removed DOM-interop surface.
  • 📚 Docs have been added/updated following the documentation template (for bug fixes / features)
  • 🖼️ Validated PR Screenshots Compare Test Run results. N/A: no rendering change, since the deleted CSS/TypeScript was not compiled or shipped.
  • ❗ Contains NO breaking changes. See below.
  • 👀 Reviewed 2 other open pull requests (optional but appreciated!)

Breaking change: this PR removes the public Uno.Extensions.HtmlCustomEventArgs type. Nothing could raise it once the DOM renderer was removed, so apps can only be affected at compile time. The 7.0 migration guide lists it with the rest of the removed WASM DOM-interop surface and points to Uno.UI.NativeElementHosting.BrowserHtmlElement as the replacement. Everything else here documents breaking changes already on master, and introduces none.

Note for reviewers

This PR does not resolve one item flagged during the audit. UserControl lost the entire ContentControl surface and had Content retyped, yet PackageDiffIgnore.xml has no UserControl entries. By comparison, the analogous MediaPlayerPresenter reparent needed explicit entries for exactly that kind of inherited-member loss. Settling it needs a pack plus a generatepkgdiff run. A green CI diff would not settle it either, because Uno.PackageDiff has been unpublished since 2025-02-24 (uno-private#2312).

🤖 Generated with Claude Code

https://claude.ai/code/session_01GDmguoPp2ywTHVJQjCP8QD

Copilot AI lite review requested due to automatic review settings September 2, 2026 12:24
@github-actions github-actions Bot added area/solution-templates Categorizes an issue or PR as relevant to the solution template area/build Categorizes an issue or PR as relevant to build infrastructure area/automation Categorizes an issue or PR as relevant to project automation kind/documentation labels Sep 2, 2026
@github-actions

github-actions Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 3m 40s —— View job


Review of PR #24351

Todo list

  • Fetch base branch (feature/breakingchanges) and diff
  • Review docs changes for accuracy against current code
  • Review build/PackageDiffIgnore.xml fix
  • Review UnoAppWinUILinuxValidation.csproj fix
  • Review C# changes (TextElement.cs, unit test, .claude/agents, .claude/rules, AGENTS.md)
  • Post inline findings (none survived verification)
  • Post summary

Verdict: ✅ Ship

This PR is overwhelmingly documentation, and I cross-checked its factual claims against the current source rather than taking them at face value:

  • Background on 8 types (BC38) — grepped BackgroundProperty declarations; exactly Control, Panel, Border, ContentPresenter, ItemsRepeater, ScrollPresenter, SwipeItem, TextHighlighter declare it, and FrameworkElement.cs has none. Matches the doc's table exactly.
  • DependencyPropertyValuePrecedences (BC39) — enum in DependencyPropertyValuePrecedences.cs matches the doc's removed/renamed table (Style, BuiltInStyle, TemplatedParent gone) exactly, including the Given_DependencyProperty.cs comment fix (ExplicitStyle → Style).
  • UseVulkanOn* defaults — confirmed true in FeatureConfiguration.cs:520,527,539, matching the feature-flags.md/using-vulkan-rendering.md fixes.
  • __APPLE_UIKIT__/__UNO_SKIA__ scoping — confirmed __APPLE_UIKIT__ is only defined in src/Uno.CrossTargetting.targets (repo-internal) and __UNO_SKIA__ ships only in the Uno.WinUI.Runtime.Skia.* packages' build(Transitive) props, which the SDK references only under _IsExecutable conditions in Uno.Implicit.Packages.ProjectSystem.*.targets.
  • iOS scene-backed secondary windows — UnoUISceneDelegate.cs/AppleUIKitWindowWrapper.cs under Uno.UI.Runtime.Skia.AppleUIKit confirm the underlying support the doc now describes.
  • DependencyObjectStore/DependencyObjectGenerator removed — no live declarations remain (only historical comments), matching the BC26 spec's "as implemented" corrections; DependencyObject.Store.cs, .Binder.cs, FrameworkElement.DataContext.cs all exist as referenced.
  • SkiaSharp.Skottie 4.151.1 bump — matches the version pinned everywhere else in the repo (Uno.WinUI.Lottie.nuspec, other Skia Linux FrameBuffer heads, runtime test heads).
  • PackageDiffIgnore.xml BC62 entries — Application.TraceProvider.LauchedStart/Stop are public const int, matching the added System.Int32 …::LauchedStart/Stop ignore entries (both 6.6/6.7 IgnoreSets, consistent formatting with neighboring entries).
  • Rule-file / AGENTS.md updates (DependencyObject interface → class) are internally consistent with each other and with the code.

No correctness, layering, DP-registration, async/cancellation, or code-style issues found in the two substantive code/build changes (TextElement.cs and the unit-test comment are comment-only; the .csproj and PackageDiffIgnore.xml changes are narrowly scoped and verified accurate). Commit messages are Conventional-Commits compliant. The PR's own "Note for reviewers" already discloses the one known gap (no PackageDiffIgnore.xml entries for the UserControl/ContentControl surface loss) rather than hiding it — nothing further to add there.

No inline comments were posted — nothing rose to a reportable finding after verification.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The changes are documentation/spec corrections plus small, consistent maintenance updates, and no verified correctness issues were found in the modified content or referenced APIs.

Pull request overview

This PR closes out Uno Platform 7.0 documentation and spec reconciliation leftovers by updating the migration guide and related docs to accurately reflect shipped breaking changes (type hierarchy, DataContext scope, DP precedence cleanup, SkiaSharp 4/Vulkan defaults), plus a small package-diff ignore adjustment and a solution-template package version alignment.

Changes:

  • Expanded and corrected 7.0 migration guidance (breaking-change mappings, silent binding breakage notes, new defaults like SkiaSharp 4 and Vulkan).
  • Updated internal docs/specs to reflect the post-7.0 reality (DependencyObject as a class, generator removals, updated platform symbol guidance).
  • Fixed maintenance/build hygiene: add PackageDiffIgnore entries for the Lauched* → Launched* rename and align SkiaSharp.Skottie version in the Linux validation template.
File summaries
File Description
src/Uno.UI/UI/Xaml/Documents/TextElement.cs Comment correction to match actual Hyperlink foreground precedence behavior.
src/Uno.UI.UnitTests/DependencyProperty/Given_DependencyProperty.cs Test comment updated to reflect the unified “Style” precedence naming.
src/SolutionTemplate/UnoAppWinUILinuxValidation/UnoAppWinUILinuxValidation.Skia.Linux.FrameBuffer/UnoAppWinUILinuxValidation.Skia.Linux.FrameBuffer.csproj Updates pinned SkiaSharp.Skottie version to match repo’s SkiaSharp 4 baseline.
specs/050-breaking-changes-rollup/spec.md Marks BC26/BC39 as implemented and updates “as shipped” notes and references.
specs/050-breaking-changes-rollup/bc58-datacontext-frameworkelement-only.md Rewrites “open decision” into “implemented” decision/outcome with as-built details.
specs/050-breaking-changes-rollup/bc26-dependencyobject-as-class.md Updates spec from planned state to shipped design/implementation summary.
doc/articles/uno-development/uno-internals-overview.md Updates internals overview to reflect DependencyObject as a class and generator removal.
doc/articles/platform-specific-csharp.md Corrects symbol guidance and WinUI type-alias sample; adds cross-link tip for Skia native embedding.
doc/articles/migrating-to-uno-7.md Adds migration entries for DP precedence cleanup, SkiaSharp 4/Vulkan defaults, hierarchy/member-scope breaking changes, and IAnimatedVisualSource changes.
doc/articles/migrating-guidance.md Updates partial guidance to align with current generator needs; clarifies DependencyObject no longer requires partial.
doc/articles/migrating-from-previous-releases.md Adds a 7.0 section linking to the full 7.0 migration guide.
doc/articles/features/windows-ui-xaml-window.md Updates multi-window support notes: iOS scene-based opt-in requirements vs Android limitation.
doc/articles/features/using-vulkan-rendering.md Reframes Vulkan as default since 7.0 and adds a “Disabling Vulkan” section.
doc/articles/features/using-skia-desktop.md Updates SkiaSharp 4 guidance to reflect it as the 7.0 default.
doc/articles/features/Lottie.md Adds 7.0-aligned package/version and custom IAnimatedVisualSource guidance.
doc/articles/feature-flags.md Fixes documented defaults for Vulkan feature flags to match current code defaults.
doc/articles/api-differences.md Updates outdated hierarchy explanation to match WinUI parity and 7.0 renderer reality.
build/PackageDiffIgnore.xml Adds ignore entries for the LauchedStart/Stop removal caused by the typo fix (in both maintained IgnoreSets).
AGENTS.md Updates contributor guidance to reflect DependencyObject now being a class and Skia visual tree unification.
.claude/rules/dependency-properties.md Updates DP guidance to remove pre-7.0 DependencyObject interface/generator assumptions.
.claude/agents/architect.md Updates architectural guidance to reflect DependencyObject as a class and removed generator.
Review details
  • Files reviewed: 21/21 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 231538 found UI Test snapshots differences: skia-linux-screenshots: 81, skia-windows-screenshots: 111

Details
  • skia-linux-screenshots: 81 changed over 2358

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Buttons.png-dark
    • Buttons.png
    • Focus_FocusVisual_Properties.png
    • ImageBrush_Stretch.png
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • ClipboardTests.png-dark
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png
    • Gamepad_CurrentReading.png-dark
    • Gamepad_CurrentReading.png
    • Gamepad_Enumeration.png-dark
    • Gamepad_Enumeration.png
    • ImageBrushInList.png-dark
    • ImageBrushInList.png
    • ExpanderColorValidationPage.png-dark
    • ExpanderColorValidationPage.png
    • ListViewHeaderImage.png-dark
    • ListViewHeaderUpdate.png-dark
    • DamageRegion_ShadowChildPaintingCaster.png-dark
  • skia-windows-screenshots: 111 changed over 2358

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • DynamicFont.png-dark
    • DynamicFont.png
    • Focus_FocusVisual_Properties.png
    • Gamepad_CurrentReading.png-dark
    • Gamepad_Enumeration.png-dark
    • GeolocatorPositionChanged.png-dark
    • Haptics.VibrationDevice.png-dark
    • Haptics.VibrationDevice.png
    • Battery.png-dark
    • Battery.png
    • ElementLevelTheme.png-dark
    • DisplayInformation.png-dark
    • DisplayInformation.png
    • ButtonClippingTestsControl.png
    • Buttons.png-dark
    • ColorPickerSample.png-dark
    • ColorPickerSample.png
    • ExpanderColorValidationPage.png-dark
    • ImageBrushInList.png-dark
    • ImageBrushInList.png

@github-actions github-actions Bot added platform/wasm 🌐 Categorizes an issue or PR as relevant to the WebAssembly platform area/code-generation Categorizes an issue or PR as relevant to code generation labels Sep 2, 2026
@github-actions

github-actions Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 2m 54s —— View job


Review of PR #24351 (re-review after synchronize — two new commits)

Todo list

  • Fetch base branch (feature/breakingchanges) and diff
  • Review docs/spec changes for accuracy
  • Review build/PackageDiffIgnore.xml and .csproj fixes
  • Review C# changes (TextElement.cs, unit test) and the new WASM DOM-interop deletion commits
  • Review AGENTS.md / .claude/rules / .claude/agents updates
  • Post inline findings (none survived verification)
  • Post summary

Verdict: ✅ Ship

Since the last review, two new commits landed (68f6a1d3, d5727798) that go beyond documentation: they delete the orphaned WASM DOM-renderer TypeScript/CSS surface and the last C#/sample/test remnants (HtmlCustomEventArgs, Wasm_CustomEvent sample, six UI tests, the XamlFileGenerator HtmlElementAttribute probe, and a dead #if __WASM__ block in Application.Alc.cs). I verified these against the tree rather than the commit messages alone:

  • No dangling references. Grepped for every deleted .ts/.css file path across *.csproj/*.targets/*.json — none remain. tsconfig.json's tsBindings/**/* include is dropped consistently with deleting the whole tsBindings/ folder. The two live consumers the commit says it preserved (ts/types/**, ts/Windows/UI/Xaml/Controls/WebView.ts) both still exist on disk.
  • Application.Alc.cs — confirmed all three members the removed #if __WASM__ block called (UIElement.ClearNonDefaultAlcElementRegistrations, Media.CompositionTarget.ClearAlcHandlers/ClearNonDefaultAlcHandlers, HtmlElementHelper.ClearNonDefaultAlcEntries) no longer exist anywhere in src/, so the block was already dead code — this is a real cleanup, not a behavior change. (One pre-existing, unrelated doc-comment in Uno.UI.UnitTests/Windows_UI_Xaml/Given_AlcCacheSweep.cs still name-drops HtmlElementHelper/UIElementNativeRegistrar as live examples; not introduced by this PR and not in its diff, so not blocking, but worth a follow-up.)
  • HtmlElementAttribute — zero remaining references anywhere in src/ after the XamlFileGenerator probe and its Given_HtmlElementAttribute.wasm.cs/.Windows.csproj include are removed.
  • PackageDiffIgnore.xml — the new Uno.Extensions.HtmlCustomEventArgs ignore entry is present in both the 6.6 and 6.7 IgnoreSets (this repo's convention, per the earlier commits in this same PR), matching the type's actual removal.
  • migrating-to-uno-7.md correction — BrowserHtmlElement (Uno.UI.NativeElementHosting) is confirmed still present and public, so the fix (it was wrongly listed as removed) is accurate, and the new entry correctly separates it from the actually-removed DOM-interop surface (HtmlElementAttribute, HtmlCustomEventArgs, UIElement.HtmlId, etc.).
  • Also spot-checked the newer doc-only entries not covered by the previous pass: Lottie.md's custom IAnimatedVisualSource section matches the real TryCreateAnimatedVisual(Compositor, out object) signature and the 4.151.1 Skottie version matches Uno.WinUI.Lottie.targets' own error text; windows-ui-xaml-window.md's reworded Android/iOS secondary-window text is consistent with the scene-backed iOS code already verified in the prior pass. TextElement.cs's corrected comment (Animations precedence, not the removed ImplicitStyle enum member) matches Hyperlink.SetCurrentForeground()'s actual SetValue(ForegroundProperty, …, DependencyPropertyValuePrecedences.Animations) call.

No correctness, layering, DP-registration, async/cancellation, or code-style issues found. The .claude/agents/architect.md and .claude/rules/dependency-properties.md updates are consistent with the AGENTS.md/code changes (their appearance as locally modified in this run's git status is this review environment pinning its own agent-instruction files, not a defect in the PR).

The screenshot-diff bot flagged 81/111 Skia snapshot changes — unrelated to this PR's file set (pure docs/specs + dead-code removal with no rendering-affecting change); worth confirming with the team that it's pre-existing baseline drift rather than something introduced on this branch, but nothing in the diff here explains it.

No inline comments were posted — nothing rose to a reportable finding after verification.
· branch: dev/mazi/70closeouts

@unodevops

Copy link
Copy Markdown
Contributor

⚠️⚠️ The build 231539 has failed on Uno.UI - docs.

@github-actions

github-actions Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 2m 45s —— View job


Review of PR #24351 (independent re-verification)

Todo list

  • Fetch base branch (feature/breakingchanges) and diff
  • Review substantive code changes (TextElement.cs, Given_DependencyProperty.cs, Application.Alc.cs, XamlFileGenerator.cs, csproj/tsconfig changes)
  • Review build/PackageDiffIgnore.xml and solution-template fixes
  • Check AGENTS.md-specific concerns: events, DP correctness, async/cancellation, cross-platform file suffixes, code style
  • Review docs/spec changes for accuracy
  • Post inline findings (none — see below)
  • Post summary

Verdict: ✅ Ship

I re-verified this PR from scratch against the tree at origin/feature/breakingchanges rather than relying on the two prior automated passes, focusing on the areas AGENTS.md calls out (DP correctness, async/cancellation, platform-suffix discipline, events, root-cause vs. guard-only fixes, code style, Conventional Commits). No inline comments were posted — nothing rose to a reportable finding.

Specific checks performed:

  • Application.Alc.cs — the removed #if __WASM__ cleanup block called UIElement.ClearNonDefaultAlcElementRegistrations, Media.CompositionTarget.ClearAlcHandlers/ClearNonDefaultAlcHandlers, and HtmlElementHelper.ClearNonDefaultAlcEntries. Grepped all of src/: none of these members exist anywhere in the tree, and CompositionTarget.cs has zero diff in this PR — so those methods were already removed by an earlier commit on feature/breakingchanges, and this change is pure dead-code removal, not new behavior. No async/cancellation or threading-contract regression (the _*Gate-lock reasoning in the surviving comment still matches the surviving CompositionTarget/PagePool cleanup steps).
  • TS/csproj restructuring (ce4b8bbc) — confirmed ts/types/** and WebView.ts are straight git-tracked renames (0 insertions/deletions on the moved files) into Uno.WinRT and the browser runtime's own ts/Runtime/, respectively. Both .csproj/tsconfig.json pairs (Uno.WinRT.Wasm, Uno.UI.Runtime.Skia.WebAssembly.Browser) were updated consistently, and the dependency direction (browser runtime → Uno.WinRT.Wasm) is unchanged. Uno.WinRT.Wasm.csproj's own ts\**\*.ts glob now naturally picks up the relocated ts/types/**, so nothing needed adding there.
  • build/PackageDiffIgnore.xml — the new Uno.Extensions.HtmlCustomEventArgs entry matches the deleted type exactly (namespace, type-level ignore consistent with other whole-type removals in the file), and the LauchedStart/LauchedStop System.Int32 entries match Application.TraceProvider's actual const type. Both additions are present in both the 6.6 and 6.7 IgnoreSets, consistent with the file's existing duplication convention.
  • **SkiaSharp.Skottie 4.151.1** — matches every other pinned reference in the repo (Uno.WinUI.Lottie.nuspec, Uno.UI.RuntimeTests.HRApp.Skia.csproj, Uno.UI.RuntimeTests.AlcApp.csproj, UnoAppWinUI.Skia.Linux.FrameBuffer.csproj`), so the validation-template fix removes a genuine drift rather than introducing a new pin.
  • Migration-guide factual claims spot-checked directly against code: UserControl : Control with Content typed UIElement (UserControl.cs:9, UserControl.Properties.cs:14) — matches the doc's "retyped object → UIElement" claim exactly; Uno.UI.NativeElementHosting.BrowserHtmlElement confirmed still present (src/Uno.UI/NativeElementHosting/BrowserHtmlElement.cs), supporting the doc's claim that it's the kept replacement API, distinct from the removed HtmlElementAttribute/DOM-interop surface.
  • Comment-only C# changes (TextElement.cs, Given_DependencyProperty.cs) — verified against Hyperlink.SetCurrentForeground()'s actual Animations-precedence SetValue call and the current DependencyPropertyValuePrecedences enum; both corrected comments are accurate.
  • No violations found for: events (no new event Action/Action<T> — none touched), [GeneratedDependencyProperty] correctness (no new DPs registered), platform file-suffix discipline (no shared-file platform leakage introduced), braces/tabs code style, or <NoWarn>/pragma growth. Commit messages are Conventional-Commits compliant throughout the 16-commit history.

No new concerns beyond what the two earlier automated passes already surfaced (the pre-existing, out-of-scope Given_AlcCacheSweep.cs doc-comment mentioning removed APIs, and the unrelated screenshot-diff bot noise) — both already disclosed in this thread and not blocking.
· branch: dev/mazi/70closeouts

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 231543 found UI Test snapshots differences: skia-linux-screenshots: 81, skia-windows-screenshots: 111

Details
  • skia-linux-screenshots: 81 changed over 2358

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • DamageRegion_ShadowChildPaintingCaster.png-dark
    • Examples.png
    • Buttons.png-dark
    • Buttons.png
    • Gamepad_CurrentReading.png-dark
    • Gamepad_CurrentReading.png
    • Gamepad_Enumeration.png-dark
    • Gamepad_Enumeration.png
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • ImageBrushInList.png-dark
    • ImageBrushInList.png
    • ClipboardTests.png-dark
    • CalendarView_Theming.png-dark
    • Focus_FocusVisual_Properties.png
    • ImageBrush_Stretch.png
    • ImageIconPage.png-dark
    • ImageIconPage.png
    • DoubleImageBrushInList.png-dark
    • DoubleImageBrushInList.png
  • skia-windows-screenshots: 111 changed over 2358

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Battery.png-dark
    • Examples.png
    • Haptics.VibrationDevice.png-dark
    • Haptics.VibrationDevice.png
    • ButtonClippingTestsControl.png-dark
    • ExpanderColorValidationPage.png-dark
    • GeolocatorPositionChanged.png-dark
    • DropDownButtonPage.png-dark
    • DropDownButtonPage.png
    • ColorPickerSample.png-dark
    • ColorPickerSample.png
    • Battery.png
    • Buttons.png-dark
    • ImageIconPage.png-dark
    • CalendarView_Theming.png-dark
    • EllipsemaskingEllipseGrid.png-dark
    • EllipsemaskingEllipseGrid.png
    • Buttons.png
    • Attributed_text_FontSize_Changing.png-dark
    • ElementLevelTheme.png-dark

@unodevops

Copy link
Copy Markdown
Contributor

⚠️⚠️ The build 231544 has failed on Uno.UI - docs.

@unodevops

Copy link
Copy Markdown
Contributor

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

@MartinZikmund
MartinZikmund changed the base branch from feature/breakingchanges to master September 2, 2026 20:01
@unodevops

Copy link
Copy Markdown
Contributor

⚠️⚠️ The build 231668 has failed on Uno.UI - docs.

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 231665 found UI Test snapshots differences: skia-linux-screenshots: 57, skia-windows-screenshots: 289, wasm: 11

Details
  • skia-linux-screenshots: 57 changed over 2348

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • DisplayInformation.png-dark
    • ContextRequested.png-dark
    • ContextRequested.png
    • ElementLevelTheme.png-dark
    • Focus_FocusVisual_Properties.png-dark
    • ElementLevelTheme.png
    • ClipboardTests.png-dark
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • Gamepad_CurrentReading.png-dark
    • Gamepad_CurrentReading.png
    • Gamepad_Enumeration.png-dark
    • Gamepad_Enumeration.png
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • DropDownButtonPage.png-dark
    • Examples.png-dark
    • DropDownButtonPage.png
    • Examples.png
    • ExpanderColorValidationPage.png-dark
  • skia-windows-screenshots: 289 changed over 2348

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Accessibility_ScreenReader.png-dark
    • Accessibility_ScreenReader.png
    • AutomationProperties_Name.png
    • ElevatedViewTests.png-dark
    • ElevatedViewTests.png
    • ElevatedView_BorderThickness.png-dark
    • ElevatedView_BorderThickness.png
    • FileSavePickerTests.png-dark
    • FileSavePickerTests.png
    • FolderPickerTests.png-dark
    • FolderPickerTests.png
    • AutomationProperties_AutomationId.png
    • DataTemplate_Update_Sample.png-dark
    • DataTemplate_Update_Sample.png
    • DataTransferManager.png-dark
    • DataTransferManager.png
    • Gamepad_CurrentReading.png-dark
    • Gamepad_CurrentReading.png
    • Gamepad_Enumeration.png-dark
    • Gamepad_Enumeration.png
  • wasm: 11 changed over 1076

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • UITests.Shared.Windows_UI_Xaml_Controls.MediaPlayerElement.MediaPlayerElement_Minimal
    • UITests.Uno_Web.Http.CookieManagerTests
    • UITests.Windows_UI_Xaml_Controls.CalendarView.CalendarView_Theming
    • UITests.Microsoft_UI_Xaml_Controls.WebView2Tests.WebView2_NavigationProperties
    • UITests.Windows_UI_Xaml_Media_Animation.ColorAnimation_Background
    • UITests.Shared.Microsoft_UI_Xaml_Controls.ExpanderTests.WinUIExpanderPage
    • SamplesApp.Windows_UI_Xaml_Controls.ListView.ListViewSelectedItems
    • UITests.Shared.Windows_UI_Xaml_Controls.MediaPlayerElement.MediaPlayerElement_Ogg_Extension
    • Uno.UI.Samples.Content.UITests.WebView.WebView_AnchorNavigation
    • SamplesApp.Microsoft_UI_Xaml_Controls.WebView2Tests.WebView2_EnableDevTools
    • SamplesApp.Wasm.Windows_UI_Xaml_Controls.ListView.ListView_IsSelected

@unodevops

Copy link
Copy Markdown
Contributor

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

@github-actions

github-actions Bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 2m 12s —— View job


Review of PR #24351 (re-review after synchronize)

Todo list

  • Fetch base branch (origin/master) and diff
  • Review docs/spec changes for accuracy
  • Review C# changes (TextElement.cs, Application.Alc.cs, XamlFileGenerator.cs, Given_DependencyProperty.cs)
  • Review WASM DOM-interop deletion commits (ts files, csproj/tsconfig changes)
  • Review build/PackageDiffIgnore.xml and solution-template fixes
  • Review AGENTS.md / .claude/rules / .claude/agents updates
  • Post inline findings (none — see below)
  • Post summary

Verdict: ✅ Ship

No inline comments were posted — every claim I independently spot-checked against the tree at origin/master held up, and I found no correctness, layering, DP-registration, async/cancellation, or code-style issues in the substantive (non-doc) changes.

Independent verification performed:

  • TextElement.cs's corrected comment (Animations precedence, not the removed ImplicitStyle) matches Hyperlink.SetCurrentForeground()'s actual SetValue(ForegroundProperty, ..., DependencyPropertyValuePrecedences.Animations) call.
  • Application.Alc.cs — the removed #if __WASM__ block called UIElement.ClearNonDefaultAlcElementRegistrations, Media.CompositionTarget.ClearAlcHandlers/ClearNonDefaultAlcHandlers, and HtmlElementHelper.ClearNonDefaultAlcEntries; none of these members exist anywhere in src/ anymore, so this is dead-code removal, not a behavior change.
  • build/PackageDiffIgnore.xml — Application.TraceProvider.LaunchedStart is confirmed public const int (Application.cs:155), matching the new System.Int32 …::LauchedStart/Stop ignore entries; Uno.Extensions.HtmlCustomEventArgs (removed type) matches its namespace/name exactly. Both entries are present in both the 6.6 and 6.7 IgnoreSets per the file's existing duplication convention.
  • DependencyObjectStore/DependencyObjectGenerator — grepped all of src/: no live class declarations remain, only historical comments referencing them in the past tense (DependencyObject.cs:21, Given_DependencyObject.cs:120), matching the BC26/spec.md corrections exactly.
  • WASM DOM-interop TS/csproj restructuring — confirmed WebView.ts and ts/types/** are genuine 0-diff git renames into their new homes (Uno.UI.Runtime.Skia.WebAssembly.Browser/ts/Runtime/, Uno.WinRT/ts/types/), both consuming .csprojs were updated to match (no dangling includes), and no other .csproj/.targets/.json in the repo still references any of the deleted WindowManager.ts/MonoSupport.ts/tsBindings/* paths.
  • The tsBindings/**/* include entries still present in Uno.WinRT/tsconfig.json and Uno.UI.Runtime.Skia.WebAssembly.Browser/tsconfig.json point at local (never-existing) folders in those projects — pre-existing and unchanged by this PR, not a regression.
  • Given_HtmlElementAttribute.Wasm.cs case mismatch in the removed <Compile Include> line is pre-existing in origin/master (Wasm.cs vs. the actual wasm.cs file) — moot now since both the entry and the file are deleted together in this PR.

Cross-cutting notes (already disclosed in this thread, not new): the pre-existing Given_AlcCacheSweep.cs doc-comment still name-dropping removed HtmlElementHelper/UIElementNativeRegistrar APIs is untouched by this PR's diff; the screenshot-diff bot's 57–289 Skia snapshot deltas across three CI runs are unrelated to this PR's file set (pure docs/specs + dead-code removal) and look like baseline drift on feature/breakingchanges, not something this diff introduces.
· branch: dev/mazi/70closeouts

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The new WebView TypeScript interop has an initialization race (async exports) that can throw at runtime, and the PR description understates the scope/impact of the non-doc changes.

Review details
  • Files reviewed: 87/93 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

@morning4coffe-dev morning4coffe-dev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The force-push is a pure rebase, so the September 15 blockers remain at 6bc95ea: the unresolved inline claims still overstate WinUI inheritance-context parity and incorrectly exclude all class libraries from __UNO_SKIA__, with both repeated in the PR body. Native-renderer/UWP and deleted-source-generator guidance also remains stale. Additionally, the BC26/BC58 reconciliation still mixes implemented outcomes with pre-implementation instructions and leaves the BC58/BC54 rollup unchecked.

@unodevops

Copy link
Copy Markdown
Contributor

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 233981 found UI Test snapshots differences: skia-linux-screenshots: 57, skia-windows-screenshots: 2310, wasm: 11

Details
  • skia-linux-screenshots: 57 changed over 2348

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Buttons.png-dark
    • Buttons.png
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • DisplayInformation.png-dark
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • ClipboardTests.png-dark
    • ContextRequested.png-dark
    • ContextRequested.png
    • DropDownButtonPage.png-dark
    • DropDownButtonPage.png
    • Focus_FocusVisual_Properties.png-dark
    • ImageIconPage.png-dark
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png
    • Image_AnimatedWebP.png-dark
    • Image_AnimatedWebP.png
    • Examples.png-dark
    • Examples.png
  • skia-windows-screenshots: 2310 changed over 2408

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • AnimatedIconPage.png
    • AppBarButtonWithIconTest.png
    • AppWindowFeatures.png-dark
    • AppWindowTitleBar Properties.png-dark
    • Attributed_text_FontSize_Changing.png-dark
    • AutoBorderStretchwithbottommargin.png-dark
    • AutoBorderStretchwithtopmargin.png-dark
    • AutomationProperties_Name.png-dark
    • AutoSuggestBox_Description.png-dark
    • AutoSuggestBox_Description.png
    • AutoSuggestBox_SoftKeboard.png
    • BackGesture.png-dark
    • Basics Pivot Test.png-dark
    • Basics Pivot Test.png
    • Battery.png-dark
    • Battery.png
    • BezierSegment.png-dark
    • BezierSegment.png
    • BitmapIcon_Generic.png-dark
    • BitmapIcon_Generic.png
  • wasm: 11 changed over 1076

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • SamplesApp.Wasm.Windows_UI_Xaml_Controls.ListView.ListView_IsSelected
    • SamplesApp.Windows_UI_Xaml_Controls.ListView.ListViewSelectedItems
    • UITests.Microsoft_UI_Xaml_Controls.WebView2Tests.WebView2_NavigationProperties
    • SamplesApp.Microsoft_UI_Xaml_Controls.WebView2Tests.WebView2_EnableDevTools
    • UITests.Shared.Microsoft_UI_Xaml_Controls.ExpanderTests.WinUIExpanderPage
    • UITests.Shared.Windows_UI_Xaml_Controls.MediaPlayerElement.MediaPlayerElement_Minimal
    • UITests.Shared.Windows_UI_Xaml_Controls.MediaPlayerElement.MediaPlayerElement_Ogg_Extension
    • UITests.Uno_Web.Http.CookieManagerTests
    • UITests.Windows_UI_Xaml_Controls.CalendarView.CalendarView_Theming
    • UITests.Windows_UI_Xaml_Media_Animation.ColorAnimation_Background
    • Uno.UI.Samples.Content.UITests.WebView.WebView_AnchorNavigation

MartinZikmund and others added 2 commits September 16, 2026 16:20
Uno's multi-parent inheritance context is stricter than WinUI's: it
omits GetMentor's ResourceDictionary and ContentControl exceptions, so
a brush resource shared by several elements stops resolving bindings.

__UNO_SKIA__ reaches Android, iOS, tvOS and browser-WASM class libraries
through the runtime package's build assets; only net10.0-desktop and
plain net10.0 libraries lack it.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01Hdrs4BnVJR4tkHrb1YMppc
Label the pre-implementation state, plan, file list and validation
sections as the original plan, and fix the BC58 decision's claim of
full multi-parent parity. Check off BC58, BC54, BC14 and BC38 in the
rollup with their landing PRs and current files.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01Hdrs4BnVJR4tkHrb1YMppc
@github-actions

github-actions Bot commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 1m 17s —— View job


Review of PR #24351 (re-review after synchronize — commits c460e052, 31049338)

Todo list

  • Fetch diff, identify what changed since last review (6bc95ea0 → 31049338)
  • Verify the inheritance-context multi-parent parity fix in migrating-to-uno-7.md
  • Verify the __UNO_SKIA__ class-library fix in platform-specific-csharp.md
  • Verify the BC26/BC58/rollup plan-vs-outcome reconciliation in specs/050-breaking-changes-rollup/
  • Post summary

Verdict: ✅ Ship

Two commits landed since the last review round, both resolving morning4coffe-dev's outstanding CHANGES_REQUESTED points. I independently re-verified each against the tree rather than trusting the commit messages:

  • Inheritance-context parity (doc/articles/migrating-to-uno-7.md:664-673) — the doc no longer claims Uno's multi-parent inheritance context "follows WinUI's rules." It now correctly states Uno is stricter: a second owner permanently disables the inheritance context, whereas WinUI's GetMentor keeps it alive for a first ResourceDictionary parent or up to two ContentControl parents, neither of which Uno implements. This matches DependencyObject.Binder.cs's own AssociateParent comment exactly (confirmed in the prior review round).
  • __UNO_SKIA__ class-library scoping (doc/articles/platform-specific-csharp.md:63) — the doc now correctly distinguishes net10.0-android/-ios/-tvos/-browserwasm class libraries (which get the symbol via the runtime packages' unconditional IncludeAssets="build" fallback when $(_IsExecutable) == 'false') from net10.0-desktop/plain net10.0 libraries (which don't). I checked this asymmetry directly: Uno.Implicit.Packages.ProjectSystem.{Android,iOS,tvOS,Wasm}.targets all carry an $(_IsExecutable) == 'false' ItemGroup referencing the Skia runtime package with IncludeAssets="build"; Uno.Implicit.Packages.ProjectSystem.Desktop.targets has no such fallback — its Skia runtime package references are gated on $(_IsExecutable) == 'true' only. The new doc text matches this precisely.
  • BC26/BC58/rollup spec reconciliation — bc26-dependencyobject-as-class.md and bc58-datacontext-frameworkelement-only.md now clearly label their original per-step plans and file lists as "(superseded)"/"(original plan)" rather than presenting them as current, and the BC58 decision section's WinUI-parity claim is corrected with the same stricter-than-WinUI wording as the migration guide. spec.md's rollup now checks off BC58, BC54, BC14 and BC38 with their landing PRs and current file sets. Spot-checked the specific file/behavior claims: Given_NonFE_DataContextBinding.cs exists at the cited path, UserControl.Properties.cs exists, BackgroundProperty is declared on Control/Panel/Border (not FrameworkElement), and FlyoutBase.cs contains ForwardTargetPropertiesToPresenter/OnClosed exactly as described — no live references to DependencyObjectGenerator/DependencyObjectStore remain anywhere in src/ (only historical comments in DependencyObject.cs/ResourceDictionary.cs, unchanged by this PR).

No new issues found. This closes out every point raised across the review thread — no inline comments needed this round.
· branch: dev/mazi/70closeouts

@unodevops

Copy link
Copy Markdown
Contributor

@morning4coffe-dev morning4coffe-dev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The inheritance-context and __UNO_SKIA__ blockers are fixed, and BC26/BC58 now distinguish historical plans from implemented outcomes. Two source-truth blockers remain: contributor guidance still teaches the removed native Android/iOS/DOM UI renderers and UWP-era inheritance, and .claude/rules/source-generators.md still describes the deleted DependencyObjectGenerator as surviving. The rollup also references nonexistent UIElement.skia.cs.

Comment thread AGENTS.md Resolved
Comment thread .claude/agents/architect.md Resolved
MartinZikmund and others added 3 commits September 16, 2026 16:53
AGENTS.md, the architect agent, the platform-targeting rule and the
migrating guidance still described native Android View, UIKit and DOM
renderers as maintained targets, with native base classes for
UIElement. 7.0 renders with Skia everywhere: Uno.UI compiles once for
Skia, and platform file suffixes only apply to per-platform projects
such as the WinRT layer and the platform hosts.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01Hdrs4BnVJR4tkHrb1YMppc
The rule still described a DependencyObject generator stamping
registrations and [Bindable]. That generator is gone; list the
generators that replaced its surviving duties instead.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01Hdrs4BnVJR4tkHrb1YMppc
@MartinZikmund

Copy link
Copy Markdown
Member Author

@morning4coffe-dev Thanks for the review. All three items are addressed and pushed; details are in the resolved threads:

  • Native renderer model in contributor guidance (519a81c): AGENTS.md, .claude/rules/platform-targeting.md, .claude/agents/architect.md and doc/articles/migrating-guidance.md now describe the Skia-only UI. Platform file suffixes are scoped to per-platform projects, and the native base-class table and the Xamarin-era native-view sections are gone.
  • .claude/rules/source-generators.md (1beb2d6): it now says there is no DependencyObject generator and lists the generators that remain (DependencyPropertyGenerator, DependencyObjectAvailabilityGenerator, BindableTypeProvidersSourceGenerator).
  • Stale UIElement.skia.cs in the BC26 rollup entry (daed0bd): replaced with UIElement.cs.

@unodevops

Copy link
Copy Markdown
Contributor

@github-actions

github-actions Bot commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 2m 44s —— View job


Review of PR #24351 (re-review after synchronize — commits 519a81c3, 1beb2d66, daed0bd5)

Todo list

  • Fetch base branch (origin/master) and diff
  • Identify what changed since the last review (31049338 → daed0bd5)
  • Verify each fix against morning4coffe-dev's last CHANGES_REQUESTED (native-renderer/UWP staleness, DependencyObjectGenerator staleness, UIElement.skia.cs reference)
  • Confirm the 4 locally-modified .claude/* files are environment noise, not PR content
  • Post summary (no inline findings)

Verdict: ✅ Ship

Three commits landed since the last review round, and each maps 1:1 to morning4coffe-dev's three remaining CHANGES_REQUESTED points from 2026-09-16T08:49Z. I re-verified every claim against the current tree rather than trusting the commit messages:

  • 519a81c3 "Retire the native renderer model from guidance" (AGENTS.md, .claude/agents/architect.md, .claude/rules/platform-targeting.md, doc/articles/migrating-guidance.md) — rewrites the "Platform Abstraction"/"Rendering Engine"/"Platform Base Classes" sections and the architect lens to describe Skia-only UI instead of native Android View/UIKit/DOM inheritance, and strips the now-false migrating-guidance.md sections about native-property name collisions (UIView.Window, View.TextAlignment) and nested-FrameworkElement restrictions, replacing them with a note plus a link to native-view embedding. Checked: doc/articles/native-views.md exists with uid: Uno.Development.NativeViews (the new xref resolves), src/Uno.UI.Dispatching exists (supports the "WinRT layer keeps per-platform variants" claim), and RuntimeAssetsSelectorTask exists at the cited path.
  • 1beb2d66 "Describe the source generators that remain" (.claude/rules/source-generators.md) — replaces the stale "generator only stamps per-type registrations" description with the three generators that actually exist today. Verified all three: DependencyPropertyGenerator at Uno.UI.SourceGenerators.Internal/DependencyObject/DependencyPropertyGenerator.cs, DependencyObjectAvailabilityGenerator at Uno.UI.SourceGenerators/BindableTypeProviders/DependencyObjectAvailabilityGenerator.cs (confirmed it walks the base-type chain via a for (var current = type; ...; current = current.BaseType) loop, matching the doc's "detect by walking the base-type chain, not by interface"), and BindableTypeProvidersSourceGenerator (the class inside BindableTypeProvidersGenerationTask.cs, confirmed ISourceGenerator and confirmed it emits BindableMetadataProvider).
  • daed0bd5 "Point the BC26 file list at UIElement.cs" (specs/050-breaking-changes-rollup/spec.md) — swaps the nonexistent UIElement.skia.cs for UIElement.cs. Confirmed: src/Uno.UI/UI/Xaml/UIElement.cs exists, UIElement.skia.cs does not.

No new issues found. This closes out every point raised across the entire review thread — no inline comments needed this round.

Note on local noise: git status shows four .claude/* files (architect.md, dependency-properties.md, platform-targeting.md, source-generators.md) as locally modified in this review environment, reverted to their stale pre-fix text. This is the review sandbox pinning its own agent-instruction copies (also seen and correctly dismissed in every prior pass on this thread) — the actual committed content on dev/mazi/70closeouts (verified via git show) has the corrected text shown above.
· branch: dev/mazi/70closeouts

@unodevops

Copy link
Copy Markdown
Contributor

@morning4coffe-dev morning4coffe-dev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The three previous blockers are fixed, but the replacement guidance introduces two source-truth errors: live .wasm.cs files linked into the WebAssembly runtime are described as never compiled, and the generator guidance omits the intentional interface-detection fallback used for compatibility with released Uno packages. These need correction before approval.

Comment thread .claude/agents/architect.md Resolved
Comment thread .claude/rules/source-generators.md Resolved
MartinZikmund and others added 2 commits September 16, 2026 17:20
Uno.UI excludes .Android.cs, .UIKit.cs and .wasm.cs by default, but the
WebAssembly runtime links live .wasm.cs partials from under src/Uno.UI
(NativeWebView, TextBox input scope). Stop claiming those files are
never compiled, and point readers at the owning MSBuild project.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01Hdrs4BnVJR4tkHrb1YMppc
The generator still matches DependencyObject through AllInterfaces so it
works against released packages where DependencyObject is an interface.
Document base-type detection as the primary path, keep the fallback,
and note when the availability generator runs.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01Hdrs4BnVJR4tkHrb1YMppc
@github-actions

github-actions Bot commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 1m 29s —— View job


Review of PR #24351 (re-review after synchronize — commits 0254a405, 211101eb)

Todo list

  • Fetch base branch (origin/master) and diff, identify current HEAD
  • Verify morning4coffe-dev's latest findings (2026-09-16T15:16:10Z): .wasm.cs files under Uno.UI claimed never compiled vs. live NativeWebView partials linked into Uno.UI.Runtime.Skia.WebAssembly.Browser.csproj
  • Verify .claude/rules/source-generators.md generator interface-detection fallback omission claim
  • Confirm both issues are fixed in the latest commits
  • Post summary (no inline findings — nothing new is wrong)

Verdict: ✅ Ship

Two commits landed since the last review round, and both map exactly to morning4coffe-dev's two remaining points from 2026-09-16T15:16:10Z. I verified each technical claim directly against source rather than trusting the commit message:

  • 0254a405 "Judge platform suffix files by owning project" (AGENTS.md, .claude/agents/architect.md, .claude/rules/platform-targeting.md) — no longer claims a .wasm.cs file under Uno.UI is "never compiled." It now says Uno.UI excludes those suffixes by default, but a platform runtime project can still link one in, naming NativeWebView and the TextBox input-scope partials as the example. Checked Uno.UI.Runtime.Skia.WebAssembly.Browser.csproj:78-81: it does <Compile Include> all four of InputReturnTypeExtensions.wasm.cs, InputScopeExtensions.wasm.cs, NativeWebView.Interop.wasm.cs and NativeWebView.wasm.cs straight from ..\Uno.UI\..., confirming these are live, compiled sources, not dead paths — the new guidance ("judge a file by the MSBuild project that compiles it, not by its path") is accurate.
  • 211101eb "Keep DependencyPropertyGenerator's interface fallback" (.claude/rules/source-generators.md) — restores the AllInterfaces compatibility fallback the prior rewrite had dropped, framing base-type detection as primary and the interface check as a fallback for compiling against released packages where DependencyObject is still an interface. Confirmed at DependencyPropertyGenerator.cs:38: type?.AllInterfaces.Any(t => t.ToDisplayString(...) == XamlConstants.Types.DependencyObject) exists exactly as described. Also spot-checked the new claim about DependencyObjectAvailabilityGenerator only running under UnoXamlResourcesTrimming or inside the Uno solution — DependencyObjectAvailabilityGenerator.cs:58: if (validPlatform && (_xamlResourcesTrimming || _isUnoUISolution)) matches precisely.

No new issues found. This closes out every point raised across the entire review thread — no inline comments needed this round.

Note on local environment noise (same as every prior pass on this thread): this review sandbox's git status/loaded rule content shows .claude/agents/architect.md, .claude/rules/dependency-properties.md, .claude/rules/platform-targeting.md and .claude/rules/source-generators.md reverted to stale pre-fix text as uncommitted local changes. git show HEAD:<path> for all four confirms the actual committed content on dev/mazi/70closeouts has the corrected text verified above — this is sandbox-local state, not part of the PR diff.
· branch: dev/mazi/70closeouts

@MartinZikmund

Copy link
Copy Markdown
Member Author

@morning4coffe-dev Both are fixed, and the threads are resolved:

  • Suffix scoping (0254a40): AGENTS.md, architect.md and platform-targeting.md now say the Uno.UI project excludes .Android.cs/.UIKit.cs/.wasm.cs by default. They also note that platform runtime projects can link them (e.g. the WebAssembly runtime's NativeWebView partials) and tell readers to judge a file by its owning MSBuild project.
  • DependencyPropertyGenerator detection (211101e): base-type walking is documented as the primary path, and the AllInterfaces fallback for released packages is kept.

@morning4coffe-dev morning4coffe-dev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified the tagged follow-up at 211101eb73c8. Platform-suffix guidance now correctly follows the owning MSBuild project and acknowledges linked .wasm.cs sources, while the generator documentation preserves the released-package AllInterfaces compatibility fallback. The previous source-truth findings are resolved; approving this head.

@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 234048 found UI Test snapshots differences: skia-linux-screenshots: 57, skia-windows-screenshots: 2310, wasm: 11

Details
  • skia-linux-screenshots: 57 changed over 2348

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • Buttons.png-dark
    • Buttons.png
    • DisplayInformation.png-dark
    • DropDownButtonPage.png-dark
    • DropDownButtonPage.png
    • ClipboardTests.png-dark
    • ContextRequested.png-dark
    • ContextRequested.png
    • Examples.png-dark
    • Examples.png
    • ExpanderColorValidationPage.png-dark
    • ExpanderColorValidationPage.png
    • Focus_FocusVisual_Properties.png-dark
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png
    • Gamepad_CurrentReading.png-dark
  • skia-windows-screenshots: 2310 changed over 2408

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • AppBarButtonTest.png-dark
    • AppBar_KeyBoard.png
    • ApplicationViewSpanningRectsPage.png-dark
    • AppWindowFeatures.png
    • AppXamlDefinedResources.png-dark
    • Attributed_text_Simple.png-dark
    • AutoBorderStretchwithbottommargin.png-dark
    • AutomationPropertiesExtensions_Role.png-dark
    • AutoSizedTopLeft.png
    • AutoSuggestBoxChosenSuggestion.png-dark
    • AutoSuggestBox_Reason.png-dark
    • AutoSuggestBox_Reason.png
    • BasicAutoSuggestBox.png-dark
    • BasicAutoSuggestBox.png
    • BasicThemeResources.png-dark
    • BasicThemeResources.png
    • BitmapIcon_Foreground.png-dark
    • BitmapIcon_Foreground.png
    • BorderTopwithmargins.png-dark
    • BorderTopwithmargins.png
  • wasm: 11 changed over 1076

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • UITests.Shared.Windows_UI_Xaml_Controls.MediaPlayerElement.MediaPlayerElement_Minimal
    • UITests.Shared.Windows_UI_Xaml_Controls.MediaPlayerElement.MediaPlayerElement_Ogg_Extension
    • SamplesApp.Microsoft_UI_Xaml_Controls.WebView2Tests.WebView2_EnableDevTools
    • SamplesApp.Windows_UI_Xaml_Controls.ListView.ListViewSelectedItems
    • UITests.Shared.Microsoft_UI_Xaml_Controls.ExpanderTests.WinUIExpanderPage
    • SamplesApp.Wasm.Windows_UI_Xaml_Controls.ListView.ListView_IsSelected
    • UITests.Microsoft_UI_Xaml_Controls.WebView2Tests.WebView2_NavigationProperties
    • UITests.Windows_UI_Xaml_Media_Animation.ColorAnimation_Background
    • UITests.Uno_Web.Http.CookieManagerTests
    • UITests.Windows_UI_Xaml_Controls.CalendarView.CalendarView_Theming
    • Uno.UI.Samples.Content.UITests.WebView.WebView_AnchorNavigation

@unodevops

Copy link
Copy Markdown
Contributor

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

@MartinZikmund
MartinZikmund merged commit 084f6b0 into master Sep 16, 2026
64 checks passed
@MartinZikmund
MartinZikmund deleted the dev/mazi/70closeouts branch September 16, 2026 20:34
@MartinZikmund MartinZikmund mentioned this pull request Sep 17, 2026
3 of 5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/automation Categorizes an issue or PR as relevant to project automation area/build Categorizes an issue or PR as relevant to build infrastructure area/code-generation Categorizes an issue or PR as relevant to code generation area/solution-templates Categorizes an issue or PR as relevant to the solution template kind/documentation platform/wasm 🌐 Categorizes an issue or PR as relevant to the WebAssembly platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants