Repository navigation
refactor: drop toolkit TreeGraph in favor of Uno's - #1650
Merged
Merged
Conversation
- Remove VisualTreeHelperEx.TreeGraph overloads that collide with Uno.UI.Extensions.ViewExtensions.TreeGraph - Keep the toolkit describer as VisualTreeHelperEx.DescribeToolkitProperties, to pass to Uno's TreeGraph(reference, describeProperties) - Update sample Shell debug helper and commented test hint accordingly Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://polite-field-01aa64f0f-1650.eastus2.azurestaticapps.net |
kazo0
approved these changes
Sep 25, 2026
Contributor
|
This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again. |
Merged
7 of 18 tasks
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.
GitHub Issue: closes #1642
PR Type
What is the current behavior?
The toolkit's internal
VisualTreeHelperEx.TreeGraph(...)overloads have the same name and signature as Uno's publicUno.UI.Extensions.ViewExtensions.TreeGraph(...). When both namespaces are in scope the calls are ambiguous, so debugger watch expressions have to use the fully qualified name.What is the new behavior?
TreeGraphoverloads and theDebugVTNodewrappers are removed.VisualTreeHelperEx.DescribeToolkitProperties(object). It still covers Responsive, ScrollViewer, visual states, layout and the rest. Pass it to Uno'sTreeGraph(reference, describeProperties)overload, which already writes theType#Name // propsline and handles exceptions:Shelldebug helper and a commented-out hint inDrawerFlyoutTestsnow use the new call.PR Checklist
internal)Other information
I checked Uno.UI 7.0.0-dev.701 (the version in
global.json):ViewExtensions.TreeGraph(DependencyObject, Func<object, IEnumerable<string>>)is public. The sample heads build only Uno targets (android/ios/wasm/desktop), so that API is always available where the sample calls it.The local build could not run. My local NuGet cache had a local Uno build copied over
Uno.WinUI 7.0.0-dev.701(a NuGet override from another checkout), so the build failed with or without this change. CI needs to confirm it compiles.🤖 Generated with Claude Code