Skip to content

ref(issues): Remove useHasStreamlinedUI from GroupDetails and GroupEventDetails#110145

Closed
malwilley wants to merge 7 commits intomasterfrom
malwilley/rm-streamlined-ui-core-views
Closed

ref(issues): Remove useHasStreamlinedUI from GroupDetails and GroupEventDetails#110145
malwilley wants to merge 7 commits intomasterfrom
malwilley/rm-streamlined-ui-core-views

Conversation

@malwilley
Copy link
Copy Markdown
Member

One part of a many code deletions now that the old experience is dead.

Remove legacy UI code from groupDetails, groupActivity,
groupEventDetails, and groupEventDetailsContent. This removes the
old tab-based layout, GroupHeader, GroupSidebar, status banners,
tab change tracking, old event error handling, and various
conditional rendering branches for the legacy UI.
@malwilley malwilley requested a review from scttcper March 6, 2026 19:45
@malwilley malwilley requested a review from a team as a code owner March 6, 2026 19:45
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Mar 6, 2026
* TODO(streamline-ui): Remove this whole hook once the legacy UI is removed. The streamlined UI exposes the
* filters on the page so the user is expected to clear it themselves, and the empty state is actually expected.
*/
useEffect(() => {
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.

i imagine we had tests for this? that need to be cleaned up

Copy link
Copy Markdown
Member Author

@malwilley malwilley Mar 6, 2026

Choose a reason for hiding this comment

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

Looks like this wasn't tested 🤔

Comment on lines -209 to -215
{!hasStreamlinedUI && group.issueType === IssueType.MONITOR_CHECK_IN_FAILURE && (
<CronTimelineSection
event={event}
organization={organization}
project={project}
/>
)}
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.

it does feel like maybe this was setup wrong cc @evanpurkhiser

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.

wdym

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.

or i guess something new exists? maybe i'm missing context https://github.com/getsentry/sentry/pull/89986/changes

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.

yeah we have timelines in the new UIs afaik

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

yeah
CleanShot 2026-03-06 at 11 55 51

Comment thread static/app/views/issueDetails/groupEventDetails/groupEventDetailsContent.tsx Outdated
The usePrompt hook was making an API call whose result was discarded -
only isLoading was used, and feedback is now shown unconditionally.
Remove orphaned files that are no longer imported:
- groupEventDetailsLoadingError.tsx
- cronTimelineSection.tsx
- groupEventHeader.tsx
Comment thread static/app/views/issueDetails/groupEventDetails/groupEventDetailsContent.tsx Outdated
@malwilley malwilley requested a review from a team as a code owner March 6, 2026 22:19
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.

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

@malwilley malwilley closed this Mar 24, 2026
@github-actions github-actions bot locked and limited conversation to collaborators Apr 9, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants