feat: add attribute search category to CommandPalette
All checks were successful
Build & Publish / publish (push) Successful in 51s

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-03-27 08:03:57 +01:00
parent 99ae66315b
commit 2ffc268b44
2 changed files with 3 additions and 1 deletions

View File

@@ -19,6 +19,7 @@ const CATEGORY_LABELS: Record<SearchCategory | 'all', string> = {
all: 'All', all: 'All',
application: 'Applications', application: 'Applications',
exchange: 'Exchanges', exchange: 'Exchanges',
attribute: 'Attributes',
route: 'Routes', route: 'Routes',
agent: 'Agents', agent: 'Agents',
} }
@@ -27,6 +28,7 @@ const ALL_CATEGORIES: Array<SearchCategory | 'all'> = [
'all', 'all',
'application', 'application',
'exchange', 'exchange',
'attribute',
'route', 'route',
'agent', 'agent',
] ]

View File

@@ -1,6 +1,6 @@
import type { ReactNode } from 'react' import type { ReactNode } from 'react'
export type SearchCategory = 'application' | 'exchange' | 'route' | 'agent' export type SearchCategory = 'application' | 'exchange' | 'attribute' | 'route' | 'agent'
export interface SearchResult { export interface SearchResult {
id: string id: string