Skip to content

Commit 0b4a335

Browse files
sphilipsekibanamachineclaude
authored
[Vector DB] New onboarding and home page (elastic#267351)
## Summary This adds an initial onboarding flow for our new Vector DB project type. Key things to look at: - Two short onboarding paths focused on code samples - ES URL and API key visible at all times - Side-nav changes, Discover and Dashboards go under Data Management - Home page with stats - Full-page takeover for chat ### Testing To run this locally: - [Follow the instructions in the EIS script README](https://github.com/elastic/kibana/blob/e3e1f20dd69a19e01cb4330b2a2c6fd0b3df0a92/x-pack/platform/packages/shared/kbn-inference-cli/README.md#eis) to get vault access so you can run the EIS script locally. - Start ES serverless with an elasticsearch project: `yarn es serverless --projectType elasticsearch --clean --kill` and ensure you use the `-E xpack.inference.elastic.url` flag with the value mentioned in the EIS script README - Start Kibana in serverless VectorDB project mode: `yarn serverless vectordb` - Run the EIS script with the command specified in the README ### 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 - [x] 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) - [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) - [x] Review the [backport guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing) and apply applicable `backport:*` labels. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 11de2e9 commit 0b4a335

72 files changed

Lines changed: 3810 additions & 94 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,7 @@ src/platform/packages/shared/deeplinks/observability @elastic/observability-ui
483483
src/platform/packages/shared/deeplinks/search @elastic/search-kibana
484484
src/platform/packages/shared/deeplinks/security @elastic/security-solution
485485
src/platform/packages/shared/deeplinks/shared @elastic/appex-sharedux
486+
src/platform/packages/shared/deeplinks/vectordb @elastic/search-kibana
486487
src/platform/packages/shared/deeplinks/workflows @elastic/workflows-eng
487488
src/platform/packages/shared/deeplinks/workplace_ai @elastic/search-kibana
488489
src/platform/packages/shared/feedback-components @elastic/appex-sharedux
@@ -1362,6 +1363,7 @@ x-pack/solutions/security/test/plugin_functional/plugins/resolver_test @elastic/
13621363
x-pack/solutions/security/test/security_solution_api_integration @elastic/security-detection-engine
13631364
x-pack/solutions/security/test/security_solution_api_integration/config/services/detections_response @elastic/security-detection-engine
13641365
x-pack/solutions/security/test/security_solution_endpoint @elastic/security-defend-workflows
1366+
x-pack/solutions/vectordb/packages/kbn-vectordb-onboarding @elastic/search-kibana
13651367
x-pack/solutions/vectordb/plugins/serverless_vectordb @elastic/search-kibana
13661368
x-pack/solutions/workplaceai/plugins/serverless_workplace_ai @elastic/search-kibana @elastic/workchat-eng
13671369
x-pack/solutions/workplaceai/plugins/workplace_ai_app @elastic/search-kibana @elastic/workchat-eng

.i18nrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@
133133
"searchIndexDocuments": "x-pack/solutions/search/packages/kbn-search-index-documents",
134134
"searchResponseWarnings": "src/platform/packages/shared/kbn-search-response-warnings",
135135
"searchTypes": "src/platform/packages/shared/kbn-search-types",
136+
"vectordbOnboarding": "x-pack/solutions/vectordb/packages/kbn-vectordb-onboarding",
136137
"securitySolutionPackages": [
137138
"x-pack/solutions/security/packages/data-table",
138139
"x-pack/solutions/security/packages/ecs-data-quality-dashboard",

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,7 @@
589589
"@kbn/deeplinks-search": "link:src/platform/packages/shared/deeplinks/search",
590590
"@kbn/deeplinks-security": "link:src/platform/packages/shared/deeplinks/security",
591591
"@kbn/deeplinks-shared": "link:src/platform/packages/shared/deeplinks/shared",
592+
"@kbn/deeplinks-vectordb": "link:src/platform/packages/shared/deeplinks/vectordb",
592593
"@kbn/deeplinks-workflows": "link:src/platform/packages/shared/deeplinks/workflows",
593594
"@kbn/deeplinks-workplace-ai": "link:src/platform/packages/shared/deeplinks/workplace_ai",
594595
"@kbn/default-tracer": "link:src/platform/packages/shared/kbn-default-tracer",
@@ -1247,6 +1248,7 @@
12471248
"@kbn/utils": "link:src/platform/packages/shared/kbn-utils",
12481249
"@kbn/ux-plugin": "link:x-pack/solutions/observability/plugins/ux",
12491250
"@kbn/v8-profiler-examples-plugin": "link:examples/v8_profiler_examples",
1251+
"@kbn/vectordb-onboarding": "link:x-pack/solutions/vectordb/packages/kbn-vectordb-onboarding",
12501252
"@kbn/vis-default-editor-plugin": "link:src/platform/plugins/private/vis_default_editor",
12511253
"@kbn/vis-type-gauge-plugin": "link:src/platform/plugins/private/vis_types/gauge",
12521254
"@kbn/vis-type-heatmap-plugin": "link:src/platform/plugins/private/vis_types/heatmap",

packages/kbn-optimizer/limits.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ pageLoadAssetSize:
170170
serverless: 7412
171171
serverlessObservability: 19104
172172
serverlessSearch: 26287
173-
serverlessVectordb: 4389
173+
serverlessVectordb: 7618
174174
serverlessWorkplaceAI: 4855
175175
sessionView: 47912
176176
share: 64066

src/core/packages/chrome/browser/moon.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ dependsOn:
3131
- '@kbn/deeplinks-fleet'
3232
- '@kbn/deeplinks-shared'
3333
- '@kbn/deeplinks-workplace-ai'
34+
- '@kbn/deeplinks-vectordb'
3435
- '@kbn/projects-solutions-groups'
3536
- '@kbn/deeplinks-workflows'
3637
- '@kbn/deeplinks-agent-builder'

src/core/packages/chrome/browser/src/project_navigation.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ import type { AppId as SecurityApp, DeepLinkId as SecurityLink } from '@kbn/deep
3535
import type { AppId as FleetApp, DeepLinkId as FleetLink } from '@kbn/deeplinks-fleet';
3636
import type { AppId as SharedApp, DeepLinkId as SharedLink } from '@kbn/deeplinks-shared';
3737
import type { WorkplaceAIApp, DeepLinkId as WorkplaceAILink } from '@kbn/deeplinks-workplace-ai';
38+
import type { VectordbApp, DeepLinkId as VectordbLink } from '@kbn/deeplinks-vectordb';
3839
import type { DeepLinkId as AgentBuilderLink } from '@kbn/deeplinks-agent-builder';
3940
import type { AppId as WorkflowsApp, DeepLinkId as WorkflowsLink } from '@kbn/deeplinks-workflows';
4041
import type { KibanaProject } from '@kbn/projects-solutions-groups';
@@ -59,6 +60,7 @@ export type AppId =
5960
| FleetApp
6061
| SharedApp
6162
| WorkplaceAIApp
63+
| VectordbApp
6264
| WorkflowsApp;
6365

6466
/** @public */
@@ -73,6 +75,7 @@ export type AppDeepLinkId =
7375
| FleetLink
7476
| SharedLink
7577
| WorkplaceAILink
78+
| VectordbLink
7679
| AgentBuilderLink
7780
| WorkflowsLink;
7881

src/core/packages/chrome/browser/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"@kbn/deeplinks-fleet",
2727
"@kbn/deeplinks-shared",
2828
"@kbn/deeplinks-workplace-ai",
29+
"@kbn/deeplinks-vectordb",
2930
"@kbn/projects-solutions-groups",
3031
"@kbn/deeplinks-workflows",
3132
"@kbn/deeplinks-agent-builder",
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/*
2+
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
3+
* or more contributor license agreements. Licensed under the "Elastic License
4+
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
5+
* Public License v 1"; you may not use this file except in compliance with, at
6+
* your election, the "Elastic License 2.0", the "GNU Affero General Public
7+
* License v3.0 only", or the "Server Side Public License, v 1".
8+
*/
9+
10+
export const VECTORDB_APP_ID = 'vectordb';
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/*
2+
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
3+
* or more contributor license agreements. Licensed under the "Elastic License
4+
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
5+
* Public License v 1"; you may not use this file except in compliance with, at
6+
* your election, the "Elastic License 2.0", the "GNU Affero General Public
7+
* License v3.0 only", or the "Server Side Public License, v 1".
8+
*/
9+
10+
import type { VECTORDB_APP_ID } from './constants';
11+
12+
export type VectordbApp = typeof VECTORDB_APP_ID;
13+
14+
export type VectordbLinkId = 'tutorials';
15+
16+
export type DeepLinkId = VectordbApp | `${VectordbApp}:${VectordbLinkId}`;
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/*
2+
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
3+
* or more contributor license agreements. Licensed under the "Elastic License
4+
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
5+
* Public License v 1"; you may not use this file except in compliance with, at
6+
* your election, the "Elastic License 2.0", the "GNU Affero General Public
7+
* License v3.0 only", or the "Server Side Public License, v 1".
8+
*/
9+
10+
export type { DeepLinkId, VectordbApp } from './deep_links';
11+
export { VECTORDB_APP_ID } from './constants';

0 commit comments

Comments
 (0)