Skip to content

PR comment: link each change to its side-by-side diff - #223

Merged
reuvenharrison merged 1 commit into
mainfrom
comment-rows-link-to-review
Nov 15, 2026
Merged

reuvenharrison merged 1 commit into
mainfrom
comment-rows-link-to-review

Conversation

@reuvenharrison

Copy link
Copy Markdown
Contributor

Each row of the changes table in the PR comment now ends with a view link that opens the review on that change, with the old and new spec side by side. It applies with and without an oasdiff-token.

Before, each row carried the check id as a link to the check's description:

| severity | change | endpoint |
| error | api removed without deprecation [api-removed-without-deprecation](https://www.oasdiff.com/checks/...) | GET /pets |

After:

| severity | change | endpoint | diff |
| error | api removed without deprecation | GET /pets | [view](https://www.oasdiff.com/review/e/<id>?highlight=<change>#k=<key>) |

The check id and its description are still one click away, on the review page. The link to the whole review under the table is unchanged.

🤖 Generated with Claude Code

Each row of the changes table ends with a link that opens the review on that
change. The link to the check's description is gone from the row; the review
page carries it.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@reuvenharrison
reuvenharrison merged commit 31561ed into main Nov 15, 2026
47 checks passed
@reuvenharrison
reuvenharrison deleted the comment-rows-link-to-review branch November 15, 2026 21:57
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