Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Onboarding] [Stack] Add Onboarding experience into Stack #204351

Open
wants to merge 42 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
b65c7f9
WIP
joemcelroy Dec 12, 2024
8df5aa2
remove search_index tests
joemcelroy Dec 13, 2024
70d8617
FTR tests
joemcelroy Dec 13, 2024
a89b6c1
the create index view when in search solution
joemcelroy Dec 13, 2024
66c2302
updates to ftrs
joemcelroy Dec 16, 2024
a5f5f6d
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine Dec 16, 2024
c03809c
Merge branch 'main' of github.com:elastic/kibana into onboarding-stac…
yansavitski Dec 16, 2024
d30e044
Fix use search nav after recent updates
yansavitski Dec 16, 2024
1961431
Update solution navigation ftr
yansavitski Dec 17, 2024
748e081
feat(x-pack): Update navigation tree definition and test cases
yansavitski Dec 18, 2024
075bdb4
Merge branch 'main' of github.com:elastic/kibana into onboarding-stac…
yansavitski Dec 18, 2024
67c64a4
Merge branch 'main' into onboarding-stack-add-plugin
yansavitski Dec 18, 2024
424f7b1
feat(x-pack): Add search navigation plugin dependency
yansavitski Dec 18, 2024
6b5bde9
Merge branch 'onboarding-stack-add-plugin' of github.com:joemcelroy/k…
yansavitski Dec 18, 2024
bc6fc92
Merge branch 'main' into onboarding-stack-add-plugin
yansavitski Dec 18, 2024
9ac52e4
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine Dec 18, 2024
6c1509f
Merge branch 'main' into onboarding-stack-add-plugin
yansavitski Dec 18, 2024
a4054a7
Add translations
yansavitski Dec 18, 2024
03bbccc
Update jest.config.js for enterprise search plugin
yansavitski Dec 18, 2024
fc53ee9
Merge branch 'onboarding-stack-add-plugin' of github.com:joemcelroy/k…
yansavitski Dec 18, 2024
ec3539a
remove unused dependency from plugin setu
yansavitski Dec 19, 2024
ff7dfbe
Add jest coverage ignore patterns for enterprise search components
yansavitski Dec 19, 2024
23e0c8b
Merge branch 'main' of github.com:elastic/kibana into onboarding-stac…
yansavitski Dec 19, 2024
6593c03
Add jest config ignore patterns for enterprise search components
yansavitski Dec 19, 2024
fd20987
Fix error on not used tests files
yansavitski Dec 19, 2024
e3ad0be
Fix error on not used tests files
yansavitski Dec 19, 2024
3555077
Add chrome service mock for jest tests
yansavitski Dec 19, 2024
7e1a07e
Merge branch 'onboarding-stack-add-plugin' of github.com:joemcelroy/k…
yansavitski Dec 19, 2024
9ad5001
Update search sidenav navigation and breadcrumbs
yansavitski Dec 19, 2024
5010e99
Merge branch 'main' of github.com:elastic/kibana into onboarding-stac…
yansavitski Dec 19, 2024
1d6e3f7
fix(test): Update nav.test.tsx for enterprise search management
yansavitski Dec 19, 2024
14a53d4
Merge branch 'main' of github.com:elastic/kibana into onboarding-stac…
yansavitski Dec 27, 2024
af6b879
Remove empty file after merge
yansavitski Dec 27, 2024
befb4b4
Fix FTR common tests
yansavitski Jan 5, 2025
7c37136
Merge branch 'main' of github.com:elastic/kibana into onboarding-stac…
yansavitski Jan 5, 2025
735e3b5
Fix telemetry check
yansavitski Jan 5, 2025
a6f3b8f
Fix indexManagement ftr tests
yansavitski Jan 6, 2025
1df4762
Skip management till other work will done
yansavitski Jan 6, 2025
27da871
Merge branch 'main' of github.com:elastic/kibana into onboarding-stac…
yansavitski Jan 6, 2025
1c028c8
fix(quick_stat): Replace spaces with underscores in generated ID
yansavitski Jan 7, 2025
d293306
fix: update management ftr tests
yansavitski Jan 7, 2025
7405c75
fix: check type
yansavitski Jan 7, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion config/serverless.es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ xpack.cloud.serverless.project_type: search

