From e9c4775e8738381140af4e5248507b15fc1cd491 Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Sun, 30 Aug 2026 22:43:19 -0700 Subject: [PATCH] fix(web): mark pull request links as external (#8856) --- .../src/components/pullRequest/PullRequestDetailPanel.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/apps/web/src/components/pullRequest/PullRequestDetailPanel.tsx b/apps/web/src/components/pullRequest/PullRequestDetailPanel.tsx index b7826d4f9a520c4cc4dd1a24bd63537e7d0b087c..5666ddd26e57ed8ae5afbe6f3bfc39a0ff1e5d4e 100644 --- a/apps/web/src/components/pullRequest/PullRequestDetailPanel.tsx +++ b/apps/web/src/components/pullRequest/PullRequestDetailPanel.tsx @@ -16,6 +16,7 @@ import { BookOpenIcon, CircleDotIcon, ChevronDownIcon, + ExternalLinkIcon, FileDiffIcon, FolderGit2Icon, GitBranchIcon, @@ -1161,12 +1162,13 @@ export function PullRequestDetailPanel({ onClick={() => void readLocalApi()?.shell.openExternal(detail.url)} onContextMenu={(event) => openNumberContextMenu(event, detail)} className={cn( - "shrink-0 font-medium underline-offset-2 hover:underline", + "inline-flex shrink-0 cursor-pointer items-center gap-0.5 font-medium underline-offset-2 hover:underline", statePresentation.toneClassName, )} aria-label={`Open pull request #${detail.number} on host`} > #{detail.number} + } /> @@ -1196,12 +1198,13 @@ export function PullRequestDetailPanel({ onClick={() => void readLocalApi()?.shell.openExternal(detail.url)} onContextMenu={(event) => openNumberContextMenu(event, detail)} className={cn( - "shrink-0 font-medium underline-offset-2 hover:underline", + "inline-flex shrink-0 cursor-pointer items-center gap-0.5 font-medium underline-offset-2 hover:underline", statePresentation.toneClassName, )} aria-label={`Open pull request #${detail.number} on host`} > #{detail.number} + } /> -- 2.54.0