Skip to content

Commit e732090

Browse files
Iterate getting started page (#244845)
## Summary Iteration on Workplace AI getting started page. - Remove all other details from the header; only Connection details should remain. - Ensure the chat interface matches the existing Agent Builder experience. - Add appropriate padding between sections. - Align the header text with the updated chat interface layout. - For My agents and My sources, display a maximum of 4 items. If more exist, show a See all link. If fewer than 4 exist, the card should expand to fill the space. - Rename Snapshots to My Usage Snapshot and Usage snapshot to Chat Activities (data can remain hardcoded). - In My Agents, remove the type field and display the number of tools instead. - Refactor routes and remove create agent deep-link https://github.com/user-attachments/assets/80076b41-805d-446f-a5dd-a40d3925b2ee ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [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 --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
1 parent 248ced6 commit e732090

56 files changed

Lines changed: 687 additions & 1597 deletions

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: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1229,8 +1229,6 @@ x-pack/solutions/security/test/plugin_functional/plugins/resolver_test @elastic/
12291229
x-pack/solutions/security/test/security_solution_api_integration @elastic/security-detection-engine
12301230
x-pack/solutions/security/test/security_solution_api_integration/config/services/detections_response @elastic/security-detection-engine
12311231
x-pack/solutions/security/test/security_solution_endpoint @elastic/security-defend-workflows
1232-
x-pack/solutions/workplaceai/packages/kbn-workplaceai-api-keys-components @elastic/search-kibana @elastic/workchat-eng
1233-
x-pack/solutions/workplaceai/packages/kbn-workplaceai-api-keys-server @elastic/search-kibana @elastic/workchat-eng
12341232
x-pack/solutions/workplaceai/plugins/serverless_workplace_ai @elastic/search-kibana @elastic/workchat-eng
12351233
x-pack/solutions/workplaceai/plugins/workplace_ai_app @elastic/search-kibana @elastic/workchat-eng
12361234
x-pack/solutions/workplaceai/test @elastic/workchat-eng

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1169,8 +1169,6 @@
11691169
"@kbn/workflows-management-plugin": "link:src/platform/plugins/shared/workflows_management",
11701170
"@kbn/workflows-ui": "link:src/platform/packages/shared/kbn-workflows-ui",
11711171
"@kbn/workplace-ai-app": "link:x-pack/solutions/workplaceai/plugins/workplace_ai_app",
1172-
"@kbn/workplaceai-api-keys-components": "link:x-pack/solutions/workplaceai/packages/kbn-workplaceai-api-keys-components",
1173-
"@kbn/workplaceai-api-keys-server": "link:x-pack/solutions/workplaceai/packages/kbn-workplaceai-api-keys-server",
11741172
"@kbn/xstate-utils": "link:src/platform/packages/shared/kbn-xstate-utils",
11751173
"@kbn/zod": "link:src/platform/packages/shared/kbn-zod",
11761174
"@kbn/zod-helpers": "link:src/platform/packages/shared/kbn-zod-helpers",

packages/kbn-optimizer/limits.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pageLoadAssetSize:
77
apm: 38573
88
apmSourcesAccess: 2278
99
automaticImport: 12162
10-
automaticImportVTwo: 4694
10+
automaticImportVTwo: 4662
1111
banners: 4087
1212
canvas: 15142
1313
cases: 153204
@@ -89,7 +89,7 @@ pageLoadAssetSize:
8989
inputControlVis: 7660
9090
inspectComponent: 4900
9191
inspector: 17954
92-
interactiveSetup: 36654
92+
interactiveSetup: 36524
9393
intercepts: 19011
9494
kibanaOverview: 6339
9595
kibanaReact: 22503
@@ -123,7 +123,7 @@ pageLoadAssetSize:
123123
observabilityLogsExplorer: 4918
124124
observabilityOnboarding: 12872
125125
observabilityShared: 75115
126-
onechat: 25223
126+
onechat: 25218
127127
osquery: 47422
128128
painlessLab: 6299
129129
presentationPanel: 11418
@@ -205,5 +205,5 @@ pageLoadAssetSize:
205205
visualizations: 38375
206206
watcher: 10485
207207
workflowsExtensions: 2554
208-
workflowsManagement: 8545
209-
workplaceAIApp: 6454
208+
workflowsManagement: 8497
209+
workplaceAIApp: 6135

src/platform/packages/shared/deeplinks/agent_builder/constants.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@
88
*/
99

1010
export const AGENT_BUILDER_APP_ID = 'agent_builder';
11-
export const AGENT_BUILDER_AGENTS_CREATE = 'agents_create';

src/platform/packages/shared/deeplinks/agent_builder/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
* License v3.0 only", or the "Server Side Public License, v 1".
88
*/
99

10-
export { AGENT_BUILDER_APP_ID, AGENT_BUILDER_AGENTS_CREATE } from './constants';
10+
export { AGENT_BUILDER_APP_ID } from './constants';
1111
export type { DeepLinkId } from './deep_links';

tsconfig.base.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2448,10 +2448,6 @@
24482448
"@kbn/workflows-ui/*": ["src/platform/packages/shared/kbn-workflows-ui/*"],
24492449
"@kbn/workplace-ai-app": ["x-pack/solutions/workplaceai/plugins/workplace_ai_app"],
24502450
"@kbn/workplace-ai-app/*": ["x-pack/solutions/workplaceai/plugins/workplace_ai_app/*"],
2451-
"@kbn/workplaceai-api-keys-components": ["x-pack/solutions/workplaceai/packages/kbn-workplaceai-api-keys-components"],
2452-
"@kbn/workplaceai-api-keys-components/*": ["x-pack/solutions/workplaceai/packages/kbn-workplaceai-api-keys-components/*"],
2453-
"@kbn/workplaceai-api-keys-server": ["x-pack/solutions/workplaceai/packages/kbn-workplaceai-api-keys-server"],
2454-
"@kbn/workplaceai-api-keys-server/*": ["x-pack/solutions/workplaceai/packages/kbn-workplaceai-api-keys-server/*"],
24552451
"@kbn/workspaces": ["src/platform/packages/shared/kbn-workspaces"],
24562452
"@kbn/workspaces/*": ["src/platform/packages/shared/kbn-workspaces/*"],
24572453
"@kbn/xstate-utils": ["src/platform/packages/shared/kbn-xstate-utils"],

x-pack/platform/plugins/shared/onechat/moon.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ dependsOn:
9797
- '@kbn/shared-ux-utility'
9898
- '@kbn/usage-collection-plugin'
9999
- '@kbn/core-notifications-browser'
100-
- '@kbn/deeplinks-agent-builder'
101100
tags:
102101
- plugin
103102
- prod

x-pack/platform/plugins/shared/onechat/public/register.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import type { AppMountParameters } from '@kbn/core-application-browser';
99
import { DEFAULT_APP_CATEGORIES } from '@kbn/core-application-common';
1010
import type { CoreSetup } from '@kbn/core-lifecycle-browser';
1111
import type { AnalyticsServiceSetup } from '@kbn/core/public';
12-
import { AGENT_BUILDER_AGENTS_CREATE } from '@kbn/deeplinks-agent-builder';
1312
import { i18n } from '@kbn/i18n';
1413
import type { ManagementSetup } from '@kbn/management-plugin/public';
1514
import { eventTypes } from '../common/events';
@@ -54,13 +53,6 @@ export const registerApp = ({
5453
path: '/agents',
5554
title: i18n.translate('xpack.onechat.agents.title', { defaultMessage: 'Agents' }),
5655
},
57-
{
58-
id: AGENT_BUILDER_AGENTS_CREATE,
59-
path: '/agents/new',
60-
title: i18n.translate('xpack.onechat.agents.createTitle', {
61-
defaultMessage: 'Create Agent',
62-
}),
63-
},
6456
],
6557
async mount({ element, history, onAppLeave }: AppMountParameters) {
6658
const { mountApp } = await import('./application');

x-pack/platform/plugins/shared/onechat/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,5 @@
9393
"@kbn/shared-ux-utility",
9494
"@kbn/usage-collection-plugin",
9595
"@kbn/core-notifications-browser",
96-
"@kbn/deeplinks-agent-builder",
9796
]
9897
}

x-pack/solutions/workplaceai/packages/kbn-workplaceai-api-keys-components/README.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)