Browse Source

feat(performance): remove beta badge from events tab #27627

edwardgou-sentry 3 years ago
parent
commit
d96e6031f4

+ 0 - 1
static/app/views/performance/transactionSummary/header.tsx

@@ -245,7 +245,6 @@ class TransactionHeader extends React.Component<Props> {
                 onClick={this.trackEventsTabClick}
               >
                 {t('All Events')}
-                <FeatureBadge type="beta" noTooltip />
               </ListLink>
             </Feature>
           </StyledNavTabs>

+ 1 - 4
tests/js/spec/views/performance/transactionEvents.spec.tsx

@@ -164,10 +164,7 @@ describe('Performance > TransactionSummary', function () {
     wrapper.update();
 
     expect(
-      wrapper
-        .find('NavTabs')
-        .find({children: ['All Events']})
-        .find('Link')
+      wrapper.find('NavTabs').find({children: 'All Events'}).find('Link')
     ).toHaveLength(1);
     expect(wrapper.find('SentryDocumentTitle')).toHaveLength(1);
     expect(wrapper.find('SearchBar')).toHaveLength(1);