Skip to content

fix(seer): Fix extra divider showing in issue stream #91852

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 17, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion static/app/components/eventOrGroupExtraDetails.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import {Fragment} from 'react';
import styled from '@emotion/styled';

import {
getAutofixRunExists,
isIssueQuickFixable,
} from 'sentry/components/events/autofix/utils';
import EventAnnotation from 'sentry/components/events/eventAnnotation';
import GlobalSelectionLink from 'sentry/components/globalSelectionLink';
import ShortId from 'sentry/components/group/inboxBadges/shortId';
Expand Down Expand Up @@ -76,6 +80,13 @@ function EventOrGroupExtraDetails({data, showAssignee, showLifetime = true}: Pro
data.issueCategory &&
!!getReplayCountForIssue(data.id, data.issueCategory);

const autofixRunExists = getAutofixRunExists(data as Group);
const seerFixable = isIssueQuickFixable(data as Group);
const showSeer =
organization.features.includes('gen-ai-features') &&
!organization.hideAiFeatures &&
(autofixRunExists || seerFixable);

const {subtitle} = getTitle(data);

const items = [
Expand Down Expand Up @@ -108,7 +119,7 @@ function EventOrGroupExtraDetails({data, showAssignee, showLifetime = true}: Pro
</CommentsLink>
) : null,
showReplayCount ? <IssueReplayCount group={data as Group} /> : null,
<IssueSeerBadge group={data as Group} key="issue-seer-badge" />,
showSeer ? <IssueSeerBadge group={data as Group} key="issue-seer-badge" /> : null,
logger ? (
<LoggerAnnotation>
<GlobalSelectionLink
Expand Down
Loading