diff --git a/static/app/components/events/highlights/highlightsDataSection.tsx b/static/app/components/events/highlights/highlightsDataSection.tsx
index 8238d1294cb4f..f27866b247ae4 100644
--- a/static/app/components/events/highlights/highlightsDataSection.tsx
+++ b/static/app/components/events/highlights/highlightsDataSection.tsx
@@ -4,7 +4,7 @@ import styled from '@emotion/styled';
import {openModal} from 'sentry/actionCreators/modal';
import {hasEveryAccess} from 'sentry/components/acl/access';
-import {Button, LinkButton} from 'sentry/components/button';
+import {Button} from 'sentry/components/button';
import ButtonBar from 'sentry/components/buttonBar';
import ErrorBoundary from 'sentry/components/errorBoundary';
import {ContextCardContent} from 'sentry/components/events/contexts/contextCard';
@@ -37,8 +37,6 @@ import {useLocation} from 'sentry/utils/useLocation';
import useOrganization from 'sentry/utils/useOrganization';
import {SectionKey} from 'sentry/views/issueDetails/streamline/context';
import {InterimSection} from 'sentry/views/issueDetails/streamline/interimSection';
-import {Tab, TabPaths} from 'sentry/views/issueDetails/types';
-import {useGroupDetailsRoute} from 'sentry/views/issueDetails/useGroupDetailsRoute';
import {useHasStreamlinedUI} from 'sentry/views/issueDetails/utils';
interface HighlightsDataSectionProps {
@@ -259,32 +257,19 @@ export default function HighlightsDataSection({
}: HighlightsDataSectionProps) {
const organization = useOrganization();
const hasStreamlinedUI = useHasStreamlinedUI();
- const location = useLocation();
- const {baseUrl} = useGroupDetailsRoute();
- const viewAllButton = hasStreamlinedUI ? (
- // Streamline details ui has "Jump to" feature, instead we'll show the drawer button
-
- {t('View All Issue Tags')}
-
- ) : viewAllRef ? (
-
- ) : null;
+ const viewAllButton =
+ !hasStreamlinedUI && viewAllRef ? (
+
+ ) : null;
return (
{
expect(screen.queryByText('Jump To:')).not.toBeInTheDocument();
expect(screen.queryByText('Replay')).not.toBeInTheDocument();
expect(screen.queryByText('Tags')).not.toBeInTheDocument();
- expect(screen.queryByText('Event Highlights')).not.toBeInTheDocument();
+ expect(screen.queryByText('Highlights')).not.toBeInTheDocument();
});
it('does show jump to sections when the sections render', () => {
render();
expect(screen.getByText('Jump to:')).toBeInTheDocument();
- expect(screen.getByText('Event Highlights')).toBeInTheDocument();
+ expect(screen.getByText('Highlights')).toBeInTheDocument();
expect(screen.getByText('Replay')).toBeInTheDocument();
expect(screen.getByText('Tags')).toBeInTheDocument();
});
diff --git a/static/app/views/issueDetails/streamline/eventNavigation.tsx b/static/app/views/issueDetails/streamline/eventNavigation.tsx
index 2e9e040c4d7a8..1bf953d2c2608 100644
--- a/static/app/views/issueDetails/streamline/eventNavigation.tsx
+++ b/static/app/views/issueDetails/streamline/eventNavigation.tsx
@@ -76,7 +76,7 @@ const EventNavOrder = [
];
const sectionLabels = {
- [SectionKey.HIGHLIGHTS]: t('Event Highlights'),
+ [SectionKey.HIGHLIGHTS]: t('Highlights'),
[SectionKey.STACKTRACE]: t('Stack Trace'),
[SectionKey.TRACE]: t('Trace'),
[SectionKey.EXCEPTION]: t('Stack Trace'),