Skip to content

Commit

Permalink
[Enterprise Search] Remove BA CTA from search application API page (e…
Browse files Browse the repository at this point in the history
…lastic#156378)

## Summary

Removes a call to action to connect search applications to behavioral
analytics. This will not be supported for 8.8.0.

<img width="1278" alt="image"
src="https://user-images.githubusercontent.com/63422879/235670262-c537f790-6d75-40c1-96a8-d7a21473b30b.png">

---------

Co-authored-by: kibanamachine <[email protected]>
  • Loading branch information
kderusso and kibanamachine authored May 2, 2023
1 parent f0b75b3 commit 291cdb6
Showing 1 changed file with 0 additions and 46 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,9 @@ import {
} from '@elastic/eui';
import { i18n } from '@kbn/i18n';

import { ANALYTICS_PLUGIN } from '../../../../../../common/constants';
import { COLLECTION_INTEGRATE_PATH } from '../../../../analytics/routes';
import { CloudDetails, useCloudDetails } from '../../../../shared/cloud_details/cloud_details';
import { decodeCloudId } from '../../../../shared/decode_cloud_id/decode_cloud_id';
import { docLinks } from '../../../../shared/doc_links';
import { generateEncodedPath } from '../../../../shared/encode_path_params';
import { KibanaLogic } from '../../../../shared/kibana';

import { EngineViewLogic } from '../engine_view_logic';
Expand All @@ -46,7 +43,6 @@ export const SearchApplicationAPI = () => {
const { engineName } = useValues(EngineViewLogic);
const { isGenerateModalOpen } = useValues(EngineApiLogic);
const { openGenerateModal, closeGenerateModal } = useActions(EngineApiLogic);
const { navigateToUrl } = useValues(KibanaLogic);
const cloudContext = useCloudDetails();

const steps = [
Expand Down Expand Up @@ -153,48 +149,6 @@ export const SearchApplicationAPI = () => {
}),
children: <EngineApiIntegrationStage />,
},
{
title: i18n.translate('xpack.enterpriseSearch.content.searchApplication.api.step4.title', {
defaultMessage: '(Optional) Power up your analytics',
}),
children: (
<>
<EuiText>
<p>
{i18n.translate('xpack.enterpriseSearch.content.searchApplication.api.step4.copy', {
defaultMessage:
'Your search application provides basic analytics data as part of this installation. To receive more granular and custom metrics, integrate our Behavioral Analytics script on your platform.',
})}
</p>
</EuiText>
<EuiSpacer size="l" />
<EuiFlexGroup>
<EuiFlexItem grow={false}>
<EuiButton
data-telemetry-id="entSearchContent-searchApplications-api-step4-learnHowLink"
onClick={() =>
navigateToUrl(
generateEncodedPath(`${ANALYTICS_PLUGIN.URL}${COLLECTION_INTEGRATE_PATH}`, {
id: engineName,
}),
{ shouldNotCreateHref: true }
)
}
iconSide="left"
iconType="popout"
>
{i18n.translate(
'xpack.enterpriseSearch.content.searchApplication.api.step4.learnHowLink',
{
defaultMessage: 'Learn how',
}
)}
</EuiButton>
</EuiFlexItem>
</EuiFlexGroup>
</>
),
},
];

return (
Expand Down

0 comments on commit 291cdb6

Please sign in to comment.