Skip to content

Commit 04cfcb8

Browse files
cvxluoclaude
andcommitted
ref(issueList): Remove standalone supergroups page
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 8eac07f commit 04cfcb8

File tree

4 files changed

+8
-221
lines changed

4 files changed

+8
-221
lines changed

static/app/router/routes.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2546,10 +2546,6 @@ function buildRoutes(): RouteObject[] {
25462546
path: 'autofix/recent/',
25472547
component: make(() => import('sentry/views/issueList/pages/autofix/recentlyRun')),
25482548
},
2549-
{
2550-
path: 'supergroups/',
2551-
component: make(() => import('sentry/views/issueList/pages/supergroups')),
2552-
},
25532549
{
25542550
path: 'views/:viewId/',
25552551
component: errorHandler(OverviewWrapper),

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

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

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import styled from '@emotion/styled';
44

55
import {Badge} from '@sentry/scraps/badge';
66
import {Button} from '@sentry/scraps/button';
7+
import {inlineCodeStyles} from '@sentry/scraps/code';
78
import {Container, Flex, Stack} from '@sentry/scraps/layout';
89
import {Heading, Text} from '@sentry/scraps/text';
910

@@ -29,9 +30,9 @@ import {t} from 'sentry/locale';
2930
import {GroupStore} from 'sentry/stores/groupStore';
3031
import type {Group} from 'sentry/types/group';
3132
import {getApiUrl} from 'sentry/utils/api/getApiUrl';
33+
import {MarkedText} from 'sentry/utils/marked/markedText';
3234
import {useApiQuery} from 'sentry/utils/queryClient';
3335
import {useOrganization} from 'sentry/utils/useOrganization';
34-
import {StyledMarkedText} from 'sentry/views/issueList/pages/supergroups';
3536
import {SupergroupFeedback} from 'sentry/views/issueList/supergroups/supergroupFeedback';
3637
import type {SupergroupDetail} from 'sentry/views/issueList/supergroups/types';
3738

@@ -306,3 +307,9 @@ const HighlightableRow = styled('div')<{highlighted: boolean}>`
306307
border-left: 3px solid ${p.theme.tokens.border.accent.vibrant};
307308
`}
308309
`;
310+
311+
const StyledMarkedText = styled(MarkedText)`
312+
code:not(pre code) {
313+
${p => inlineCodeStyles(p.theme)};
314+
}
315+
`;

static/app/views/navigation/secondary/sections/issues/issuesSecondaryNavigation.tsx

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ import {IssueViews} from 'sentry/views/navigation/secondary/sections/issues/issu
1313
export function IssuesSecondaryNavigation() {
1414
const organization = useOrganization();
1515
const baseUrl = `/organizations/${organization.slug}/issues`;
16-
const hasTopIssuesUI = organization.features.includes('top-issues-ui');
17-
1816
return (
1917
<Fragment>
2018
<SecondaryNavigation.Header>{t('Issues')}</SecondaryNavigation.Header>
@@ -30,16 +28,6 @@ export function IssuesSecondaryNavigation() {
3028
{t('Feed')}
3129
</SecondaryNavigation.Link>
3230
</SecondaryNavigation.ListItem>
33-
{hasTopIssuesUI && (
34-
<SecondaryNavigation.ListItem>
35-
<SecondaryNavigation.Link
36-
to={`${baseUrl}/supergroups/`}
37-
analyticsItemName="issues_supergroups"
38-
>
39-
{t('Supergroups')}
40-
</SecondaryNavigation.Link>
41-
</SecondaryNavigation.ListItem>
42-
)}
4331
</SecondaryNavigation.List>
4432
</SecondaryNavigation.Section>
4533
<SecondaryNavigation.Separator />

0 commit comments

Comments
 (0)