Skip to content

Show diff hunks for PR review threads - #874

Open
KalLee-SI wants to merge 1 commit into
dlvhdr:mainfrom
KalLee-SI:codex/show-review-diff-hunks
Open

Show diff hunks for PR review threads#874
KalLee-SI wants to merge 1 commit into
dlvhdr:mainfrom
KalLee-SI:codex/show-review-diff-hunks

Conversation

@KalLee-SI

Copy link
Copy Markdown
Contributor

Summary

  • fetch diffHunk for PR review comments
  • render review threads as grouped activity blocks instead of flattening each reply
  • show the thread location, diff hunk, and outdated marker in the PR activity tab

Fixes #852

Verification

  • go test ./internal/tui/components/prview ./internal/data
  • git diff --check
  • git diff --cached --check

@ysrfz

ysrfz commented May 19, 2026

Copy link
Copy Markdown

Hey @CalLeeLQY — heads up, I opened #891 with a broader take on #852 that overlaps with this one (thread grouping + hunks + a few other things from the issue). Happy to consolidate however the maintainers prefer.

@dlvhdr

dlvhdr commented Jun 12, 2026

Copy link
Copy Markdown
Owner

Hey @KalLee-SI, I think we should discuss the design first in an issue.
Let me know if you have time for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PR activity view flattens review threads and drops the code context

3 participants