refactor: unify "Executions" → "Exchanges" terminology
Rename all references from "Execution/executions/execCount" to "Exchange/exchanges/exchangeCount" to align with Apache Camel's native Exchange concept. Java class names (CamelExecutionException, HttpOperationFailedException) are preserved as-is. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -184,7 +184,7 @@ src/
|
||||
│ ├── ExchangeDetail/
|
||||
│ └── AgentHealth/
|
||||
├── mocks/ # Static TypeScript mock data
|
||||
│ ├── executions.ts
|
||||
│ ├── exchanges.ts
|
||||
│ ├── routes.ts
|
||||
│ ├── agents.ts
|
||||
│ └── metrics.ts
|
||||
@@ -361,7 +361,7 @@ All CSS custom properties for both themes. Light values sourced from `mock-v2-li
|
||||
#### CommandPalette
|
||||
- Full-screen overlay modal triggered by Ctrl+K
|
||||
- Search input with scoped filter tags (removable, amber-styled)
|
||||
- Category tabs with counts (All, Executions, Routes, Exchanges, Agents)
|
||||
- Category tabs with counts (All, Exchanges, Routes, Agents)
|
||||
- Grouped results by category with section headers
|
||||
- Result items: icon + title + badges + meta + timestamp
|
||||
- Inline expandable detail (JSON preview with match highlighting)
|
||||
@@ -371,7 +371,7 @@ All CSS custom properties for both themes. Light values sourced from `mock-v2-li
|
||||
- Props: `open: boolean`, `onClose`, `onSelect: (result: SearchResult) => void`, `data: SearchResult[]`
|
||||
- `SearchResult` interface:
|
||||
```ts
|
||||
type SearchCategory = 'execution' | 'route' | 'exchange' | 'agent'
|
||||
type SearchCategory = 'exchange' | 'route' | 'agent'
|
||||
interface SearchResult {
|
||||
id: string
|
||||
category: SearchCategory
|
||||
@@ -451,7 +451,7 @@ All CSS custom properties for both themes. Light values sourced from `mock-v2-li
|
||||
#### ProcessorTimeline
|
||||
- Gantt-style horizontal bar timeline for exchange processor steps
|
||||
- Each bar: processor name (left label), colored bar (green=ok, amber=slow, red=fail), duration label (right)
|
||||
- Bar width proportional to duration relative to total execution time
|
||||
- Bar width proportional to duration relative to total exchange time
|
||||
- Clickable bars (select processor)
|
||||
- Props: `processors: { name: string; type: string; durationMs: number; status: 'ok' | 'slow' | 'fail'; startMs: number }[]`, `totalMs: number`, `onProcessorClick?`
|
||||
|
||||
@@ -518,7 +518,7 @@ Pages are built after the design system layer is complete.
|
||||
|
||||
Static TypeScript objects in `src/mocks/` providing realistic data matching the HTML mockups:
|
||||
|
||||
- `executions.ts` — execution rows with status, duration, order IDs, error messages
|
||||
- `exchanges.ts` — exchange rows with status, duration, order IDs, error messages
|
||||
- `routes.ts` — route definitions with processor lists
|
||||
- `agents.ts` — agent health data (name, version, status, tps, last-seen)
|
||||
- `metrics.ts` — KPI values, chart data points
|
||||
|
||||
Reference in New Issue
Block a user