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
1 change: 0 additions & 1 deletion static/app/views/alerts/wizard/options.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ export const AlertWizardAlertNames: Record<AlertType, string> = {
*/
export const AlertWizardExtraContent: Partial<Record<AlertType, React.ReactNode>> = {
uptime_monitor: <FeatureBadge type="new" />,
trace_item_logs: <FeatureBadge type="new" />,
};

type AlertWizardCategory = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function WidgetBuilderDatasetSelector() {
datasetChoices.push([
WidgetType.LOGS,
<FeatureBadgeAlignmentWrapper aria-label={t('Logs')} key="dataset-choice-logs">
{t('Logs')} <FeatureBadge type="new" />
{t('Logs')}
</FeatureBadgeAlignmentWrapper>,
]);
}
Expand Down
6 changes: 1 addition & 5 deletions static/app/views/explore/logs/content.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import {FeatureBadge} from 'sentry/components/core/badge/featureBadge';
import {Button} from 'sentry/components/core/button';
import {ButtonBar} from 'sentry/components/core/button/buttonBar';
import {LinkButton} from 'sentry/components/core/button/linkButton';
Expand Down Expand Up @@ -117,10 +116,7 @@ function LogsHeader() {
<ExploreBreadcrumb traceItemDataset={TraceItemDataset.LOGS} />
) : null}

<Layout.Title>
{title ? title : t('Logs')}
<FeatureBadge type="new" />
</Layout.Title>
<Layout.Title>{title ? title : t('Logs')}</Layout.Title>
</Layout.HeaderContent>
<Layout.HeaderActions>
<ButtonBar>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import {Fragment} from 'react';
import Feature from 'sentry/components/acl/feature';
import {FeatureBadge} from 'sentry/components/core/badge/featureBadge';
import {t} from 'sentry/locale';
import localStorage from 'sentry/utils/localStorage';
import {useLocation} from 'sentry/utils/useLocation';
import useOrganization from 'sentry/utils/useOrganization';
import {useGetSavedQueries} from 'sentry/views/explore/hooks/useGetSavedQueries';
Expand All @@ -26,9 +25,6 @@ export function ExploreSecondaryNav() {
perPage: MAX_STARRED_QUERIES_DISPLAYED,
});

const ourlogsSeenKey = `sidebar-new-seen:ourlogs`;
const showOurlogsNew = !localStorage.getItem(ourlogsSeenKey);

return (
<Fragment>
<SecondaryNav.Header>
Expand All @@ -51,17 +47,7 @@ export function ExploreSecondaryNav() {
</Feature>
</Feature>
<Feature features="ourlogs-enabled">
<SecondaryNav.Item
to={`${baseUrl}/logs/`}
analyticsItemName="explore_logs"
trailingItems={showOurlogsNew ? <FeatureBadge type="new" /> : null}
onMouseDown={() => {
localStorage.setItem(ourlogsSeenKey, 'true');
}}
onTouchStart={() => {
localStorage.setItem(ourlogsSeenKey, 'true');
}}
>
<SecondaryNav.Item to={`${baseUrl}/logs/`} analyticsItemName="explore_logs">
{t('Logs')}
</SecondaryNav.Item>
</Feature>
Expand Down
Loading