## Enable the Serverless Search plugin
xpack.serverless.search.enabled: true
xpack.searchIndices.enabled: true

## Set the home route
uiSettings.overrides.defaultRoute: /app/elasticsearch
Expand Down
2 changes: 2 additions & 0 deletions config/serverless.oblt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ xpack.securitySolution.enabled: false
xpack.search.notebooks.enabled: false
xpack.searchPlayground.enabled: false
xpack.searchInferenceEndpoints.enabled: false
xpack.searchIndices.enabled: false


## Fine-tune the observability solution feature privileges. Also, refer to `serverless.yml` for the project-agnostic overrides.
xpack.features.overrides:
Expand Down
1 change: 1 addition & 0 deletions config/serverless.security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ xpack.search.notebooks.enabled: false
xpack.searchPlayground.enabled: false
xpack.searchInferenceEndpoints.enabled: false
xpack.inventory.enabled: false
xpack.searchIndices.enabled: false

## Fine-tune the security solution feature privileges. Also, refer to `serverless.yml` for the project-agnostic overrides.
xpack.features.overrides:
Expand Down
2 changes: 2 additions & 0 deletions src/platform/packages/shared/deeplinks/search/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ export const ENTERPRISE_SEARCH_APPLICATIONS_APP_ID = 'enterpriseSearchApplicatio
export const ENTERPRISE_SEARCH_ANALYTICS_APP_ID = 'enterpriseSearchAnalytics';
export const ENTERPRISE_SEARCH_APPSEARCH_APP_ID = 'appSearch';
export const ENTERPRISE_SEARCH_WORKPLACESEARCH_APP_ID = 'workplaceSearch';
export const SEARCH_INDICES_START_APP_ID = 'elasticsearchStart';
export const SEARCH_INDICES_INDICES_APP_ID = 'elasticsearchIndices';
export const SERVERLESS_ES_APP_ID = 'serverlessElasticsearch';
export const SERVERLESS_ES_CONNECTORS_ID = 'serverlessConnectors';
export const SERVERLESS_ES_WEB_CRAWLERS_ID = 'serverlessWebCrawlers';
Expand Down
2 changes: 2 additions & 0 deletions src/platform/packages/shared/deeplinks/search/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ export {
SEARCH_SEMANTIC_SEARCH,
SEARCH_AI_SEARCH,
ES_SEARCH_PLAYGROUND_ID,
SEARCH_INDICES_START_APP_ID,
SEARCH_INDICES_INDICES_APP_ID,
} from './constants';

