Skip to content

[find-ui] Allow users to retrieve untruncated, paste-ready samples with --id #716

Description

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:

<!-- ...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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions