Skip to content

ref(issues): Remove InterimSection#115355

Merged
scttcper merged 7 commits into
masterfrom
scttcper/kill-interim-section
May 12, 2026
Merged

ref(issues): Remove InterimSection#115355
scttcper merged 7 commits into
masterfrom
scttcper/kill-interim-section

Conversation

@scttcper
Copy link
Copy Markdown
Member

@scttcper scttcper commented May 12, 2026

InterimSection was just a temporary wrapper around FoldSection while the streamlined issue details UI was landing. It was added in #74224 . This replaces those call sites with FoldSection directly and deletes the adapter.

InterimSection was only a temporary adapter around FoldSection. Replace the call sites with FoldSection directly and let the section context accept the string keys those call sites already used.

Also keeps jump-to limited to the known issue detail sections, so arbitrary drawer/sidebar section keys don't show up there.

Co-authored-by: Codex GPT-5 <[email protected]>
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label May 12, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 12, 2026

📊 Type Coverage Diff

Metric Before After Delta
Coverage 93.49% 93.49% ±0%
Typed 135,191 135,171 🔴 -20
Untyped 9,412 9,412 ±0
🔍 1 new type safety issue introduced

Type assertions (as) (1 new)

File Line Detail
static/app/views/issueDetails/streamline/issueDetailsJumpTo.tsx 45 as SectionKeyconfig.key as SectionKey

This is informational only and does not block the PR.

InterimSection was the last consumer of this exported link after the section cleanup. Drop it so knip stays quiet.

Co-authored-by: Codex GPT-5 <[email protected]>
Highlights rendered the empty state while the detailed project request was still pending, then kept the loading spinner around after the request settled. That left issue details stuck with a loading indicator and knocked over the acceptance shards.

Render loading only while the request is pending, and keep the now-local prop types unexported so knip stays quiet.

Co-Authored-By: Codex <[email protected]>
@scttcper scttcper marked this pull request as ready for review May 12, 2026 17:59
@scttcper scttcper requested review from a team as code owners May 12, 2026 17:59
Copy link
Copy Markdown
Member

@leeandher leeandher left a comment

Choose a reason for hiding this comment

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

did its job 🫡

Copy link
Copy Markdown
Contributor

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 459e45c. Configure here.

))}
</ContentWrapper>
</InterimSection>
</FoldSection>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Dropped disableCollapsePersistence in trace drawer general info sections

Medium Severity

Both span and transaction GeneralInfo components previously passed disableCollapsePersistence to InterimSection, which forwarded it to FoldSection. During migration, that prop was dropped. Since FoldSection defaults disableCollapsePersistence to false, these "General" sections in the trace drawer will now persist their collapsed state to localStorage. Every other FoldSection in the trace drawer still explicitly sets disableCollapsePersistence, making this inconsistency clearly unintentional.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 459e45c. Configure here.

@scttcper scttcper merged commit d8d1399 into master May 12, 2026
74 checks passed
@scttcper scttcper deleted the scttcper/kill-interim-section branch May 12, 2026 18:16
nikkikapadia pushed a commit that referenced this pull request May 12, 2026
InterimSection was just a temporary wrapper around FoldSection while the
streamlined issue details UI was landing. It was added in
#74224 . This replaces those
call sites with FoldSection directly and deletes the adapter.
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