diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/engine/engine_search_preview/engine_search_preview.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/engine/engine_search_preview/engine_search_preview.tsx index e75da0a64792c..ffea55611693e 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/engine/engine_search_preview/engine_search_preview.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/engine/engine_search_preview/engine_search_preview.tsx @@ -18,6 +18,7 @@ import { EuiHorizontalRule, EuiIcon, EuiLink, + EuiPageSection, EuiPanel, EuiPopover, EuiSpacer, @@ -72,6 +73,7 @@ import { ResultsView, Sorting, } from './search_ui_components'; +import { KibanaPageTemplate } from '@kbn/shared-ux-page-kibana-template'; class InternalEngineTransporter implements Transporter { constructor( @@ -304,6 +306,7 @@ export const EngineSearchPreview: React.FC = () => { return ( { ]} pageViewTelemetry={EngineViewTabs.PREVIEW} isLoading={isLoadingEngine} - pageHeader={{ - bottomBorder: false, - pageTitle: ( - - ), - rightSideItems: [ - <> - setShowConfigurationPopover(!showConfigurationPopover)} - /> - , - ], - }} + // pageHeader={{ + // bottomBorder: false, + // pageTitle: ( + // + // ), + // rightSideItems: [ + // <> + // setShowConfigurationPopover(!showConfigurationPopover)} + // /> + // , + // ], + // }} engineName={engineName} > - - - - - - - - - - - - - - - - - - - - - - - - - - - {/* + + + } + rightSideItems={[ + <> + setShowConfigurationPopover(!showConfigurationPopover)} + /> + , + ]} + /> + + + + + + + + + + + + + + + + + + + + + + + + + + + {/* Uncomment when view this API call needed {showAPICallFlyout && lastAPICall && ( @@ -373,7 +396,8 @@ export const EngineSearchPreview: React.FC = () => { /> )} */} - + + ); }; diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/engines/engines_list.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/engines/engines_list.tsx index 1f26c588510ae..7b93214e0af8b 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/engines/engines_list.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/engines/engines_list.tsx @@ -163,7 +163,6 @@ export const EnginesList: React.FC = ({ createEngineFlyoutOpen }) => }), ]} pageHeader={{ - bottomBorder: false, description: ( = ({ children, pageChrome, pageViewTelemetry, engineName, ...pageTemplateProps }) => { const navItems = useEnterpriseSearchEngineNav(engineName, pageTemplateProps.isEmptyState); - const color = useEuiBackgroundColor('subdued'); - pageTemplateProps.pageHeader = { - ...pageTemplateProps.pageHeader, - css: { 'background-color': color }, - }; + + // pageTemplateProps.pageHeader = { + // ...pageTemplateProps.pageHeader, + // css: { 'background-color': color }, + // }; return (