From 3c018746d0525c3ccd2d86cdb91edb787c774cc1 Mon Sep 17 00:00:00 2001 From: shivam <91240327+shivamhwp@users.noreply.github.com> Date: Fri, 11 Sep 2026 19:21:09 +0000 Subject: [PATCH] fix(web): show pointer cursors on pull request controls --- 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 69017444ce80..b9b000829945 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 239ebeb7950e..764e8cc9553a 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 946f3cdbc54f..d4112e5d9de4 100644 --- a/apps/web/src/components/pullRequest/PullRequestTimelineTab.tsx +++ b/apps/web/src/components/pullRequest/PullRequestTimelineTab.tsx @@ -385,7 +385,7 @@ function CommitEvent({ return (