Skip to content

Keep seen/marked view annotators between code review iterations #559

Closed as not planned

Description

@oorestisime

Right now when i mark a file as viewed and it hasnt changed between iterations I have to go through the same files again.

It would be nice if this was working similar to how github does where seen annotations/markers are kept until a file is changed.

This should make the hide viewed files button a bit more streamlined and useful than how it currently behaves.

Image

Unsure if this is an easy change as i havent checked internals but if you keep some kind of state after a feedback then probably we can make a hash based diff of files.

If you feel this is in the right direction i can take a look at it as well!

Activity

  1. backnotprop commented on Apr 14, 2026

    @backnotprop
    Owner

    Yeah, this is interesting. I'm already storing viewed state in drafts (in case of crash/refresh). There's probably some type of hash check we can do and reuse through a similar method. I kind of need to think it out, though.

  2. prvnsmpth commented on Apr 28, 2026

    @prvnsmpth

    This would be a really useful feature.

    Also, not sure if this is already possible, but it would take this workflow to a whole new level if the model had the ability to respond to comments on the diff directly, push commits, etc. so we can discuss and close issues directly in the UI without going back and forth. Basically I want the PR review UI to stay live until the entire task is complete (I think right now the UI goes away after you do "send feedback" with one set of review comments).

  3. oorestisime commented on Apr 28, 2026

    @oorestisime
    ContributorAuthor

    Yeah i feel this is currently a big limitation in code review. But i think it won't get into really good UX territory without a full editor experience. Seeing what opencode <> zed released a few days ago changes a little bit the dynamics. Being able to hover over code, jump into definitions etc feels way more powerful than a diff viewer.

    Would be bit of too much of an ask for Plannotator to embed whole code and provides this experience.

  4. added
    enhancement
    on Jul 27, 2026
  5. backnotprop commented on Jul 27, 2026

    @backnotprop
    Owner

    Still valid and still unimplemented, so refreshing it with the specifics: #1136. The cause is what this thread guessed, the draft key is a hash of the whole patch, so any file changing invalidates every file's viewed mark. Guided Reviews now do per-item reviewed state with a staleness flag, which gives us a template to copy. Thanks for the original report and the content-hash suggestion.

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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions