Repository navigation
Replies: 1 comment
|
+1, and I'd like this in the thread diff panel too, not just the PR view. My agents change a lot of What I do today: click the file in the diff panel, which opens it in the file preview, then switch that to rendered. It works, but it shows the whole file with no sign of what changed, and I have to jump back and forth. On the first open question, a small first step would already help a lot: Happy to open a PR for that first step if a maintainer wants it. |
Uh oh!
There was an error while loading. Please reload this page.
Problem
When a pull request changes a Markdown file — a README, a docs page, a spec — the PR view shows it only as a raw source diff. Reviewing prose as +/- source lines means mentally rendering headings, lists, tables and links while reading, which is slow and error-prone. GitHub solves this with a "Rendered" toggle on Markdown file diffs.
Separately, inline review comments are anchored to source lines, so even when what you are reviewing is prose, you have to stay in the source diff to leave a comment or suggestion.
What exists today
Request
.mdfiles in the PR view's files/diff tab, add a preview mode that renders the file's new content — like the file pane does, and like GitHub's rendered diff view. A per-file toggle between the source diff and the rendered preview.Open questions
Related
Note
Written with Claude Code (model:
rits/zai-org/glm-5-3) on behalf of the user.All reactions