Skip to content

Commit 9e31a7c

Browse files
authored
feat(autofix): Add copy PR URL button and open icon to pull request card (#112358)
Add *Open-in-new-tab icon** — adds the `IconOpen` icon to the View PR LinkButton, matching the pattern already used in CodingAgentCard for external links. Before: <img width="1538" height="274" alt="CleanShot 2026-04-07 at 14 46 21@2x" src="https://github.com/user-attachments/assets/4609ad62-5c17-4ce8-94fb-f8d7713b91e9" /> After: <img width="1468" height="262" alt="CleanShot 2026-04-07 at 14 56 45@2x" src="https://github.com/user-attachments/assets/262095fe-2db4-4ee6-b383-6f228ad9e37e" /> Agent transcript: https://claudescope.sentry.dev/share/Y_Qw59GBniE1Wx444uIuXMxOWycGEXk17h2cdAJWP6U
1 parent ab65c60 commit 9e31a7c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

static/app/components/events/autofix/v3/autofixCards.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,12 @@ export function PullRequestsCard({section}: AutofixCardProps) {
280280
) {
281281
return (
282282
<Flex key={pullRequest.repo_name} gap="xs" align="center">
283-
<LinkButton external href={pullRequest.pr_url} priority="primary">
283+
<LinkButton
284+
external
285+
href={pullRequest.pr_url}
286+
priority="primary"
287+
icon={<IconOpen />}
288+
>
284289
{t('View %s#%s', pullRequest.repo_name, pullRequest.pr_number)}
285290
</LinkButton>
286291
<Button

0 commit comments

Comments
 (0)