export type {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ export const applicationUsageSchema = {
enterpriseSearchContent: commonSchema,
searchInferenceEndpoints: commonSchema,
searchPlayground: commonSchema,
elasticsearchIndices: commonSchema,
elasticsearchStart: commonSchema,
enterpriseSearchAnalytics: commonSchema,
enterpriseSearchApplications: commonSchema,
enterpriseSearchAISearch: commonSchema,
Expand Down
262 changes: 262 additions & 0 deletions src/platform/plugins/shared/telemetry/schema/oss_platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -2360,6 +2360,268 @@
}
}
},
"elasticsearchIndices": {
"properties": {
"appId": {
"type": "keyword",
"_meta": {
"description": "The application being tracked"
}
},
"viewId": {
"type": "keyword",
"_meta": {
"description": "Always `main`"
}
},
"clicks_total": {
"type": "long",
"_meta": {
"description": "General number of clicks in the application since we started counting them"
}
},
"clicks_7_days": {
"type": "long",
"_meta": {
"description": "General number of clicks in the application over the last 7 days"
}
},
"clicks_30_days": {
"type": "long",
"_meta": {
"description": "General number of clicks in the application over the last 30 days"
}
},
"clicks_90_days": {
"type": "long",
"_meta": {
"description": "General number of clicks in the application over the last 90 days"
}
},
"minutes_on_screen_total": {
"type": "float",
"_meta": {
"description": "Minutes the application is active and on-screen since we started counting them."
}
},
"minutes_on_screen_7_days": {
"type": "float",
"_meta": {
"description": "Minutes the application is active and on-screen over the last 7 days"
}
},
"minutes_on_screen_30_days": {
"type": "float",
"_meta": {
"description": "Minutes the application is active and on-screen over the last 30 days"
}
},
"minutes_on_screen_90_days": {
"type": "float",
"_meta": {
"description": "Minutes the application is active and on-screen over the last 90 days"
}
},
"views": {
"type": "array",
"items": {
"properties": {
"appId": {
"type": "keyword",
"_meta": {
"description": "The application being tracked"
}
},
"viewId": {
"type": "keyword",
"_meta": {
"description": "The application view being tracked"
}
},
"clicks_total": {
"type": "long",
"_meta": {
"description": "General number of clicks in the application sub view since we started counting them"
}
},
"clicks_7_days": {
"type": "long",
"_meta": {
"description": "General number of clicks in the active application sub view over the last 7 days"
}
},
"clicks_30_days": {
"type": "long",
"_meta": {
"description": "General number of clicks in the active application sub view over the last 30 days"
}
},
"clicks_90_days": {
"type": "long",
"_meta": {
"description": "General number of clicks in the active application sub view over the last 90 days"
}
},
"minutes_on_screen_total": {
"type": "float",
"_meta": {
"description": "Minutes the application sub view is active and on-screen since we started counting them."
}
},
"minutes_on_screen_7_days": {
"type": "float",
"_meta": {
"description": "Minutes the application is active and on-screen active application sub view over the last 7 days"
}
},
"minutes_on_screen_30_days": {
"type": "float",
"_meta": {
"description": "Minutes the application is active and on-screen active application sub view over the last 30 days"
}
},
"minutes_on_screen_90_days": {
"type": "float",
"_meta": {
"description": "Minutes the application is active and on-screen active application sub view over the last 90 days"
}
}
}
}
}
}
},
"elasticsearchStart": {
"properties": {
"appId": {
"type": "keyword",
"_meta": {
"description": "The application being tracked"
}
},
"viewId": {
"type": "keyword",
"_meta": {
"description": "Always `main`"
}
},
"clicks_total": {
"type": "long",
"_meta": {
"description": "General number of clicks in the application since we started counting them"
}
},
"clicks_7_days": {
"type": "long",
"_meta": {
"description": "General number of clicks in the application over the last 7 days"
}
},
"clicks_30_days": {
"type": "long",
"_meta": {
"description": "General number of clicks in the application over the last 30 days"
}
},
"clicks_90_days": {
"type": "long",
"_meta": {
"description": "General number of clicks in the application over the last 90 days"
}
},
"minutes_on_screen_total": {
"type": "float",
"_meta": {
"description": "Minutes the application is active and on-screen since we started counting them."
}
},
"minutes_on_screen_7_days": {
"type": "float",
"_meta": {
"description": "Minutes the application is active and on-screen over the last 7 days"
}
},
"minutes_on_screen_30_days": {
"type": "float",
"_meta": {
"description": "Minutes the application is active and on-screen over the last 30 days"
}
},
"minutes_on_screen_90_days": {
"type": "float",
"_meta": {
"description": "Minutes the application is active and on-screen over the last 90 days"
}
},
"views": {
"type": "array",
"items": {
"properties": {
"appId": {
"type": "keyword",
"_meta": {
"description": "The application being tracked"
}
},
"viewId": {
"type": "keyword",
"_meta": {
"description": "The application view being tracked"
}
},
"clicks_total": {
"type": "long",
"_meta": {
"description": "General number of clicks in the application sub view since we started counting them"
}
},
"clicks_7_days": {
"type": "long",
"_meta": {
"description": "General number of clicks in the active application sub view over the last 7 days"
}
},
"clicks_30_days": {
"type": "long",
"_meta": {
"description": "General number of clicks in the active application sub view over the last 30 days"
}
},
"clicks_90_days": {
"type": "long",
"_meta": {
"description": "General number of clicks in the active application sub view over the last 90 days"
}
},
"minutes_on_screen_total": {
"type": "float",
"_meta": {
"description": "Minutes the application sub view is active and on-screen since we started counting them."
}
},
"minutes_on_screen_7_days": {
"type": "float",
"_meta": {
"description": "Minutes the application is active and on-screen active application sub view over the last 7 days"
}
},
"minutes_on_screen_30_days": {
"type": "float",
"_meta": {
"description": "Minutes the application is active and on-screen active application sub view over the last 30 days"
}
},
"minutes_on_screen_90_days": {
"type": "float",
"_meta": {
"description": "Minutes the application is active and on-screen active application sub view over the last 90 days"
}
}
}
}
}
}
},
"enterpriseSearchAnalytics": {
"properties": {
"appId": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18215,16 +18215,6 @@
"xpack.enterpriseSearch.nav.relevanceTitle": "Pertinence",
"xpack.enterpriseSearch.nav.searchApplication.contentTitle": "Contenu",
"xpack.enterpriseSearch.nav.searchApplication.docsExplorerTitle": "Explorateur de documents",
"xpack.enterpriseSearch.nav.searchIndicesTitle.nav.connectorsConfigurationLabel": "Configuration",
"xpack.enterpriseSearch.nav.searchIndicesTitle.nav.crawlerConfigurationLabel": "Configuration",
"xpack.enterpriseSearch.nav.searchIndicesTitle.nav.crawlerSchedulingLabel": "Planification",
"xpack.enterpriseSearch.nav.searchIndicesTitle.nav.documentsTitle": "Documents",
"xpack.enterpriseSearch.nav.searchIndicesTitle.nav.domainManagementLabel": "Gérer les domaines",
"xpack.enterpriseSearch.nav.searchIndicesTitle.nav.indexMappingsTitle": "Mappings d'index",
"xpack.enterpriseSearch.nav.searchIndicesTitle.nav.overviewTitle": "Aperçu",
"xpack.enterpriseSearch.nav.searchIndicesTitle.nav.pipelinesLabel": "Pipelines",
"xpack.enterpriseSearch.nav.searchIndicesTitle.nav.schedulingTitle": "Planification",
"xpack.enterpriseSearch.nav.searchIndicesTitle.nav.syncRulesLabel": "Règles de synchronisation",
"xpack.enterpriseSearch.navigation.applicationsSearchApplicationsLinkLabel": "Applications de recherche",
"xpack.enterpriseSearch.navigation.appSearchEnginesLinkLabel": "Moteurs",
"xpack.enterpriseSearch.navigation.contentConnectorsLinkLabel": "Connecteurs",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18074,16 +18074,6 @@
"xpack.enterpriseSearch.nav.homeTitle": "ホーム",
"xpack.enterpriseSearch.nav.searchApplication.contentTitle": "コンテンツ",
"xpack.enterpriseSearch.nav.searchApplication.docsExplorerTitle": "ドキュメントエクスプローラー",
"xpack.enterpriseSearch.nav.searchIndicesTitle.nav.connectorsConfigurationLabel": "構成",
"xpack.enterpriseSearch.nav.searchIndicesTitle.nav.crawlerConfigurationLabel": "構成",
"xpack.enterpriseSearch.nav.searchIndicesTitle.nav.crawlerSchedulingLabel": "スケジュール",
"xpack.enterpriseSearch.nav.searchIndicesTitle.nav.documentsTitle": "ドキュメント",
"xpack.enterpriseSearch.nav.searchIndicesTitle.nav.domainManagementLabel": "ドメインを管理",
"xpack.enterpriseSearch.nav.searchIndicesTitle.nav.indexMappingsTitle": "インデックスマッピング",
"xpack.enterpriseSearch.nav.searchIndicesTitle.nav.overviewTitle": "概要",
"xpack.enterpriseSearch.nav.searchIndicesTitle.nav.pipelinesLabel": "パイプライン",
"xpack.enterpriseSearch.nav.searchIndicesTitle.nav.schedulingTitle": "スケジュール",
"xpack.enterpriseSearch.nav.searchIndicesTitle.nav.syncRulesLabel": "同期ルール",
"xpack.enterpriseSearch.navigation.applicationsSearchApplicationsLinkLabel": "検索アプリケーション",
"xpack.enterpriseSearch.navigation.appSearchEnginesLinkLabel": "エンジン",
"xpack.enterpriseSearch.navigation.contentConnectorsLinkLabel": "コネクター",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17774,16 +17774,6 @@
"xpack.enterpriseSearch.nav.relevanceTitle": "相关性",
"xpack.enterpriseSearch.nav.searchApplication.contentTitle": "内容",
"xpack.enterpriseSearch.nav.searchApplication.docsExplorerTitle": "文档浏览器",
"xpack.enterpriseSearch.nav.searchIndicesTitle.nav.connectorsConfigurationLabel": "配置",
"xpack.enterpriseSearch.nav.searchIndicesTitle.nav.crawlerConfigurationLabel": "配置",
"xpack.enterpriseSearch.nav.searchIndicesTitle.nav.crawlerSchedulingLabel": "正在计划",
"xpack.enterpriseSearch.nav.searchIndicesTitle.nav.documentsTitle": "文档",
"xpack.enterpriseSearch.nav.searchIndicesTitle.nav.domainManagementLabel": "管理域",
"xpack.enterpriseSearch.nav.searchIndicesTitle.nav.indexMappingsTitle": "索引映射",
"xpack.enterpriseSearch.nav.searchIndicesTitle.nav.overviewTitle": "概览",
"xpack.enterpriseSearch.nav.searchIndicesTitle.nav.pipelinesLabel": "管道",
"xpack.enterpriseSearch.nav.searchIndicesTitle.nav.schedulingTitle": "正在计划",
"xpack.enterpriseSearch.nav.searchIndicesTitle.nav.syncRulesLabel": "同步规则",
"xpack.enterpriseSearch.navigation.applicationsSearchApplicationsLinkLabel": "搜索应用程序",
"xpack.enterpriseSearch.navigation.appSearchEnginesLinkLabel": "引擎",
"xpack.enterpriseSearch.navigation.contentConnectorsLinkLabel": "连接器",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import {
applicationServiceMock,
fatalErrorsServiceMock,
httpServiceMock,
chromeServiceMock,
} from '@kbn/core/public/mocks';

import { GlobalFlyout } from '@kbn/es-ui-shared-plugin/public';
Expand Down Expand Up @@ -70,6 +71,7 @@ const appDependencies = {
executionContext: executionContextServiceMock.createStartContract(),
http: httpServiceMock.createSetupContract(),
application: applicationServiceMock.createStartContract(),
chrome: chromeServiceMock.createStartContract(),
fatalErrors: fatalErrorsServiceMock.createSetupContract(),
},
plugins: {
Expand Down Expand Up @@ -105,6 +107,7 @@ const { Provider: KibanaReactContextProvider } = createKibanaReactContext({
uiSettings: uiSettingsServiceMock.createSetupContract(),
settings: settingsServiceMock.createStartContract(),
theme: themeServiceMock.createStartContract(),
chrome: chromeServiceMock.createStartContract(),
kibanaVersion: {
get: () => kibanaVersion,
},
Expand Down
Loading