Claus Ibsen created CAMEL-23518:
-----------------------------------
Summary: camel-jbang - Refactor TUI trace tab with two-level
exchange drill-down
Key: CAMEL-23518
URL: https://issues.apache.org/jira/browse/CAMEL-23518
Project: Camel
Issue Type: Improvement
Components: camel-jbang
Reporter: Claus Ibsen
Refactor the TUI monitor Trace tab to use a two-level drill-down view.
Level 1 - Exchange list: Show a table of unique root exchange IDs from the
trace data with summary info (timestamp, route, status, elapsed). User
navigates with up/down and presses Enter to drill into a specific exchange.
Level 2 - Exchange detail: Show the full step-by-step trace for the selected
exchange, using the same layout as the History tab:
- Direction arrows (-->/</--/>) with tree indentation via nodeLevel
- Detail panel with exchange properties (p), variables (v), headers (h), body
(b) toggles
- Scrollbar and word wrap (w) support for the detail panel
- PgUp/PgDn for scrolling
- F5 to refresh
- Press Esc to go back to the exchange list
The data source stays the same (pid-trace.json, appended, incremental read via
RandomAccessFile), but instead of showing all trace entries in one flat table,
entries are grouped by exchangeId and the user drills into one exchange at a
time.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)