Skip to content

ref(integrations): Remove the legacy popup install flow#117364

Merged
evanpurkhiser merged 1 commit into
masterfrom
evanpurkhiser/ref-integrations-remove-the-legacy-popup-install-flow
Jun 10, 2026
Merged

ref(integrations): Remove the legacy popup install flow#117364
evanpurkhiser merged 1 commit into
masterfrom
evanpurkhiser/ref-integrations-remove-the-legacy-popup-install-flow

Conversation

@evanpurkhiser

Copy link
Copy Markdown
Member

Now that every integration provider installs through the API-driven pipeline modal, drop the legacy popup-window flow from useAddIntegration: the window.open setup dialog, the message event listener that awaited its postMessage result, and the UNCONDITIONAL_API_PIPELINE_PROVIDERS / API_PIPELINE_FEATURE_FLAGS gating that chose between the two paths. startFlow now always opens the pipeline modal.

Also removes the dead plumbing this exposed: the modalParams/use_staging and account params that only fed the popup, and the now-unused computeCenteredWindow helper.

Part of VDY-32.

@evanpurkhiser evanpurkhiser requested review from a team as code owners June 10, 2026 20:10
@evanpurkhiser evanpurkhiser requested a review from jaydgoss June 10, 2026 20:10
@evanpurkhiser evanpurkhiser requested a review from a team as a code owner June 10, 2026 20:10
@evanpurkhiser evanpurkhiser requested a review from scttcper June 10, 2026 20:10
@linear-code

linear-code Bot commented Jun 10, 2026

Copy link
Copy Markdown

VDY-32

@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jun 10, 2026
@github-actions

github-actions Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

📊 Type Coverage Diff

Metric Before After Delta
Coverage 93.69% 93.69% ±0%
Typed 132,731 132,692 🔴 -39
Untyped 8,944 8,941 🟢 -3
🔍 2 new type safety issues introduced

Type assertions (as) (2 new)

File Line Detail
static/app/utils/integrations/useAddIntegration.tsx 70 as ProvidersByType['integration']provider.key as ProvidersByType['integration']
static/app/utils/integrations/useAddIntegration.tsx 83 as IntegrationWithConfigdata as IntegrationWithConfig

This is informational only and does not block the PR.

@leeandher leeandher left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

Now that every integration provider installs through the API-driven
pipeline modal, drop the legacy popup-window flow from `useAddIntegration`:
the `window.open` setup dialog, the `message` event listener that awaited
its postMessage result, and the `UNCONDITIONAL_API_PIPELINE_PROVIDERS` /
`API_PIPELINE_FEATURE_FLAGS` gating that chose between the two paths.
`startFlow` now always opens the pipeline modal.

Also removes the dead plumbing this exposed: the `modalParams`/`use_staging`
and `account` params that only fed the popup, and the now-unused
`computeCenteredWindow` helper.
@evanpurkhiser evanpurkhiser force-pushed the evanpurkhiser/ref-integrations-remove-the-legacy-popup-install-flow branch from 64b4abb to e1b242b Compare June 10, 2026 20:24
Comment thread static/app/utils/integrations/useAddIntegration.tsx
@evanpurkhiser evanpurkhiser merged commit 2a57064 into master Jun 10, 2026
76 checks passed
@evanpurkhiser evanpurkhiser deleted the evanpurkhiser/ref-integrations-remove-the-legacy-popup-install-flow branch June 10, 2026 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants