Skip to content

Commit d5f78ad

Browse files
committed
cleanup and remove previous experiement
1 parent e08e5f5 commit d5f78ad

5 files changed

Lines changed: 1 addition & 319 deletions

File tree

static/app/components/group/issueSuperGroup.tsx

Lines changed: 0 additions & 109 deletions
This file was deleted.

static/app/components/groupMetaRow.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import {TimesTag} from 'sentry/components/group/inboxBadges/timesTag';
1313
import {UnhandledTag} from 'sentry/components/group/inboxBadges/unhandledTag';
1414
import {IssueReplayCount} from 'sentry/components/group/issueReplayCount';
1515
import {IssueSeerBadge} from 'sentry/components/group/issueSeerBadge';
16-
import {IssueSuperGroup} from 'sentry/components/group/issueSuperGroup';
1716
import ProjectBadge from 'sentry/components/idBadge/projectBadge';
1817
import {extractSelectionParameters} from 'sentry/components/pageFilters/parse';
1918
import {Placeholder} from 'sentry/components/placeholder';
@@ -24,7 +23,6 @@ import {defined} from 'sentry/utils';
2423
import {getTitle} from 'sentry/utils/events';
2524
import {useReplayCountForIssues} from 'sentry/utils/replayCount/useReplayCountForIssues';
2625
import {projectCanLinkToReplay} from 'sentry/utils/replays/projectSupportsReplay';
27-
import {useSuperGroupForIssues} from 'sentry/utils/supergroup/useSuperGroupForIssues';
2826
import {useLocation} from 'sentry/utils/useLocation';
2927
import {useOrganization} from 'sentry/utils/useOrganization';
3028

@@ -75,18 +73,13 @@ export function GroupMetaRow({data, showAssignee, showLifetime = true}: Props) {
7573

7674
const issuesPath = `/organizations/${organization.slug}/issues/`;
7775
const {getReplayCountForIssue} = useReplayCountForIssues();
78-
const {getSuperGroupForIssue} = useSuperGroupForIssues();
7976

8077
const showReplayCount =
8178
organization.features.includes('session-replay') &&
8279
projectCanLinkToReplay(organization, project) &&
8380
data.issueCategory &&
8481
!!getReplayCountForIssue(data.id, data.issueCategory);
8582

86-
const supergroup = organization.features.includes('top-issues-ui')
87-
? getSuperGroupForIssue(data.id)
88-
: undefined;
89-
9083
const autofixRunExists = getAutofixRunExists(data);
9184
const seerFixable = isIssueQuickFixable(data);
9285
const showSeer =
@@ -126,7 +119,6 @@ export function GroupMetaRow({data, showAssignee, showLifetime = true}: Props) {
126119
</CommentsLink>
127120
) : null,
128121
showReplayCount ? <IssueReplayCount group={data} /> : null,
129-
supergroup ? <IssueSuperGroup supergroup={supergroup} /> : null,
130122
showSeer ? <IssueSeerBadge group={data} key="issue-seer-badge" /> : null,
131123
logger ? (
132124
<LoggerAnnotation>

static/app/components/stream/stackIndicatorBar.tsx

Lines changed: 0 additions & 137 deletions
This file was deleted.

static/app/utils/supergroup/useSuperGroupForIssues.tsx

Lines changed: 0 additions & 61 deletions
This file was deleted.

static/app/views/issueList/supergroups/supergroupDrawer.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,7 @@ import type {SupergroupDetail} from 'sentry/views/issueList/supergroups/types';
2222
export function SupergroupDetailDrawer({supergroup}: {supergroup: SupergroupDetail}) {
2323
const organization = useOrganization();
2424
const placeholderRows = Math.min(supergroup.group_ids.length, 10);
25-
const issueIdQuery =
26-
supergroup.group_ids.length === 1
27-
? `issue.id:${supergroup.group_ids[0]}`
28-
: `issue.id:[${supergroup.group_ids.join(',')}]`;
25+
const issueIdQuery = `issue.id:[${supergroup.group_ids.join(',')}]`;
2926

3027
return (
3128
<Fragment>

0 commit comments

Comments
 (0)