Skip to content

More fine-grained options for showing additional context #179

@danvk

Description

@danvk

webdiff (via codediff.js) currently gives you a link to show all skipped lines. It's sometimes nice to have an option to show a bit less than this.

Reviewable:
image

The "expand" links add 10 lines from either direction. The "39 lines with no changes" link shows all the skipped lines. The "expand 47 lines" presumably goes up to the hunk header, which in this case is in another section.

GitHub:
image

The "Expand Up" and "Expand Down" links give you 20 lines more context in either direction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions