Skip to content

Commit f737970

Browse files
authored
Two small follow-ups for the vectordb project type (elastic#268358)
## Summary - Add `'vectordb'` to the `getSpaceIcon` switch in `access_mode_container.tsx` so vectordb spaces render the `logoElasticsearch` icon (matches the existing mapping in `space_solution_badge/badge.tsx`). - Add `'vectordb'` to the `--group` enum in the `kbn-mcp-dev-server` `generate_package` tool so packages can be scaffolded for the VectorDB solution. Closes elastic/kibana-team#3357 Closes elastic/kibana-team#3358 ## Test plan - [ ] Verify a vectordb space shows the Elasticsearch logo in the access-mode badge. - [ ] Verify `generate_kibana_package` accepts `--group vectordb` via the MCP dev server. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
1 parent e85fcb5 commit f737970

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/platform/packages/shared/content-management/access_control/access_control_public/src/components/access_mode_container.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ const getSpaceIcon = (space: Space['solution']) => {
5656
switch (space) {
5757
case 'es':
5858
case 'workplaceai':
59+
case 'vectordb':
5960
return 'logoElasticsearch';
6061
case 'security':
6162
return 'logoSecurity';

src/platform/packages/shared/kbn-mcp-dev-server/src/tools/generate_package.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const generatePackageInputSchema = z.object({
2020
.describe(
2121
'The owning Github team of the package. Use list_teams before this to find the appropriate owner'
2222
),
23-
group: z.enum(['workplaceai', 'search', 'observability', 'security', 'platform']),
23+
group: z.enum(['vectordb', 'workplaceai', 'search', 'observability', 'security', 'platform']),
2424
});
2525

2626
async function generatePackage(input: z.infer<typeof generatePackageInputSchema>): Promise<string> {

0 commit comments

Comments
 (0)