Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 0 additions & 4 deletions static/app/router/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2546,10 +2546,6 @@ function buildRoutes(): RouteObject[] {
path: 'autofix/recent/',
component: make(() => import('sentry/views/issueList/pages/autofix/recentlyRun')),
},
{
path: 'supergroups/',
component: make(() => import('sentry/views/issueList/pages/supergroups')),
},
{
path: 'views/:viewId/',
component: errorHandler(OverviewWrapper),
Expand Down
204 changes: 0 additions & 204 deletions static/app/views/issueList/pages/supergroups.tsx

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import styled from '@emotion/styled';

import {Badge} from '@sentry/scraps/badge';
import {Button} from '@sentry/scraps/button';
import {inlineCodeStyles} from '@sentry/scraps/code';
import {Container, Flex, Stack} from '@sentry/scraps/layout';
import {Heading, Text} from '@sentry/scraps/text';

Expand All @@ -29,9 +30,9 @@ import {t} from 'sentry/locale';
import {GroupStore} from 'sentry/stores/groupStore';
import type {Group} from 'sentry/types/group';
import {getApiUrl} from 'sentry/utils/api/getApiUrl';
import {MarkedText} from 'sentry/utils/marked/markedText';
import {useApiQuery} from 'sentry/utils/queryClient';
import {useOrganization} from 'sentry/utils/useOrganization';
import {StyledMarkedText} from 'sentry/views/issueList/pages/supergroups';
import {SupergroupFeedback} from 'sentry/views/issueList/supergroups/supergroupFeedback';
import type {SupergroupDetail} from 'sentry/views/issueList/supergroups/types';

Expand Down Expand Up @@ -306,3 +307,9 @@ const HighlightableRow = styled('div')<{highlighted: boolean}>`
border-left: 3px solid ${p.theme.tokens.border.accent.vibrant};
`}
`;

const StyledMarkedText = styled(MarkedText)`
code:not(pre code) {
${p => inlineCodeStyles(p.theme)};
}
`;
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ import {IssueViews} from 'sentry/views/navigation/secondary/sections/issues/issu
export function IssuesSecondaryNavigation() {
const organization = useOrganization();
const baseUrl = `/organizations/${organization.slug}/issues`;
const hasTopIssuesUI = organization.features.includes('top-issues-ui');

return (
<Fragment>
<SecondaryNavigation.Header>{t('Issues')}</SecondaryNavigation.Header>
Expand All @@ -30,16 +28,6 @@ export function IssuesSecondaryNavigation() {
{t('Feed')}
</SecondaryNavigation.Link>
</SecondaryNavigation.ListItem>
{hasTopIssuesUI && (
<SecondaryNavigation.ListItem>
<SecondaryNavigation.Link
to={`${baseUrl}/supergroups/`}
analyticsItemName="issues_supergroups"
>
{t('Supergroups')}
</SecondaryNavigation.Link>
</SecondaryNavigation.ListItem>
)}
</SecondaryNavigation.List>
</SecondaryNavigation.Section>
<SecondaryNavigation.Separator />
Expand Down
Loading