From 2ffc268b444919097b26015664175dfd2a4af61c Mon Sep 17 00:00:00 2001 From: hsiegeln <37154749+hsiegeln@users.noreply.github.com> Date: Fri, 27 Mar 2026 08:03:57 +0100 Subject: [PATCH] feat: add attribute search category to CommandPalette Co-Authored-By: Claude Opus 4.6 (1M context) --- src/design-system/composites/CommandPalette/CommandPalette.tsx | 2 ++ src/design-system/composites/CommandPalette/types.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/design-system/composites/CommandPalette/CommandPalette.tsx b/src/design-system/composites/CommandPalette/CommandPalette.tsx index 9f4f9f5..899d62e 100644 --- a/src/design-system/composites/CommandPalette/CommandPalette.tsx +++ b/src/design-system/composites/CommandPalette/CommandPalette.tsx @@ -19,6 +19,7 @@ const CATEGORY_LABELS: Record = { all: 'All', application: 'Applications', exchange: 'Exchanges', + attribute: 'Attributes', route: 'Routes', agent: 'Agents', } @@ -27,6 +28,7 @@ const ALL_CATEGORIES: Array = [ 'all', 'application', 'exchange', + 'attribute', 'route', 'agent', ] diff --git a/src/design-system/composites/CommandPalette/types.ts b/src/design-system/composites/CommandPalette/types.ts index 9ebe434..ace9c74 100644 --- a/src/design-system/composites/CommandPalette/types.ts +++ b/src/design-system/composites/CommandPalette/types.ts @@ -1,6 +1,6 @@ import type { ReactNode } from 'react' -export type SearchCategory = 'application' | 'exchange' | 'route' | 'agent' +export type SearchCategory = 'application' | 'exchange' | 'attribute' | 'route' | 'agent' export interface SearchResult { id: string