Skip to content

Support Github "Viewed" behavior in hunk #646

Description

@webmonarch

What do you want to change?

Add a "file viewed" type option (how Github has) to allow a file that has already been reviewed (and not changed) to be collapsed by default

Why?

My PR review workflow is: look at a file, check if it makes sense, mark it as viewed, continue. This give me a measure of progress and see what remains, and reduces the noise when I need to review additions made to the branch.

How? (optional)

I have not reviewed the codebase, but it seems like it slots into a larger these of state between runs: #113 #504

Also tricky: in the context of a PR, what has been "viewed" is hear (the PR is a single context evolving over time), running hunk diff would need some way to correlate this run of hunk with a previous one in which the file was marked as viewed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions