Summary
winapp find-ui --id <id> does not always return a complete, paste-ready/buildable sample. Some results contain an explicit <!-- ...truncated --> marker, including toolkit-tabbedcommandbar-1, gallery-gridview-2, and toolkit-gridsplitter-1.
Reproduction
winapp find-ui --id toolkit-tabbedcommandbar-1
The returned XAML ends early and contains:
Question / proposed direction
Do we need an option that lets users request the full, untruncated snippet? For example, --full, --no-truncate, or another explicit mode could preserve concise default output while allowing users and agents to retrieve complete code.
Whichever behavior we choose, the command should make clear whether the result is intended to be directly buildable. If full source cannot be returned, it should provide a source URL or another deterministic way to retrieve it.
Expected behavior
Users and agents should have a documented way to retrieve a complete sample, including required XAML/C# and prerequisite notes, without silently receiving incomplete code.
Summary
winapp find-ui --id <id>does not always return a complete, paste-ready/buildable sample. Some results contain an explicit<!-- ...truncated -->marker, includingtoolkit-tabbedcommandbar-1,gallery-gridview-2, andtoolkit-gridsplitter-1.Reproduction
The returned XAML ends early and contains:
<!-- ...truncated -->Question / proposed direction
Do we need an option that lets users request the full, untruncated snippet? For example,
--full,--no-truncate, or another explicit mode could preserve concise default output while allowing users and agents to retrieve complete code.Whichever behavior we choose, the command should make clear whether the result is intended to be directly buildable. If full source cannot be returned, it should provide a source URL or another deterministic way to retrieve it.
Expected behavior
Users and agents should have a documented way to retrieve a complete sample, including required XAML/C# and prerequisite notes, without silently receiving incomplete code.