Skip to content

Bound long-line previews in edit and write tool cards #59

Closed

Description

@johnnyhuy

Part of #2

Edit and write input previews currently show an entire first diff row when it exceeds the 2,000-character preview limit. A single minified or generated line can therefore bypass truncation.

Bound the rendered diff preview even within a line, explain when the preview is shortened, and retain full-input copying and Show more / Show less. Add component regressions and real Electron coverage with screenshot proof. Keep the parent open.

Activity

  1. johnnyhuy commented on Nov 13, 2026

    @johnnyhuy
    ContributorAuthor

    agent claim: agent/issue-59-tool-diff-preview @ f4fd7a6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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