Skip to content

[UX]: Patch apply diff in CLI is confusing when blocks of code are omitted #7861

@shssoichiro

Description

@shssoichiro

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

When the CLI applies a patch and prints the diff for it to the TUI, it often skips lines which are not modified. However, there is no visual indication that there are lines skipped. This can lead to confusion if users are not carefully looking at the line numbers--e.g. in the example below, I thought that the agent had inserted the changes in the wrong location, until I checked my file to see it had done it correctly, it was just a UX issue with the TUI's diff display.

Recommendation: Insert some sort of visual breakpoint, such as a line containing .., to indicate that lines are skipped.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions