Просмотр исходного кода

cleanup(perf): Remove alpha badges for perf issues (#50448)

### Summary
We shouldn't show alpha badge for any of the existing performance issues.
Kev 1 год назад
Родитель
Сommit
c86bb800e4
1 измененных файлов с 1 добавлено и 34 удалено
  1. 1 34
      static/app/views/issueDetails/header.tsx

+ 1 - 34
static/app/views/issueDetails/header.tsx

@@ -11,7 +11,6 @@ import EnvironmentPageFilter from 'sentry/components/environmentPageFilter';
 import EventOrGroupTitle from 'sentry/components/eventOrGroupTitle';
 import ErrorLevel from 'sentry/components/events/errorLevel';
 import EventMessage from 'sentry/components/events/eventMessage';
-import FeatureBadge from 'sentry/components/featureBadge';
 import InboxReason from 'sentry/components/group/inboxBadges/inboxReason';
 import {GroupStatusBadge} from 'sentry/components/group/inboxBadges/statusBadge';
 import UnhandledInboxTag from 'sentry/components/group/inboxBadges/unhandledTag';
@@ -26,7 +25,7 @@ import {Tooltip} from 'sentry/components/tooltip';
 import {IconChat} from 'sentry/icons';
 import {t} from 'sentry/locale';
 import {space} from 'sentry/styles/space';
-import {Event, Group, IssueType, Organization, Project} from 'sentry/types';
+import {Event, Group, Organization, Project} from 'sentry/types';
 import {trackAnalytics} from 'sentry/utils/analytics';
 import {getMessage} from 'sentry/utils/events';
 import {getConfigForIssueType} from 'sentry/utils/issueTypeConfig';
@@ -271,38 +270,6 @@ function GroupHeader({
         >
           <StyledShortId shortId={group.shortId} />
         </Tooltip>
-        {group.issueType === IssueType.PERFORMANCE_CONSECUTIVE_DB_QUERIES && (
-          <FeatureBadge
-            type="alpha"
-            title={t(
-              'Consecutive HTTP Performance Issues are in active development and may change'
-            )}
-          />
-        )}
-        {group.issueType === IssueType.PERFORMANCE_SLOW_DB_QUERY && (
-          <FeatureBadge
-            type="alpha"
-            title={t(
-              'Slow DB Query Performance Issues are in active development and may change'
-            )}
-          />
-        )}
-        {group.issueType === IssueType.PERFORMANCE_CONSECUTIVE_DB_QUERIES && (
-          <FeatureBadge
-            type="beta"
-            title={t(
-              'Consecutive DB Query Performance Issues are in active development and may change'
-            )}
-          />
-        )}
-        {group.issueType === IssueType.PERFORMANCE_RENDER_BLOCKING_ASSET && (
-          <FeatureBadge
-            type="alpha"
-            title={t(
-              'Large Render Blocking Asset Performance Issues are in active development and may change'
-            )}
-          />
-        )}
       </ShortIdBreadrcumb>
     </GuideAnchor>
   );