Skip to content

reviewstack.dev shows raw lines changed in entire stack instead of just current diff #1084

@trevorm4

Description

@trevorm4

If you have a stack of diffs, the lines changed badge currently shows total lines changed in entire stack when in reality it should probably just show lines changed in current diff

This was initially implemented in #1081 by using the Github graphQL mutation but it probably should use the result of tokenization similar to https://github.com/facebook/sapling/blob/main/addons/isl/src/ComparisonView/SplitDiffView/syntaxHighlighting.tsx

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