Skip to content

Commit cb2adc3

Browse files
committed
feat(autofix): Add open-in-new-tab icon to PR link button
Add the IconOpen icon to the View PR LinkButton in PullRequestsCard, matching the pattern used in CodingAgentCard for external links. Co-Authored-By: Claude Opus 4.6 <noreply@example.com> Agent transcript: https://claudescope.sentry.dev/share/m0S7s7LloVCZJ_de2S98Zwft5Y5PG-Ir5uqBQiKiOXQ
1 parent 08f79c7 commit cb2adc3

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)