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

chore(performance): Remove new badge from txn threshold (#28240)

Remove new badge since this feature has been in GA for
a month now.
Shruthi 3 лет назад
Родитель
Сommit
9066a99c3f

+ 1 - 4
static/app/views/performance/transactionSummary/transactionThresholdModal.tsx

@@ -9,7 +9,6 @@ import {ModalRenderProps} from 'app/actionCreators/modal';
 import {Client} from 'app/api';
 import Button from 'app/components/button';
 import ButtonBar from 'app/components/buttonBar';
-import FeatureBadge from 'app/components/featureBadge';
 import SelectControl from 'app/components/forms/selectControl';
 import Link from 'app/components/links/link';
 import {t, tct} from 'app/locale';
@@ -247,9 +246,7 @@ class TransactionThresholdModal extends React.Component<Props, State> {
     return (
       <React.Fragment>
         <Header closeButton>
-          <h4>
-            {t('Transaction Settings')} <FeatureBadge type="new" />
-          </h4>
+          <h4>{t('Transaction Settings')}</h4>
         </Header>
         <Body>
           <Instruction>

+ 1 - 2
static/app/views/settings/project/navigationConfiguration.tsx

@@ -116,8 +116,7 @@ export default function getConfiguration({
         {
           path: `${pathPrefix}/performance/`,
           title: t('Performance'),
-          badge: () => 'new',
-          show: () => !!organization?.features?.includes('project-transaction-threshold'),
+          show: () => !!organization?.features?.includes('performance-view'),
         },
       ],
     },