Show merge-conflict badge on PR cards via GraphQL mergeable field

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-29 10:10:53 +00:00
co-authored by Claude Fable 5
parent 5aa6f3367d
commit ab6e3bbe3a
5 changed files with 17 additions and 0 deletions
+2
View File
@@ -11,6 +11,7 @@ export const LIST_QUERY = /* GraphQL */ `
title
url
isDraft
mergeable
updatedAt
author { login }
headRefName
@@ -34,6 +35,7 @@ export interface ListPr {
title: string;
url: string;
isDraft: boolean;
mergeable: 'MERGEABLE' | 'CONFLICTING' | 'UNKNOWN';
updatedAt: string;
author: { login: string } | null;
headRefName: string;