Skip to content

fix(investigations): Wrap detail stories in StoryTopBar to provide TopBar slots - #128738

Open
sentry[bot] wants to merge 2 commits into
masterfrom
seer/fix/investigation-detail-stories-topbar-provider
Open

sentry[bot] wants to merge 2 commits into
masterfrom
seer/fix/investigation-detail-stories-topbar-provider

Conversation

@sentry

@sentry sentry Bot commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

The InvestigationBootstrapPage component renders a <TopBar.Slot name="breadcrumbs"> consumer, which requires an ancestor TopBarSlots.Provider. In static/app/views/investigations/detail/index.stories.tsx, most story variants rendered <InvestigationBootstrapPage> bare without <StoryTopBar>. Only the 'Archived and read-only' story used it.

This caused an Error: <Slot.Consumer> for slot "breadcrumbs" rendered without a <Slot.Provider> when viewing the detail stories in the Scraps stories viewer.

This change wraps all remaining bare story instances of <InvestigationBootstrapPage> in <StoryTopBar> to supply the required provider across all story variants.

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

Fixes JAVASCRIPT-3FT5

@sentry <feedback>: Autofix iterates on these changes
@sentry stop iterating: Autofix stops iterating on this run

This PR was automatically generated by Sentry. You can adjust this setting at any time.

@sentry
sentry Bot requested a review from a team as a code owner October 24, 2026 22:47
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Oct 24, 2026
@github-actions

github-actions Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Story previews

Preview the stories changed in this PR on the Vercel deployment:

Preview deployment: https://sentry-iq23ofovm.sentry.dev

This branch was successfully deployed

1 active deployment
Preview — 317e0a76 Deployed Oct 24, 2026 by vercel[bot]
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.

0 participants