Skip to content

Commit 2cb111c

Browse files
committed
fix(autofix): Show Add Integration CTA when no coding agents installed
The coding agent dropdown (which contains the 'Add Integration' link) was only rendered when codingAgentOptions.length > 0. This meant orgs with zero coding agent integrations had no way to discover or install one from the autofix flow. Change the guard to check whether codingAgentIntegrations is defined (i.e. the step supports coding agents) rather than whether any exist, so the dropdown with the CTA always appears on relevant steps. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Agent transcript: https://claudescope.sentry.dev/share/vM7qy1Z72d-FTlutPQFEXRVgHQcSlaKFH8eEv6_DB3M
1 parent 16cbe0f commit 2cb111c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ function NextStepTemplate({
342342
<Button priority="primary" disabled={isProcessing} onClick={onClickYes}>
343343
{labelYes}
344344
</Button>
345-
{codingAgentOptions?.length ? (
345+
{codingAgentIntegrations === undefined ? null : (
346346
<DropdownMenu
347347
items={codingAgentOptions}
348348
trigger={(triggerProps, isOpen) => (
@@ -367,7 +367,7 @@ function NextStepTemplate({
367367
</DropdownMenuFooter>
368368
}
369369
/>
370-
) : null}
370+
)}
371371
</ButtonBar>
372372
</Flex>
373373
</Flex>

0 commit comments

Comments
 (0)