[APM] removing fast filter Try it badge (#189264)

<img width="410" alt="Screenshot 2024-07-26 at 11 06 07"
src="https://github.com/user-attachments/assets/4111b9f3-d44a-44ca-9ba6-42fcf9e63bd8">
This commit is contained in:
Cauê Marcondes 2024-07-29 12:34:40 +01:00 committed by GitHub
parent 587be2709e
commit 3dafea8608
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 17 deletions

View file

@ -124,7 +124,6 @@ describe('Service inventory', () => {
cy.get('[data-test-subj="tableSearchInput"]').should('not.exist');
cy.contains('Enable fast filter').click();
cy.get('[data-test-subj="tableSearchInput"]').should('exist');
cy.contains('Try it').should('not.exist');
cy.contains('opbeans-node');
cy.contains('opbeans-java');
cy.contains('opbeans-rum');
@ -137,7 +136,6 @@ describe('Service inventory', () => {
cy.contains('opbeans-java');
cy.contains('opbeans-rum');
cy.contains('Disable fast filter').click();
cy.contains('Try it').should('exist');
cy.get('[data-test-subj="tableSearchInput"]').should('not.exist');
});
});

View file

@ -5,7 +5,6 @@
* 2.0.
*/
import {
EuiBetaBadge,
EuiButtonIcon,
EuiFlexGroup,
EuiFlexItem,
@ -52,19 +51,6 @@ export function TryItButton({
return null;
}
function TryItBadge() {
return (
<EuiFlexItem grow={false}>
<EuiBetaBadge
color="accent"
label={i18n.translate('xpack.apm.tryIt.betaBadgeLabel', {
defaultMessage: 'Try it',
})}
/>
</EuiFlexItem>
);
}
function PromoLabel() {
if (!promoLabel) {
return null;
@ -198,7 +184,6 @@ export function TryItButton({
return (
<EuiFlexGroup gutterSize="s" alignItems="center">
{isFeatureEnabled ? null : <TryItBadge />}
<TechnicalPreviewBadge icon="beaker" />
{isFeatureEnabled ? null : <PromoLabel />}
<Link />