Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ref(replay): remove 'new' badge from selector widgets & tab #64848

Merged
merged 1 commit into from
Feb 8, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import styled from '@emotion/styled';
import Accordion from 'sentry/components/accordion/accordion';
import {LinkButton} from 'sentry/components/button';
import EmptyStateWarning from 'sentry/components/emptyStateWarning';
import FeatureBadge from 'sentry/components/featureBadge';
import Placeholder from 'sentry/components/placeholder';
import {Flex} from 'sentry/components/profiling/flex';
import QuestionTooltip from 'sentry/components/questionTooltip';
Expand Down Expand Up @@ -51,7 +50,6 @@ function DeadRageSelectorCards() {
isHoverable
/>
</TitleTooltipContainer>
<FeatureBadge type="new" />
</StyledWidgetHeader>
<Subtitle>{t('Suggested replays to watch')}</Subtitle>
</div>
Expand All @@ -74,7 +72,6 @@ function DeadRageSelectorCards() {
isHoverable
/>
</TitleTooltipContainer>
<FeatureBadge type="new" />
</StyledWidgetHeader>
<Subtitle>{t('Suggested replays to watch')}</Subtitle>
</div>
Expand Down
9 changes: 2 additions & 7 deletions static/app/views/replays/tabs.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {Fragment, useMemo} from 'react';
import {useMemo} from 'react';

import FeatureBadge from 'sentry/components/featureBadge';
import {TabList, Tabs} from 'sentry/components/tabs';
import {t} from 'sentry/locale';
import {useLocation} from 'sentry/utils/useLocation';
Expand All @@ -25,11 +24,7 @@ export default function ReplayTabs({selected}: Props) {
},
{
key: 'selectors',
label: (
<Fragment>
{t('Selectors')} <FeatureBadge type="new" />
</Fragment>
),
label: t('Selectors'),
pathname: normalizeUrl(`/organizations/${organization.slug}/replays/selectors/`),
query: {...location.query, sort: '-count_dead_clicks'},
},
Expand Down
Loading