-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GenAI][Integrations] UI for the custom integration creation with AI (#…
…186304) ## Summary This ticket is the initial implementation for the UI side for the AI-driven custom integration creation. This PR only contains the implementation of the UI, due to the tight timing it will not include tests, everything will be tested manually for 8.15 FF. We'll implement the tests later. #### Enable Feature The new integration assistant plugin is disabled by default, to enable it: ``` xpack.integration_assistant.enabled: true ``` #### Complete tasks - [x] New integration button on the /integrations page - [x] New integration "landing" page with buttons to upload zip and assistant - [x] Upload zip page to install integration - [x] Integration assistant: - [x] Connector selection step - [x] Integration details step - [x] Data stream step - [x] Review and install #### Follow-ups (will be implemented in separate PRs) - [ ] Add RBAC - [ ] Add telemetry - [ ] Documentation - [ ] Add license/productType controls - [ ] Add links to the create integration page - [ ] Improve package name retrieval: #185932 - [ ] Add time estimation on the generation stage - [ ] Add support for multi-valuated "input type" - [ ] Enable Langsmith tracing using AI assistant settings #### Demo https://github.com/elastic/kibana/assets/17747913/b04c21c6-09cf-49bb-be8f-bf4b9d3feb8e ## Files by Code Owner ### elastic/docs * packages/kbn-doc-links/src/get_doc_links.ts * packages/kbn-doc-links/src/types.ts ### elastic/fleet * x-pack/plugins/fleet/kibana.jsonc * x-pack/plugins/fleet/public/applications/integrations/hooks/use_breadcrumbs.tsx * x-pack/plugins/fleet/public/applications/integrations/layouts/default.tsx * x-pack/plugins/fleet/public/applications/integrations/sections/epm/index.tsx * x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/create/index.tsx * x-pack/plugins/fleet/public/components/header.tsx * x-pack/plugins/fleet/public/constants/page_paths.ts * x-pack/plugins/fleet/public/plugin.ts * x-pack/plugins/fleet/tsconfig.json ### elastic/kibana-core * x-pack/plugins/fleet/kibana.jsonc * x-pack/plugins/integration_assistant/kibana.jsonc ### elastic/kibana-operations * packages/kbn-optimizer/limits.yml ### elastic/security-solution * x-pack/plugins/integration_assistant/**/* --------- Co-authored-by: Kibana Machine <[email protected]>
- Loading branch information
1 parent
114b582
commit 9b3775e
Showing
126 changed files
with
4,287 additions
and
178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/create/index.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
|
||
import React, { useMemo } from 'react'; | ||
|
||
import { useStartServices, useBreadcrumbs } from '../../../../hooks'; | ||
|
||
export const CreateIntegration = React.memo(() => { | ||
const { integrationAssistant } = useStartServices(); | ||
useBreadcrumbs('integration_create'); | ||
|
||
const CreateIntegrationAssistant = useMemo( | ||
() => integrationAssistant?.CreateIntegration, | ||
[integrationAssistant] | ||
); | ||
|
||
return CreateIntegrationAssistant ? <CreateIntegrationAssistant /> : null; | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.