Skip to content

feat(review): add a changed-files review index#90

Merged
barrettruth merged 3 commits intomainfrom
feat/review-files-index
Apr 7, 2026
Merged

feat(review): add a changed-files review index#90
barrettruth merged 3 commits intomainfrom
feat/review-files-index

Conversation

@barrettruth
Copy link
Copy Markdown
Owner

Problem

Review still leaned on the diff buffer's quickfix side effects, so there was no first-class changed-files surface anchoring the local PR review flow. That made file selection incidental and left the new review session model underused.

Solution

Derive changed files from the active review session, open them in a picker-backed review index, and route file opens through the review session so later mode and navigation work can build on the same surface.

Problem: forge review only tracked a base ref and display mode, which made
PR review feel like a thin diff action rather than a coherent workflow.
That left no stable session object for later file indexing, view switching,
or subject generalization.

Solution: add structured review session state in `lua/forge/review.lua`,
populate it when PR review starts, and cover the new session model in help
docs and focused specs.
Problem: review still depended on the diff buffer's quickfix side effects,
so there was no first-class file index to anchor the local PR review flow.
That made file selection incidental and left the session model underused.

Solution: derive changed files from the active review session, open them in
a picker-backed review index, and route file opens through the review
session so later mode and navigation work can build on the same surface.
@barrettruth barrettruth deleted the branch main April 7, 2026 20:47
@barrettruth barrettruth closed this Apr 7, 2026
@barrettruth barrettruth reopened this Apr 7, 2026
@barrettruth barrettruth changed the base branch from feat/review-session-model to main April 7, 2026 20:51
@barrettruth barrettruth merged commit c233b6f into main Apr 7, 2026
8 checks passed
@barrettruth barrettruth deleted the feat/review-files-index branch April 7, 2026 20:52
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.

1 participant