File tree Expand file tree Collapse file tree 4 files changed +8
-221
lines changed
navigation/secondary/sections/issues Expand file tree Collapse file tree 4 files changed +8
-221
lines changed Original file line number Diff line number Diff 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 ) ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import styled from '@emotion/styled';
44
55import { Badge } from '@sentry/scraps/badge' ;
66import { Button } from '@sentry/scraps/button' ;
7+ import { inlineCodeStyles } from '@sentry/scraps/code' ;
78import { Container , Flex , Stack } from '@sentry/scraps/layout' ;
89import { Heading , Text } from '@sentry/scraps/text' ;
910
@@ -29,9 +30,9 @@ import {t} from 'sentry/locale';
2930import { GroupStore } from 'sentry/stores/groupStore' ;
3031import type { Group } from 'sentry/types/group' ;
3132import { getApiUrl } from 'sentry/utils/api/getApiUrl' ;
33+ import { MarkedText } from 'sentry/utils/marked/markedText' ;
3234import { useApiQuery } from 'sentry/utils/queryClient' ;
3335import { useOrganization } from 'sentry/utils/useOrganization' ;
34- import { StyledMarkedText } from 'sentry/views/issueList/pages/supergroups' ;
3536import { SupergroupFeedback } from 'sentry/views/issueList/supergroups/supergroupFeedback' ;
3637import 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+ ` ;
Original file line number Diff line number Diff line change @@ -13,8 +13,6 @@ import {IssueViews} from 'sentry/views/navigation/secondary/sections/issues/issu
1313export 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 />
You can’t perform that action at this time.
0 commit comments