[Onboarding] Make navigation consistent on stack (#218364)

## Summary

The navigation differs slightly between Serverless and Stack. To ensure
consistency, this PR introduces the following changes to Stack.

- `Dev Tools` has been moved to `Build` on top of Playground
- `Content` has been updated to `Data`
- `Kibana` has been renamed to `Analyze`
-  Reorder the sections in Serverless to match the order used in Stack

### Stack
<img width="1024" alt="Screenshot 2025-04-16 at 4 58 41 PM"
src="https://github.com/user-attachments/assets/6eaac498-b423-4cc3-a524-2dfd586f1b04"
/>


### Serverless 
<img width="935" alt="Screenshot 2025-04-16 at 2 21 44 PM"
src="https://github.com/user-attachments/assets/5c3a2fc4-d277-4d47-92ab-d97850b79978"
/>




### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

### Identify risks

Does this PR introduce any risks? For example, consider risks like hard
to test bugs, performance regression, potential of data loss.

Describe the risk, its severity, and mitigation for each identified
risk. Invite stakeholders and evaluate how to proceed before merging.

- [ ] [See some risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
- [ ] ...
This commit is contained in:
Saikat Sarkar 2025-04-17 18:18:30 -06:00 committed by GitHub
parent 5667c6cc43
commit da5e8cc6e9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
31 changed files with 127 additions and 147 deletions

View file

@ -17002,7 +17002,6 @@
"xpack.enterpriseSearch.content.connectors.overview.nativeCloudCallout.title": "Les connecteurs gérés par Elastic ne sont plus acceptés",
"xpack.enterpriseSearch.content.crawlers.breadcrumb": "Robots d'indexation",
"xpack.enterpriseSearch.content.crawlers.deleteModal.title": "Supprimer {connectorCount} robot d'indexation ?",
"xpack.enterpriseSearch.content.description": "Enterprise Search offre un certain nombre de moyens de rendre vos données facilement interrogeables. Vous pouvez choisir entre le robot d'indexation, les indices Elasticsearch, l'API, les téléchargements directs ou les connecteurs tiers.",
"xpack.enterpriseSearch.content.index.connector.filtering.successToastRules.title": "Règles de synchronisation mises à jour",
"xpack.enterpriseSearch.content.index.connector.filteringRules.regExError": "La valeur doit être une expression régulière",
"xpack.enterpriseSearch.content.index.connector.syncRules.advancedFiltersDescription": "Ces règles s'appliquent avant l'obtention des données auprès de la source de données.",
@ -17271,7 +17270,6 @@
"xpack.enterpriseSearch.content.ml_inference.text_expansion": "Elastic Learned Sparse Encoder (ELSER)",
"xpack.enterpriseSearch.content.ml_inference.zero_shot_classification": "Classification de texte Zero-Shot",
"xpack.enterpriseSearch.content.nameAndDescription.name.error.empty": "Le nom du connecteur ne peut pas être vide",
"xpack.enterpriseSearch.content.navTitle": "Contenu",
"xpack.enterpriseSearch.content.newConnector.newConnectorTemplate.createIndex.buttonText": "Créer un connecteur",
"xpack.enterpriseSearch.content.newConnector.newConnectorTemplate.formTitle": "Créer un connecteur",
"xpack.enterpriseSearch.content.newConnector.newConnectorTemplate.learnMoreConnectors.linkText": "En savoir plus sur les connecteurs",
@ -17648,7 +17646,6 @@
"xpack.enterpriseSearch.nav.analyticsCollections.overviewTitle": "Aperçu",
"xpack.enterpriseSearch.nav.applications.searchApplications.connectTitle": "Connecter",
"xpack.enterpriseSearch.nav.applicationsTitle": "Développer",
"xpack.enterpriseSearch.nav.contentTitle": "Contenu",
"xpack.enterpriseSearch.nav.homeTitle": "Accueil",
"xpack.enterpriseSearch.nav.relevanceTitle": "Pertinence",
"xpack.enterpriseSearch.nav.searchApplication.contentTitle": "Contenu",
@ -17671,7 +17668,6 @@
"xpack.enterpriseSearch.overview.deploymentDetails.copyButtonAriaLabel": "Copier dans le presse-papiers",
"xpack.enterpriseSearch.overview.deploymentDetails.copyToClipboard": "Copier dans le presse-papiers",
"xpack.enterpriseSearch.overview.deploymentDetails.description": "Envoyez des données à Elastic à partir de vos applications en référençant votre déploiement et les informations Elasticsearch.",
"xpack.enterpriseSearch.overview.description": "Créez des expériences de recherche à l'aide d'un ensemble élaboré d'API et d'outils.",
"xpack.enterpriseSearch.overview.elasticsearchCard.button": "Démarrer",
"xpack.enterpriseSearch.overview.elasticsearchCard.description": "Concevez et créez des applications de recherche performantes et pertinentes ou des implémentations de recherche à grande échelle directement dans Elasticsearch",
"xpack.enterpriseSearch.overview.elasticsearchCard.heading": "Lancez-vous avec Elasticsearch",
@ -17689,7 +17685,6 @@
"xpack.enterpriseSearch.overview.gettingStarted.searchQuery.title": "Créer votre première requête de recherche",
"xpack.enterpriseSearch.overview.gettingStarted.testConnection.description": "Envoyez une requête de test pour confirmer que votre client de langage et votre instance Elasticsearch sont opérationnels.",
"xpack.enterpriseSearch.overview.gettingStarted.testConnection.title": "Tester votre connexion",
"xpack.enterpriseSearch.overview.navTitle": "Aperçu",
"xpack.enterpriseSearch.pageTemplate.endpointsButtonLabel": "Points de terminaison et clés d'API",
"xpack.enterpriseSearch.passwordLabel": "Mot de passe",
"xpack.enterpriseSearch.pipeline.title": "Transformer et enrichir vos données",
@ -17927,10 +17922,8 @@
"xpack.enterpriseSearch.searchIndexProvider.type.name": "Index",
"xpack.enterpriseSearch.searchNav.build": "Développer",
"xpack.enterpriseSearch.searchNav.build.searchApplications": "Applications de recherche",
"xpack.enterpriseSearch.searchNav.content": "Contenu",
"xpack.enterpriseSearch.searchNav.devTools": "Outils de développement",
"xpack.enterpriseSearch.searchNav.headerSolutionSwitcher.searchSolutionTitle": "Elasticsearch",
"xpack.enterpriseSearch.searchNav.kibana": "Kibana",
"xpack.enterpriseSearch.searchNav.management": "Gestion",
"xpack.enterpriseSearch.searchNav.management.trainedModels": "Modèles entraînés",
"xpack.enterpriseSearch.searchNav.mngt": "Gestion de la Suite",

View file

@ -16980,7 +16980,6 @@
"xpack.enterpriseSearch.content.connectors.overview.nativeCloudCallout.title": "Elasticマネージドコネクターはサポートされていません",
"xpack.enterpriseSearch.content.crawlers.breadcrumb": "Webクローラー",
"xpack.enterpriseSearch.content.crawlers.deleteModal.title": "\"{connectorCount}\"クローラーを削除しますか?",
"xpack.enterpriseSearch.content.description": "エンタープライズ サーチでは、さまざまな方法で簡単にデータを検索可能にできます。Webクローラー、Elasticsearchインデックス、API、直接アップロード、サードパーティコネクターから選択します。",
"xpack.enterpriseSearch.content.index.connector.filtering.successToastRules.title": "同期ルールが更新されました",
"xpack.enterpriseSearch.content.index.connector.filteringRules.regExError": "値は正規表現にしてください",
"xpack.enterpriseSearch.content.index.connector.syncRules.advancedFiltersDescription": "これらのルールは、データがデータソースから取得される前に適用されます。",
@ -17249,7 +17248,6 @@
"xpack.enterpriseSearch.content.ml_inference.text_expansion": "Elastic Learned Sparse EncoderELSER",
"xpack.enterpriseSearch.content.ml_inference.zero_shot_classification": "ゼロショットテキスト分類",
"xpack.enterpriseSearch.content.nameAndDescription.name.error.empty": "コネクター名を空にすることはできません",
"xpack.enterpriseSearch.content.navTitle": "コンテンツ",
"xpack.enterpriseSearch.content.newConnector.newConnectorTemplate.createIndex.buttonText": "コネクターを作成",
"xpack.enterpriseSearch.content.newConnector.newConnectorTemplate.formTitle": "コネクターを作成する",
"xpack.enterpriseSearch.content.newConnector.newConnectorTemplate.learnMoreConnectors.linkText": "コネクターの詳細",
@ -17626,7 +17624,6 @@
"xpack.enterpriseSearch.nav.analyticsCollections.overviewTitle": "概要",
"xpack.enterpriseSearch.nav.applications.searchApplications.connectTitle": "接続",
"xpack.enterpriseSearch.nav.applicationsTitle": "ビルド",
"xpack.enterpriseSearch.nav.contentTitle": "コンテンツ",
"xpack.enterpriseSearch.nav.homeTitle": "ホーム",
"xpack.enterpriseSearch.nav.searchApplication.contentTitle": "コンテンツ",
"xpack.enterpriseSearch.nav.searchApplication.docsExplorerTitle": "ドキュメントエクスプローラー",
@ -17648,7 +17645,6 @@
"xpack.enterpriseSearch.overview.deploymentDetails.copyButtonAriaLabel": "クリップボードにコピー",
"xpack.enterpriseSearch.overview.deploymentDetails.copyToClipboard": "クリップボードにコピー",
"xpack.enterpriseSearch.overview.deploymentDetails.description": "デプロイとElasticsearch情報を参照し、アプリケーションのデータをElasticに送信します。",
"xpack.enterpriseSearch.overview.description": "厳選されたAPIとツールを使用して検索エクスペリエンスを作成します。",
"xpack.enterpriseSearch.overview.elasticsearchCard.button": "使ってみる",
"xpack.enterpriseSearch.overview.elasticsearchCard.description": "Elasticsearchで直接、パフォーマンスと関連性が高い、検索対応アプリケーションまたは大規模検索実装を設計して構築",
"xpack.enterpriseSearch.overview.elasticsearchCard.heading": "Elasticsearchをはじめよう",
@ -17666,7 +17662,6 @@
"xpack.enterpriseSearch.overview.gettingStarted.searchQuery.title": "最初の検索クエリーを作成",
"xpack.enterpriseSearch.overview.gettingStarted.testConnection.description": "テストリクエストを送信して、言語クライアントとElasticsearchインスタンスが起動し、実行中であることを確認してください。",
"xpack.enterpriseSearch.overview.gettingStarted.testConnection.title": "接続をテスト",
"xpack.enterpriseSearch.overview.navTitle": "概要",
"xpack.enterpriseSearch.pageTemplate.endpointsButtonLabel": "エンドポイントとAPIキー",
"xpack.enterpriseSearch.passwordLabel": "パスワード",
"xpack.enterpriseSearch.pipeline.title": "データの変換とエンリッチ",
@ -17903,10 +17898,8 @@
"xpack.enterpriseSearch.searchIndexProvider.type.name": "インデックス",
"xpack.enterpriseSearch.searchNav.build": "ビルド",
"xpack.enterpriseSearch.searchNav.build.searchApplications": "検索アプリケーション",
"xpack.enterpriseSearch.searchNav.content": "コンテンツ",
"xpack.enterpriseSearch.searchNav.devTools": "開発ツール",
"xpack.enterpriseSearch.searchNav.headerSolutionSwitcher.searchSolutionTitle": "Elasticsearch",
"xpack.enterpriseSearch.searchNav.kibana": "Kibana",
"xpack.enterpriseSearch.searchNav.management": "管理",
"xpack.enterpriseSearch.searchNav.management.trainedModels": "学習済みモデル",
"xpack.enterpriseSearch.searchNav.mngt": "スタック管理",

View file

@ -17018,7 +17018,6 @@
"xpack.enterpriseSearch.content.connectors.overview.nativeCloudCallout.title": "不再支持 Elastic 托管连接器",
"xpack.enterpriseSearch.content.crawlers.breadcrumb": "网络爬虫",
"xpack.enterpriseSearch.content.crawlers.deleteModal.title": "删除 {connectorCount} 个网络爬虫?",
"xpack.enterpriseSearch.content.description": "Enterprise Search 提供了各种方法以便您轻松搜索数据。从网络爬虫、Elasticsearch 索引、API、直接上传或第三方连接器中选择。",
"xpack.enterpriseSearch.content.index.connector.filtering.successToastRules.title": "同步规则已更新",
"xpack.enterpriseSearch.content.index.connector.filteringRules.regExError": "值应为正则表达式",
"xpack.enterpriseSearch.content.index.connector.syncRules.advancedFiltersDescription": "从数据源获取数据之前,这些规则适用。",
@ -17287,7 +17286,6 @@
"xpack.enterpriseSearch.content.ml_inference.text_expansion": "Elastic Learned Sparse EncodeR (ELSER)",
"xpack.enterpriseSearch.content.ml_inference.zero_shot_classification": "Zero-Shot 文本分类",
"xpack.enterpriseSearch.content.nameAndDescription.name.error.empty": "连接器名称不能为空",
"xpack.enterpriseSearch.content.navTitle": "内容",
"xpack.enterpriseSearch.content.newConnector.newConnectorTemplate.createIndex.buttonText": "创建连接器",
"xpack.enterpriseSearch.content.newConnector.newConnectorTemplate.formTitle": "创建连接器",
"xpack.enterpriseSearch.content.newConnector.newConnectorTemplate.learnMoreConnectors.linkText": "详细了解连接器",
@ -17664,7 +17662,6 @@
"xpack.enterpriseSearch.nav.analyticsCollections.overviewTitle": "概览",
"xpack.enterpriseSearch.nav.applications.searchApplications.connectTitle": "连接",
"xpack.enterpriseSearch.nav.applicationsTitle": "构建",
"xpack.enterpriseSearch.nav.contentTitle": "内容",
"xpack.enterpriseSearch.nav.homeTitle": "主页",
"xpack.enterpriseSearch.nav.relevanceTitle": "相关性",
"xpack.enterpriseSearch.nav.searchApplication.contentTitle": "内容",
@ -17687,7 +17684,6 @@
"xpack.enterpriseSearch.overview.deploymentDetails.copyButtonAriaLabel": "复制到剪贴板",
"xpack.enterpriseSearch.overview.deploymentDetails.copyToClipboard": "复制到剪贴板",
"xpack.enterpriseSearch.overview.deploymentDetails.description": "通过引用部署和 Elasticsearch 信息,将数据从应用程序发送到 Elastic。",
"xpack.enterpriseSearch.overview.description": "使用一组优化的 API 和工具打造搜索体验。",
"xpack.enterpriseSearch.overview.elasticsearchCard.button": "开始使用",
"xpack.enterpriseSearch.overview.elasticsearchCard.description": "直接在 Elasticsearch 中设计并构建由相关搜索提供支持的高性能应用程序或大规模搜索实现",
"xpack.enterpriseSearch.overview.elasticsearchCard.heading": "Elasticsearch 入门",
@ -17705,7 +17701,6 @@
"xpack.enterpriseSearch.overview.gettingStarted.searchQuery.title": "构建您的首个搜索查询",
"xpack.enterpriseSearch.overview.gettingStarted.testConnection.description": "发送测试请求,以确认您的语言客户端和 Elasticsearch 实例已启动并正在运行。",
"xpack.enterpriseSearch.overview.gettingStarted.testConnection.title": "测试您的连接",
"xpack.enterpriseSearch.overview.navTitle": "概览",
"xpack.enterpriseSearch.pageTemplate.endpointsButtonLabel": "终端和 API 密钥",
"xpack.enterpriseSearch.passwordLabel": "密码",
"xpack.enterpriseSearch.pipeline.title": "转换和扩充数据",
@ -17943,10 +17938,8 @@
"xpack.enterpriseSearch.searchIndexProvider.type.name": "索引",
"xpack.enterpriseSearch.searchNav.build": "构建",
"xpack.enterpriseSearch.searchNav.build.searchApplications": "搜索应用程序",
"xpack.enterpriseSearch.searchNav.content": "内容",
"xpack.enterpriseSearch.searchNav.devTools": "开发工具",
"xpack.enterpriseSearch.searchNav.headerSolutionSwitcher.searchSolutionTitle": "Elasticsearch",
"xpack.enterpriseSearch.searchNav.kibana": "Kibana",
"xpack.enterpriseSearch.searchNav.management": "管理",
"xpack.enterpriseSearch.searchNav.management.trainedModels": "已训练模型",
"xpack.enterpriseSearch.searchNav.mngt": "Stack Management",

View file

@ -34,26 +34,26 @@ export const ENTERPRISE_SEARCH_PRODUCT_NAME = i18n.translate('xpack.enterpriseSe
export { SEARCH_INDICES_START, SEARCH_INDICES };
export const ENTERPRISE_SEARCH_OVERVIEW_PLUGIN = {
export const ENTERPRISE_SEARCH_HOME_PLUGIN = {
ID: ENTERPRISE_SEARCH_APP_ID,
NAME: SEARCH_PRODUCT_NAME,
NAV_TITLE: i18n.translate('xpack.enterpriseSearch.overview.navTitle', {
defaultMessage: 'Overview',
NAV_TITLE: i18n.translate('xpack.enterpriseSearch.home.navTitle', {
defaultMessage: 'Home',
}),
DESCRIPTION: i18n.translate('xpack.enterpriseSearch.overview.description', {
DESCRIPTION: i18n.translate('xpack.enterpriseSearch.home.description', {
defaultMessage: 'Create search experiences with a refined set of APIs and tools.',
}),
URL: '/app/elasticsearch/overview',
LOGO: 'logoElasticsearch',
};
export const ENTERPRISE_SEARCH_CONTENT_PLUGIN = {
export const ENTERPRISE_SEARCH_DATA_PLUGIN = {
ID: ENTERPRISE_SEARCH_CONTENT_APP_ID,
NAME: SEARCH_PRODUCT_NAME,
NAV_TITLE: i18n.translate('xpack.enterpriseSearch.content.navTitle', {
defaultMessage: 'Content',
NAV_TITLE: i18n.translate('xpack.enterpriseSearch.data.navTitle', {
defaultMessage: 'Data',
}),
DESCRIPTION: i18n.translate('xpack.enterpriseSearch.content.description', {
DESCRIPTION: i18n.translate('xpack.enterpriseSearch.data.description', {
defaultMessage:
'Enterprise search offers a number of ways to easily make your data searchable. Choose from the web crawler, Elasticsearch indices, API, direct uploads, or thrid party connectors.', // TODO: Make sure this content is correct.
}),

View file

@ -8,14 +8,14 @@
import type { LocatorDefinition } from '@kbn/share-plugin/common';
import type { SerializableRecord } from '@kbn/utility-types';
import { CREATE_NEW_INDEX_URL, ENTERPRISE_SEARCH_CONTENT_PLUGIN } from '../constants';
import { CREATE_NEW_INDEX_URL, ENTERPRISE_SEARCH_DATA_PLUGIN } from '../constants';
export type CreateIndexLocatorParams = SerializableRecord;
export class CreateIndexLocatorDefinition implements LocatorDefinition<CreateIndexLocatorParams> {
public readonly getLocation = async () => {
return {
app: ENTERPRISE_SEARCH_CONTENT_PLUGIN.ID,
app: ENTERPRISE_SEARCH_DATA_PLUGIN.ID,
path: CREATE_NEW_INDEX_URL,
state: {},
};

View file

@ -36,7 +36,7 @@ import { FormattedMessage } from '@kbn/i18n-react';
import { FieldIcon } from '@kbn/react-field';
import { ENTERPRISE_SEARCH_CONTENT_PLUGIN } from '../../../../../common/constants';
import { ENTERPRISE_SEARCH_DATA_PLUGIN } from '../../../../../common/constants';
import { SchemaField } from '../../../../../common/types/search_applications';
import { SEARCH_INDEX_TAB_PATH } from '../../../enterprise_search_content/routes';
@ -62,7 +62,7 @@ const SchemaFieldDetails: React.FC<{ schemaField: SchemaField }> = ({ schemaFiel
),
render: (name: string) => (
<EuiLinkTo
to={`${ENTERPRISE_SEARCH_CONTENT_PLUGIN.URL}${generateEncodedPath(SEARCH_INDEX_TAB_PATH, {
to={`${ENTERPRISE_SEARCH_DATA_PLUGIN.URL}${generateEncodedPath(SEARCH_INDEX_TAB_PATH, {
indexName: name,
tabId: 'index_mappings',
})}`}

View file

@ -7,7 +7,7 @@
import React from 'react';
import { ENTERPRISE_SEARCH_CONTENT_PLUGIN } from '../../../../../common/constants';
import { ENTERPRISE_SEARCH_DATA_PLUGIN } from '../../../../../common/constants';
import { PageTemplateProps } from '../../../shared/layout';
import { NotFoundPrompt } from '../../../shared/not_found';
import { SendEnterpriseSearchTelemetry } from '../../../shared/telemetry';
@ -17,7 +17,7 @@ export const NotFound: React.FC<PageTemplateProps> = ({ pageChrome = [] }) => {
return (
<EnterpriseSearchContentPageTemplate pageChrome={[...pageChrome, '404']} customPageSections>
<SendEnterpriseSearchTelemetry action="error" metric="not_found" />
<NotFoundPrompt productSupportUrl={ENTERPRISE_SEARCH_CONTENT_PLUGIN.SUPPORT_URL} />
<NotFoundPrompt productSupportUrl={ENTERPRISE_SEARCH_DATA_PLUGIN.SUPPORT_URL} />
</EnterpriseSearchContentPageTemplate>
);
};

View file

@ -135,11 +135,11 @@ export const IndicesTable: React.FC<IndicesTableProps> = ({
}
),
render: (index: ElasticsearchViewIndex) => {
const overviewPath = generateEncodedPath(SEARCH_INDEX_PATH, { indexName: index.name });
const homePath = generateEncodedPath(SEARCH_INDEX_PATH, { indexName: index.name });
const label = ingestionStatusToText(index.ingestionStatus);
return (
<EuiBadgeTo
to={overviewPath}
to={homePath}
label={label}
color={ingestionStatusToColor(index.ingestionStatus)}
/>

View file

@ -17,7 +17,7 @@ import { OPEN_FILE_UPLOAD_LITE_TRIGGER } from '@kbn/file-upload-common';
import { i18n } from '@kbn/i18n';
import {
ENTERPRISE_SEARCH_CONTENT_PLUGIN,
ENTERPRISE_SEARCH_DATA_PLUGIN,
ENTERPRISE_SEARCH_ELASTICSEARCH_URL,
CRAWLER,
} from '../../../../../common/constants';
@ -118,7 +118,7 @@ export const IngestionSelector: React.FC = () => {
}
)}
href={generatePath(
ENTERPRISE_SEARCH_CONTENT_PLUGIN.URL + NEW_INDEX_SELECT_CONNECTOR_PATH
ENTERPRISE_SEARCH_DATA_PLUGIN.URL + NEW_INDEX_SELECT_CONNECTOR_PATH
)}
logo={connectorLogo}
title={i18n.translate('xpack.enterpriseSearch.ingestSelector.method.connectors', {

View file

@ -6,7 +6,7 @@
*/
import { login, checkA11y } from '../../../shared/cypress/commands';
import { overviewPath } from '../../../shared/cypress/routes';
import { homePath } from '../../../shared/cypress/routes';
context('Enterprise Search Overview', () => {
beforeEach(() => {
@ -14,7 +14,7 @@ context('Enterprise Search Overview', () => {
});
it('should contain product cards', () => {
cy.visit(overviewPath);
cy.visit(homePath);
cy.contains('Welcome to Elastic Enterprise Search');
cy.get('[data-test-subj="appSearchProductCard"]')
@ -37,7 +37,7 @@ context('Enterprise Search Overview', () => {
if (err.message.includes('> ResizeObserver loop limit exceeded')) return false;
});
cy.visit(`${overviewPath}/setup_guide`);
cy.visit(`${homePath}/setup_guide`);
cy.contains('Setup Guide');
cy.contains('Add your Enterprise Search host URL to your Kibana configuration');

View file

@ -5,6 +5,6 @@
* 2.0.
*/
export const overviewPath = '/app/elasticsearch/overview';
export const homePath = '/app/elasticsearch/overview';
export const appSearchPath = '/app/enterprise_search/app_search';
export const workplaceSearchPath = '/app/enterprise_search/workplace_search';

View file

@ -5,13 +5,13 @@
* 2.0.
*/
import { ENTERPRISE_SEARCH_OVERVIEW_PLUGIN } from '../../../../common/constants';
import { ENTERPRISE_SEARCH_HOME_PLUGIN } from '../../../../common/constants';
/**
* HACK for base homepage URL, this can be removed and updated to a static
* URL when Search Homepage is no longer feature flagged.
*/
const breadCrumbHome = { url: ENTERPRISE_SEARCH_OVERVIEW_PLUGIN.URL };
const breadCrumbHome = { url: ENTERPRISE_SEARCH_HOME_PLUGIN.URL };
export const getHomeURL = () => breadCrumbHome.url;
export const setBreadcrumbHomeUrl = (url: string) => {
breadCrumbHome.url = url;

View file

@ -12,7 +12,7 @@ import { i18n } from '@kbn/i18n';
import {
ANALYTICS_PLUGIN,
ENTERPRISE_SEARCH_CONTENT_PLUGIN,
ENTERPRISE_SEARCH_DATA_PLUGIN,
ENTERPRISE_SEARCH_PRODUCT_NAME,
AI_SEARCH_PLUGIN,
SEARCH_EXPERIENCES_PLUGIN,
@ -144,7 +144,7 @@ export const useElasticsearchBreadcrumbs = (breadcrumbs: Breadcrumbs = []) =>
export const useEnterpriseSearchContentBreadcrumbs = (breadcrumbs: Breadcrumbs = []) =>
useSearchBreadcrumbs([
{ text: ENTERPRISE_SEARCH_CONTENT_PLUGIN.NAV_TITLE, path: '/' },
{ text: ENTERPRISE_SEARCH_DATA_PLUGIN.NAV_TITLE, path: '/' },
...breadcrumbs,
]);

View file

@ -10,7 +10,7 @@ import { i18n } from '@kbn/i18n';
import {
AI_SEARCH_PLUGIN,
ANALYTICS_PLUGIN,
ENTERPRISE_SEARCH_CONTENT_PLUGIN,
ENTERPRISE_SEARCH_DATA_PLUGIN,
SEARCH_EXPERIENCES_PLUGIN,
SEARCH_PRODUCT_NAME,
SEMANTIC_SEARCH_PLUGIN,
@ -59,7 +59,7 @@ export const semanticSearchTitle = (page: Title = []) =>
generateTitle([...page, SEMANTIC_SEARCH_PLUGIN.NAME]);
export const enterpriseSearchContentTitle = (page: Title = []) =>
generateTitle([...page, ENTERPRISE_SEARCH_CONTENT_PLUGIN.NAME]);
generateTitle([...page, ENTERPRISE_SEARCH_DATA_PLUGIN.NAME]);
export const searchApplicationsTitle = (page: Title = []) =>
generateTitle([

View file

@ -40,10 +40,10 @@ export const buildBaseClassicNavItems = (): ClassicNavItem[] => {
),
});
// Content
// Data
navItems.push({
'data-test-subj': 'searchSideNav-Content',
id: 'content',
'data-test-subj': 'searchSideNav-Data',
id: 'data',
items: [
{
'data-test-subj': 'searchSideNav-Indices',
@ -69,8 +69,8 @@ export const buildBaseClassicNavItems = (): ClassicNavItem[] => {
id: 'crawlers',
},
],
name: i18n.translate('xpack.enterpriseSearch.nav.contentTitle', {
defaultMessage: 'Content',
name: i18n.translate('xpack.enterpriseSearch.nav.dataTitle', {
defaultMessage: 'Data',
}),
});

View file

@ -23,7 +23,7 @@ describe('generateSideNavItems', () => {
enterpriseSearch: {
id: 'enterpriseSearch',
url: '/app/elasticsearch/overview',
title: 'Overview',
title: 'Home',
},
'enterpriseSearchContent:searchIndices': {
id: 'enterpriseSearchContent:searchIndices',
@ -61,7 +61,7 @@ describe('generateSideNavItems', () => {
href: '/app/elasticsearch/overview',
id: 'unit-test',
isSelected: false,
name: 'Overview',
name: 'Home',
onClick: expect.any(Function),
},
]);
@ -91,7 +91,7 @@ describe('generateSideNavItems', () => {
href: '/app/elasticsearch/overview',
id: 'unit-test',
isSelected: false,
name: 'Overview',
name: 'Home',
onClick: expect.any(Function),
},
],

View file

@ -29,8 +29,8 @@ const baseNavItems = [
items: undefined,
}),
{
'data-test-subj': 'searchSideNav-Content',
id: 'content',
'data-test-subj': 'searchSideNav-Data',
id: 'data',
items: [
{
'data-test-subj': 'searchSideNav-Indices',
@ -54,7 +54,7 @@ const baseNavItems = [
name: 'Web Crawlers',
},
],
name: 'Content',
name: 'Data',
},
{
'data-test-subj': 'searchSideNav-Build',

View file

@ -91,16 +91,7 @@ export const getNavigationTreeDefinition = ({
},
link: 'enterpriseSearch',
},
{
getIsActive: ({ pathNameSerialized, prepend }) => {
return pathNameSerialized.startsWith(prepend('/app/dev_tools'));
},
id: 'dev_tools',
link: 'dev_tools',
title: i18n.translate('xpack.enterpriseSearch.searchNav.devTools', {
defaultMessage: 'Dev Tools',
}),
},
{
children: [
{
@ -113,9 +104,9 @@ export const getNavigationTreeDefinition = ({
link: 'dashboards',
},
],
id: 'kibana',
title: i18n.translate('xpack.enterpriseSearch.searchNav.kibana', {
defaultMessage: 'Kibana',
id: 'analyze',
title: i18n.translate('xpack.enterpriseSearch.searchNav.analyze', {
defaultMessage: 'Analyze',
}),
},
{
@ -133,13 +124,23 @@ export const getNavigationTreeDefinition = ({
{ link: 'enterpriseSearchContent:connectors' },
{ link: 'enterpriseSearchContent:webCrawlers' },
],
id: 'content',
title: i18n.translate('xpack.enterpriseSearch.searchNav.content', {
defaultMessage: 'Content',
id: 'data',
title: i18n.translate('xpack.enterpriseSearch.searchNav.data', {
defaultMessage: 'Data',
}),
},
{
children: [
{
getIsActive: ({ pathNameSerialized, prepend }) => {
return pathNameSerialized.startsWith(prepend('/app/dev_tools'));
},
id: 'dev_tools',
link: 'dev_tools',
title: i18n.translate('xpack.enterpriseSearch.searchNav.devTools', {
defaultMessage: 'Dev Tools',
}),
},
{
link: 'searchPlayground',
},

View file

@ -45,8 +45,8 @@ import {
APPLICATIONS_PLUGIN,
ELASTICSEARCH_PLUGIN,
AI_SEARCH_PLUGIN,
ENTERPRISE_SEARCH_CONTENT_PLUGIN,
ENTERPRISE_SEARCH_OVERVIEW_PLUGIN,
ENTERPRISE_SEARCH_DATA_PLUGIN,
ENTERPRISE_SEARCH_HOME_PLUGIN,
SEARCH_EXPERIENCES_PLUGIN,
SEARCH_PRODUCT_NAME,
VECTOR_SEARCH_PLUGIN,
@ -212,14 +212,14 @@ export class EnterpriseSearchPlugin implements Plugin {
const { cloud, share } = plugins;
core.application.register({
appRoute: ENTERPRISE_SEARCH_OVERVIEW_PLUGIN.URL,
appRoute: ENTERPRISE_SEARCH_HOME_PLUGIN.URL,
category: DEFAULT_APP_CATEGORIES.enterpriseSearch,
euiIconType: ENTERPRISE_SEARCH_OVERVIEW_PLUGIN.LOGO,
id: ENTERPRISE_SEARCH_OVERVIEW_PLUGIN.ID,
euiIconType: ENTERPRISE_SEARCH_HOME_PLUGIN.LOGO,
id: ENTERPRISE_SEARCH_HOME_PLUGIN.ID,
mount: async (params: AppMountParameters) => {
const kibanaDeps = await this.getKibanaDeps(core, params, cloud);
const { chrome, http } = kibanaDeps.core;
chrome.docTitle.change(ENTERPRISE_SEARCH_OVERVIEW_PLUGIN.NAME);
chrome.docTitle.change(ENTERPRISE_SEARCH_HOME_PLUGIN.NAME);
await this.getInitialData(http);
const pluginData = this.getPluginData();
@ -232,20 +232,20 @@ export class EnterpriseSearchPlugin implements Plugin {
return renderApp(EnterpriseSearchOverview, kibanaDeps, pluginData);
},
order: 0,
title: ENTERPRISE_SEARCH_OVERVIEW_PLUGIN.NAV_TITLE,
title: ENTERPRISE_SEARCH_HOME_PLUGIN.NAV_TITLE,
visibleIn: ['home', 'kibanaOverview', 'globalSearch', 'sideNav'],
});
core.application.register({
appRoute: ENTERPRISE_SEARCH_CONTENT_PLUGIN.URL,
appRoute: ENTERPRISE_SEARCH_DATA_PLUGIN.URL,
category: DEFAULT_APP_CATEGORIES.enterpriseSearch,
deepLinks: contentLinks,
euiIconType: ENTERPRISE_SEARCH_CONTENT_PLUGIN.LOGO,
id: ENTERPRISE_SEARCH_CONTENT_PLUGIN.ID,
euiIconType: ENTERPRISE_SEARCH_DATA_PLUGIN.LOGO,
id: ENTERPRISE_SEARCH_DATA_PLUGIN.ID,
mount: async (params: AppMountParameters) => {
const kibanaDeps = await this.getKibanaDeps(core, params, cloud);
const { chrome, http } = kibanaDeps.core;
chrome.docTitle.change(ENTERPRISE_SEARCH_CONTENT_PLUGIN.NAME);
chrome.docTitle.change(ENTERPRISE_SEARCH_DATA_PLUGIN.NAME);
await this.getInitialData(http);
const pluginData = this.getPluginData();
@ -258,14 +258,14 @@ export class EnterpriseSearchPlugin implements Plugin {
return renderApp(EnterpriseSearchContent, kibanaDeps, pluginData);
},
order: 1,
title: ENTERPRISE_SEARCH_CONTENT_PLUGIN.NAV_TITLE,
title: ENTERPRISE_SEARCH_DATA_PLUGIN.NAV_TITLE,
visibleIn: [],
});
core.application.register({
appRoute: ELASTICSEARCH_PLUGIN.URL,
category: DEFAULT_APP_CATEGORIES.enterpriseSearch,
euiIconType: ENTERPRISE_SEARCH_OVERVIEW_PLUGIN.LOGO,
euiIconType: ENTERPRISE_SEARCH_HOME_PLUGIN.LOGO,
id: ELASTICSEARCH_PLUGIN.ID,
mount: async (params: AppMountParameters) => {
const kibanaDeps = await this.getKibanaDeps(core, params, cloud);
@ -356,7 +356,7 @@ export class EnterpriseSearchPlugin implements Plugin {
mount: async (params: AppMountParameters) => {
const kibanaDeps = await this.getKibanaDeps(core, params, cloud);
const { chrome, http } = kibanaDeps.core;
chrome.docTitle.change(ENTERPRISE_SEARCH_CONTENT_PLUGIN.NAME);
chrome.docTitle.change(ENTERPRISE_SEARCH_DATA_PLUGIN.NAME);
await this.getInitialData(http);
const pluginData = this.getPluginData();
@ -373,7 +373,7 @@ export class EnterpriseSearchPlugin implements Plugin {
core.application.register({
appRoute: ANALYTICS_PLUGIN.URL,
category: DEFAULT_APP_CATEGORIES.enterpriseSearch,
euiIconType: ENTERPRISE_SEARCH_OVERVIEW_PLUGIN.LOGO,
euiIconType: ENTERPRISE_SEARCH_HOME_PLUGIN.LOGO,
id: ANALYTICS_PLUGIN.ID,
mount: async (params: AppMountParameters) => {
const kibanaDeps = await this.getKibanaDeps(core, params, cloud);
@ -395,7 +395,7 @@ export class EnterpriseSearchPlugin implements Plugin {
core.application.register({
appRoute: SEARCH_EXPERIENCES_PLUGIN.URL,
category: DEFAULT_APP_CATEGORIES.enterpriseSearch,
euiIconType: ENTERPRISE_SEARCH_OVERVIEW_PLUGIN.LOGO,
euiIconType: ENTERPRISE_SEARCH_HOME_PLUGIN.LOGO,
id: SEARCH_EXPERIENCES_PLUGIN.ID,
mount: async (params: AppMountParameters) => {
const kibanaDeps = await this.getKibanaDeps(core, params, cloud);
@ -435,11 +435,11 @@ export class EnterpriseSearchPlugin implements Plugin {
if (plugins.home) {
plugins.home.featureCatalogue.registerSolution({
description: ENTERPRISE_SEARCH_OVERVIEW_PLUGIN.DESCRIPTION,
description: ENTERPRISE_SEARCH_HOME_PLUGIN.DESCRIPTION,
icon: 'logoElasticsearch',
id: ENTERPRISE_SEARCH_OVERVIEW_PLUGIN.ID,
id: ENTERPRISE_SEARCH_HOME_PLUGIN.ID,
order: 100,
path: ENTERPRISE_SEARCH_OVERVIEW_PLUGIN.URL,
path: ENTERPRISE_SEARCH_HOME_PLUGIN.URL,
title: SEARCH_PRODUCT_NAME,
});

View file

@ -18,8 +18,8 @@ import { KibanaFeatureScope } from '@kbn/features-plugin/common';
import { i18n } from '@kbn/i18n';
import {
ENTERPRISE_SEARCH_OVERVIEW_PLUGIN,
ENTERPRISE_SEARCH_CONTENT_PLUGIN,
ENTERPRISE_SEARCH_HOME_PLUGIN,
ENTERPRISE_SEARCH_DATA_PLUGIN,
ELASTICSEARCH_PLUGIN,
ANALYTICS_PLUGIN,
SEARCH_EXPERIENCES_PLUGIN,
@ -107,8 +107,8 @@ export class EnterpriseSearchPlugin implements Plugin<void, void, PluginsSetup,
const config = this.config;
const log = this.logger;
const PLUGIN_IDS = [
ENTERPRISE_SEARCH_OVERVIEW_PLUGIN.ID,
ENTERPRISE_SEARCH_CONTENT_PLUGIN.ID,
ENTERPRISE_SEARCH_HOME_PLUGIN.ID,
ENTERPRISE_SEARCH_DATA_PLUGIN.ID,
ELASTICSEARCH_PLUGIN.ID,
SEARCH_EXPERIENCES_PLUGIN.ID,
VECTOR_SEARCH_PLUGIN.ID,

View file

@ -11,7 +11,7 @@ import { IScopedClusterClient } from '@kbn/core/server';
import type { GlobalSearchProviderContext } from '@kbn/global-search-plugin/server';
import { ENTERPRISE_SEARCH_CONTENT_PLUGIN } from '../../common/constants';
import { ENTERPRISE_SEARCH_DATA_PLUGIN } from '../../common/constants';
import { getConnectorsSearchResultProvider } from './connectors_search_result_provider';
@ -45,7 +45,7 @@ describe('Enterprise Search - connectors search provider', () => {
title: connectorNameMap[name].name,
type: 'Connector',
url: {
path: `${ENTERPRISE_SEARCH_CONTENT_PLUGIN.URL}/connectors/${connectorNameMap[name].id}`,
path: `${ENTERPRISE_SEARCH_DATA_PLUGIN.URL}/connectors/${connectorNameMap[name].id}`,
prependBasePath: true,
},
icon: '/kbn/images/connector.svg',

View file

@ -17,7 +17,7 @@ import { i18n } from '@kbn/i18n';
import { fetchConnectors } from '@kbn/search-connectors';
import { ENTERPRISE_SEARCH_CONTENT_PLUGIN } from '../../common/constants';
import { ENTERPRISE_SEARCH_DATA_PLUGIN } from '../../common/constants';
import { calculateScore } from './calculate_search_score';
@ -43,7 +43,7 @@ export function getConnectorsSearchResultProvider(
defaultMessage: 'Connector',
}),
url: {
path: `${ENTERPRISE_SEARCH_CONTENT_PLUGIN.URL}/connectors/${id}`,
path: `${ENTERPRISE_SEARCH_DATA_PLUGIN.URL}/connectors/${id}`,
prependBasePath: true,
},
};

View file

@ -9,7 +9,7 @@ import { NEVER, lastValueFrom } from 'rxjs';
import { IScopedClusterClient } from '@kbn/core/server';
import { ENTERPRISE_SEARCH_CONTENT_PLUGIN } from '../../common/constants';
import { ENTERPRISE_SEARCH_DATA_PLUGIN } from '../../common/constants';
import { getIndicesSearchResultProvider } from './indices_search_result_provider';
@ -51,7 +51,7 @@ describe('Enterprise Search - indices search provider', () => {
title: 'search-github-api',
type: 'Index',
url: {
path: `${ENTERPRISE_SEARCH_CONTENT_PLUGIN.URL}/search_indices/search-github-api`,
path: `${ENTERPRISE_SEARCH_DATA_PLUGIN.URL}/search_indices/search-github-api`,
prependBasePath: true,
},
icon: '/kbn/images/index.svg',
@ -63,7 +63,7 @@ describe('Enterprise Search - indices search provider', () => {
title: 'search-msft-sql-index',
type: 'Index',
url: {
path: `${ENTERPRISE_SEARCH_CONTENT_PLUGIN.URL}/search_indices/search-msft-sql-index`,
path: `${ENTERPRISE_SEARCH_DATA_PLUGIN.URL}/search_indices/search-msft-sql-index`,
prependBasePath: true,
},
icon: '/kbn/images/index.svg',

View file

@ -14,7 +14,7 @@ import {
} from '@kbn/global-search-plugin/server';
import { i18n } from '@kbn/i18n';
import { ENTERPRISE_SEARCH_CONTENT_PLUGIN } from '../../common/constants';
import { ENTERPRISE_SEARCH_DATA_PLUGIN } from '../../common/constants';
import { getIndexData } from '../lib/indices/utils/get_index_data';
@ -44,7 +44,7 @@ export function getIndicesSearchResultProvider(
defaultMessage: 'Index',
}),
url: {
path: `${ENTERPRISE_SEARCH_CONTENT_PLUGIN.URL}/search_indices/${indexName}`,
path: `${ENTERPRISE_SEARCH_DATA_PLUGIN.URL}/search_indices/${indexName}`,
prependBasePath: true,
},
};

View file

@ -10,7 +10,7 @@ import { TestScheduler } from 'rxjs/testing';
import type { GlobalSearchProviderContext } from '@kbn/global-search-plugin/server';
import { ENTERPRISE_SEARCH_CONTENT_PLUGIN } from '../../common/constants';
import { ENTERPRISE_SEARCH_DATA_PLUGIN } from '../../common/constants';
import { getSearchResultProvider } from './search_result_provider';
@ -74,7 +74,7 @@ describe('Search search provider', () => {
title: 'Customized connector',
type: 'Elasticsearch',
url: {
path: `${ENTERPRISE_SEARCH_CONTENT_PLUGIN.URL}/connectors/select_connector`,
path: `${ENTERPRISE_SEARCH_DATA_PLUGIN.URL}/connectors/select_connector`,
prependBasePath: true,
},
};
@ -86,7 +86,7 @@ describe('Search search provider', () => {
title: 'MongoDB',
type: 'Elasticsearch',
url: {
path: `${ENTERPRISE_SEARCH_CONTENT_PLUGIN.URL}/connectors/select_connector`,
path: `${ENTERPRISE_SEARCH_DATA_PLUGIN.URL}/connectors/select_connector`,
prependBasePath: true,
},
};

View file

@ -12,7 +12,7 @@ import { i18n } from '@kbn/i18n';
import { ConnectorServerSideDefinition } from '@kbn/search-connectors';
import { ConfigType } from '..';
import { ENTERPRISE_SEARCH_CONTENT_PLUGIN, AI_SEARCH_PLUGIN } from '../../common/constants';
import { ENTERPRISE_SEARCH_DATA_PLUGIN, AI_SEARCH_PLUGIN } from '../../common/constants';
type ServiceDefinition =
| ConnectorServerSideDefinition
@ -38,7 +38,7 @@ export function toSearchResult({
serviceType: string;
url?: string;
}) {
const newUrl = `${ENTERPRISE_SEARCH_CONTENT_PLUGIN.URL}/connectors/select_connector`;
const newUrl = `${ENTERPRISE_SEARCH_DATA_PLUGIN.URL}/connectors/select_connector`;
return {
icon: iconPath || 'logoElasticsearch',

View file

@ -14,7 +14,7 @@ import { i18n } from '@kbn/i18n';
import { useKibana } from '../../hooks/use_kibana';
const breadcrumbText = i18n.translate('xpack.searchIndices.breadcrumb', {
defaultMessage: 'Content',
defaultMessage: 'Data',
});
const breadcrumb = {

View file

@ -21,8 +21,8 @@ export const usePageChrome = (docTitle: string, breadcrumbs: ChromeBreadcrumb[])
} else {
const newBreadcrumbs = [
{
text: i18n.translate('xpack.searchIndices.breadcrumbs.content.label', {
defaultMessage: 'Content',
text: i18n.translate('xpack.searchIndices.breadcrumbs.data.label', {
defaultMessage: 'Data',
}),
},
...breadcrumbs,

View file

@ -26,6 +26,24 @@ export const navigationTree = ({ isAppRegistered }: ApplicationStart): Navigatio
isCollapsible: false,
breadcrumbStatus: 'hidden',
children: [
{
id: 'analyze',
title: i18n.translate('xpack.serverlessSearch.nav.analyze', {
defaultMessage: 'Analyze',
}),
spaceBefore: 'm',
children: [
{
link: 'discover',
},
{
link: 'dashboards',
getIsActive: ({ pathNameSerialized, prepend }) => {
return pathNameSerialized.startsWith(prepend('/app/dashboards'));
},
},
],
},
{
id: 'data',
title: i18n.translate('xpack.serverlessSearch.nav.data', {
@ -119,24 +137,6 @@ export const navigationTree = ({ isAppRegistered }: ApplicationStart): Navigatio
},
],
},
{
id: 'analyze',
title: i18n.translate('xpack.serverlessSearch.nav.analyze', {
defaultMessage: 'Analyze',
}),
spaceBefore: 'm',
children: [
{
link: 'discover',
},
{
link: 'dashboards',
getIsActive: ({ pathNameSerialized, prepend }) => {
return pathNameSerialized.startsWith(prepend('/app/dashboards'));
},
},
],
},
{
id: 'otherTools',
title: i18n.translate('xpack.serverlessSearch.nav.otherTools', {

View file

@ -44,7 +44,7 @@ export default function searchSolutionNavigation({
it('renders expected side nav items', async () => {
// Verify all expected top-level links exist
await solutionNavigation.sidenav.expectLinkExists({ text: 'Overview' });
await solutionNavigation.sidenav.expectLinkExists({ text: 'Home' });
await solutionNavigation.sidenav.expectLinkExists({ text: 'Dev Tools' });
await solutionNavigation.sidenav.expectLinkExists({ text: 'Discover' });
await solutionNavigation.sidenav.expectLinkExists({ text: 'Dashboards' });
@ -66,7 +66,7 @@ export default function searchSolutionNavigation({
deepLinkId: 'enterpriseSearch',
});
await solutionNavigation.breadcrumbs.expectBreadcrumbExists({ text: 'Deployment' });
await solutionNavigation.breadcrumbs.expectBreadcrumbExists({ text: 'Content' });
await solutionNavigation.breadcrumbs.expectBreadcrumbExists({ text: 'Data' });
await solutionNavigation.breadcrumbs.expectBreadcrumbExists({ text: 'Index Management' });
await solutionNavigation.breadcrumbs.expectBreadcrumbExists({
text: 'Indices',
@ -95,7 +95,7 @@ export default function searchSolutionNavigation({
await solutionNavigation.sidenav.expectLinkActive({
deepLinkId: 'discover',
});
await solutionNavigation.breadcrumbs.expectBreadcrumbExists({ text: 'Kibana' });
await solutionNavigation.breadcrumbs.expectBreadcrumbExists({ text: 'Analyze' });
await solutionNavigation.breadcrumbs.expectBreadcrumbExists({ text: 'Discover' });
await solutionNavigation.breadcrumbs.expectBreadcrumbExists({
deepLinkId: 'discover',
@ -107,7 +107,7 @@ export default function searchSolutionNavigation({
await solutionNavigation.sidenav.expectLinkActive({
deepLinkId: 'dashboards',
});
await solutionNavigation.breadcrumbs.expectBreadcrumbExists({ text: 'Kibana' });
await solutionNavigation.breadcrumbs.expectBreadcrumbExists({ text: 'Analyze' });
await solutionNavigation.breadcrumbs.expectBreadcrumbExists({ text: 'Dashboards' });
await solutionNavigation.breadcrumbs.expectBreadcrumbExists({
deepLinkId: 'dashboards',
@ -122,7 +122,7 @@ export default function searchSolutionNavigation({
deepLinkId: 'elasticsearchIndexManagement',
});
await solutionNavigation.breadcrumbs.expectBreadcrumbExists({ text: 'Deployment' });
await solutionNavigation.breadcrumbs.expectBreadcrumbExists({ text: 'Content' });
await solutionNavigation.breadcrumbs.expectBreadcrumbExists({ text: 'Data' });
await solutionNavigation.breadcrumbs.expectBreadcrumbExists({ text: 'Index Management' });
await solutionNavigation.breadcrumbs.expectBreadcrumbExists({
text: 'Indices',
@ -134,7 +134,7 @@ export default function searchSolutionNavigation({
await solutionNavigation.sidenav.expectLinkActive({
deepLinkId: 'enterpriseSearchContent:connectors',
});
await solutionNavigation.breadcrumbs.expectBreadcrumbExists({ text: 'Content' });
await solutionNavigation.breadcrumbs.expectBreadcrumbExists({ text: 'Data' });
await solutionNavigation.breadcrumbs.expectBreadcrumbExists({ text: 'Connectors' });
await solutionNavigation.breadcrumbs.expectBreadcrumbExists({
deepLinkId: 'enterpriseSearchContent:connectors',
@ -146,7 +146,7 @@ export default function searchSolutionNavigation({
await solutionNavigation.sidenav.expectLinkActive({
deepLinkId: 'enterpriseSearchContent:webCrawlers',
});
await solutionNavigation.breadcrumbs.expectBreadcrumbExists({ text: 'Content' });
await solutionNavigation.breadcrumbs.expectBreadcrumbExists({ text: 'Data' });
await solutionNavigation.breadcrumbs.expectBreadcrumbExists({ text: 'Web Crawlers' });
await solutionNavigation.breadcrumbs.expectBreadcrumbExists({
deepLinkId: 'enterpriseSearchContent:webCrawlers',
@ -249,10 +249,10 @@ export default function searchSolutionNavigation({
'search_project_nav',
'enterpriseSearch',
'dev_tools',
'kibana',
'analyze',
'discover',
'dashboards',
'content',
'data',
'elasticsearchIndexManagement',
'enterpriseSearchContent:connectors',
'enterpriseSearchContent:webCrawlers',

View file

@ -45,7 +45,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
deepLinkId: 'enterpriseSearch',
});
// check the Content > Indices section
// check the Data > Indices section
await solutionNavigation.sidenav.clickLink({
deepLinkId: 'elasticsearchIndexManagement',
});
@ -53,7 +53,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
deepLinkId: 'elasticsearchIndexManagement',
});
await solutionNavigation.breadcrumbs.expectBreadcrumbExists({ text: 'Deployment' });
await solutionNavigation.breadcrumbs.expectBreadcrumbExists({ text: 'Content' });
await solutionNavigation.breadcrumbs.expectBreadcrumbExists({ text: 'Data' });
await solutionNavigation.breadcrumbs.expectBreadcrumbExists({ text: 'Index Management' });
await solutionNavigation.breadcrumbs.expectBreadcrumbExists({
text: 'Indices',
@ -63,7 +63,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
await solutionNavigation.sidenav.openSection('project_settings_project_nav');
await solutionNavigation.sidenav.clickLink({ navId: 'stack_management' });
await solutionNavigation.sidenav.expectLinkActive({ navId: 'stack_management' });
await solutionNavigation.breadcrumbs.expectBreadcrumbExists({ text: 'Content' });
await solutionNavigation.breadcrumbs.expectBreadcrumbExists({ text: 'Data' });
// navigate back to the home page using header logo
await solutionNavigation.clickLogo();
@ -71,7 +71,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
deepLinkId: 'enterpriseSearch',
});
await solutionNavigation.breadcrumbs.expectBreadcrumbExists({
text: 'Content',
text: 'Data',
});
await expectNoPageReload();