From 291cdb6de23a2464bfe7e311d170765c6292159a Mon Sep 17 00:00:00 2001 From: Kathleen DeRusso Date: Tue, 2 May 2023 16:03:17 -0400 Subject: [PATCH] [Enterprise Search] Remove BA CTA from search application API page (#156378) ## Summary Removes a call to action to connect search applications to behavioral analytics. This will not be supported for 8.8.0. image --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> --- .../engine_connect/search_application_api.tsx | 46 ------------------- 1 file changed, 46 deletions(-) diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/engine/engine_connect/search_application_api.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/engine/engine_connect/search_application_api.tsx index 6934de4051bdb..7e42fa80c11d7 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/engine/engine_connect/search_application_api.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/engine/engine_connect/search_application_api.tsx @@ -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'; @@ -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 = [ @@ -153,48 +149,6 @@ export const SearchApplicationAPI = () => { }), children: , }, - { - title: i18n.translate('xpack.enterpriseSearch.content.searchApplication.api.step4.title', { - defaultMessage: '(Optional) Power up your analytics', - }), - children: ( - <> - -

- {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.', - })} -

-
- - - - - 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', - } - )} - - - - - ), - }, ]; return (