Skip to content

ref(alerts): drop SystemAlerts from the init queue component map#115223

Open
evanpurkhiser wants to merge 1 commit intomasterfrom
evanpurkhiser/ref-alerts-drop-systemalerts-from-the-init-queue-component-map
Open

ref(alerts): drop SystemAlerts from the init queue component map#115223
evanpurkhiser wants to merge 1 commit intomasterfrom
evanpurkhiser/ref-alerts-drop-systemalerts-from-the-init-queue-component-map

Conversation

@evanpurkhiser
Copy link
Copy Markdown
Member

@evanpurkhiser evanpurkhiser commented May 8, 2026

The Django template partial/alerts.html no longer pushes a SystemAlerts renderReact config onto window.__onSentryInit (see #115222). Drop the corresponding frontend entry from processInitQueue's COMPONENT_MAP, the SentryInitRenderReactComponent enum, and the now-orphaned test.

The standalone <SystemAlerts> mount has been dead plumbing since the React/Reflux era began in 2015 — see the linked backend PR for the full history trek. Every AlertStore producer lives inside the SPA's <App> tree, which renders its own <SystemAlerts>.

SystemAlerts itself stays — only its registration in the init queue is removed. The component continues to be mounted in-tree by appBodyContent.tsx and organizationLayout/index.tsx.

Backend partial/alerts.html no longer pushes a SystemAlerts renderReact
config (see prior commit). Remove the matching frontend entry from
COMPONENT_MAP, the SentryInitRenderReactComponent enum, and the
corresponding test.
@evanpurkhiser evanpurkhiser requested a review from a team as a code owner May 8, 2026 19:58
@evanpurkhiser evanpurkhiser requested review from JonasBa, billyvg and markstory and removed request for a team May 8, 2026 19:58
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label May 8, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

📊 Type Coverage Diff

✅ No new type safety issues introduced. Coverage: 93.46%

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.

1 participant