From 871192933fe0a501fd92a1ed3a5d317ba1eea9d3 Mon Sep 17 00:00:00 2001
From: shivam <91240327+shivamhwp@users.noreply.github.com>
Date: Sat, 12 Sep 2026 04:50:39 +0530
Subject: [PATCH] fix(web): show pointer cursors on pull request controls
(#11283)
---
apps/web/src/components/pullRequest/PullRequestRow.tsx | 2 +-
apps/web/src/components/pullRequest/PullRequestSummaryTab.tsx | 2 +-
apps/web/src/components/pullRequest/PullRequestTimelineTab.tsx | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/apps/web/src/components/pullRequest/PullRequestRow.tsx b/apps/web/src/components/pullRequest/PullRequestRow.tsx
index 69017444ce80bfee1138be4358da959148395e91..b9b00082994595f2e655279a73e15bd889e26869 100644
--- a/apps/web/src/components/pullRequest/PullRequestRow.tsx
+++ b/apps/web/src/components/pullRequest/PullRequestRow.tsx
@@ -104,7 +104,7 @@ function PullRequestRowImpl({
aria-current={selected ? "true" : undefined}
onClick={() => onSelect(entry)}
className={cn(
- "@container/pr-row grid w-full grid-cols-[auto_minmax(0,1fr)] items-center gap-3 rounded-lg px-3 py-3 text-left transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
+ "@container/pr-row grid w-full cursor-pointer grid-cols-[auto_minmax(0,1fr)] items-center gap-3 rounded-lg px-3 py-3 text-left transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
// Offscreen rows are skipped for style, layout and paint: a long list costs what the
// viewport shows, not what the pages have loaded. The intrinsic size keeps the
// scrollbar honest while a row is skipped.
diff --git a/apps/web/src/components/pullRequest/PullRequestSummaryTab.tsx b/apps/web/src/components/pullRequest/PullRequestSummaryTab.tsx
index 239ebeb7950e4a7ebdf829ed58c46c31642ea948..764e8cc9553a19cb87e64e917a769caac98a7299 100644
--- a/apps/web/src/components/pullRequest/PullRequestSummaryTab.tsx
+++ b/apps/web/src/components/pullRequest/PullRequestSummaryTab.tsx
@@ -806,7 +806,7 @@ export function PullRequestSummaryTab({
onClick={() => check.url && openCheck(check.url)}
className={cn(
"flex min-w-0 flex-1 items-start gap-2 rounded-md px-2 py-2 text-left text-xs leading-5 [&>svg]:mt-0.5",
- check.url ? undefined : "cursor-default",
+ check.url ? "cursor-pointer" : "cursor-default",
)}
>
diff --git a/apps/web/src/components/pullRequest/PullRequestTimelineTab.tsx b/apps/web/src/components/pullRequest/PullRequestTimelineTab.tsx
index 946f3cdbc54fd68268bf062232a6c0e14cb4748f..d4112e5d9de432100f46a5c9f8aa66de876e28fc 100644
--- a/apps/web/src/components/pullRequest/PullRequestTimelineTab.tsx
+++ b/apps/web/src/components/pullRequest/PullRequestTimelineTab.tsx
@@ -385,7 +385,7 @@ function CommitEvent({
return (