Skip to content

feat(issues): show PR files as a continuous multi-file diff - #166

Merged
jiweiyuan merged 1 commit into
mainfrom
issues-pr-files-diff
Jul 30, 2026
Merged

feat(issues): show PR files as a continuous multi-file diff#166
jiweiyuan merged 1 commit into
mainfrom
issues-pr-files-diff

Conversation

@jiweiyuan

Copy link
Copy Markdown
Collaborator

Render a PR's changed files as one continuous scroll (GitHub "Files changed"), each file an embedded, content-sized DiffTextView card that reports its height so the outer list owns the scroll.

Rebased onto latest main (post #161): the per-session issuesModels + registerIssuesModel() plumbing from #161 is kept as-is; this PR adds only the PR-files-diff rendering (PRFilesSplitView, DiffDocument, DiffTextView, IssuesPanelModel). Mac app builds clean.

🤖 Generated with Claude Code

…st detail across maximize

Render a PR's changed files as one continuous scroll (GitHub "Files
changed"), each file an embedded, content-sized DiffTextView card that
reports its height so the outer list owns the scroll and no stacked pane
steals focus.

Move IssuesPanelModel from the inspector view into TermioStore, which now
owns it via ensureIssuesModel(for:). Maximizing the detail (also a tab
switch or collapse) remounts the inspector list; the model outliving that
churn keeps the loaded issues and open conversation, so a pure layout
change no longer re-resolves git or re-hits the API.
@vercel

vercel Bot commented Jul 30, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
landing Ready Ready Preview Jul 30, 2026 4:07pm

Request Review

@jiweiyuan
jiweiyuan merged commit ac7a534 into main Jul 30, 2026
2 checks passed
@jiweiyuan
jiweiyuan deleted the issues-pr-files-diff branch July 30, 2026 16:25
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