Diff hunks + thread context on review comments; preview env links; hide matrix placeholder

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DgBEW6qAwgn2fcQbA2f4ZQ
This commit is contained in:
Joshua Coles
2026-07-28 14:51:01 +00:00
co-authored by Claude Fable 5
parent df0e82e372
commit d14b6ebed3
11 changed files with 170 additions and 15 deletions
+5
View File
@@ -36,6 +36,9 @@ export interface PrSnapshot {
isDraft: boolean;
branch: string;
updatedAt: string;
labels: string[];
/** Per-PR review environment, when the repo configures one and the label matches. */
previewUrl: string | null;
reviewState: ReviewState;
unresolvedThreads: number;
totalThreads: number;
@@ -59,6 +62,8 @@ export interface TimelineEvent {
reviewState: string | null;
path: string | null;
read: boolean;
/** Trailing lines of the diff hunk a review comment is anchored to. */
diffHunk: string | null;
/** Set when this is a reply within a review thread: the thread's root comment. */
inReplyTo: { actor: string; bodyExcerpt: string } | null;
}