davsclaus opened a new pull request, #23237:
URL: https://github.com/apache/camel/pull/23237

   ## Summary
   
   Refactor the Trace tab into a two-level drill-down view:
   
   **Level 1 — Exchange list:**
   - Shows unique exchanges grouped by exchangeId
   - Columns: TIME, ROUTE, STATUS (colored), ELAPSED, STEPS, EXCHANGE
   - Sort with `s` key: time, route, elapsed, exchange
   - F5 to refresh (re-reads entire trace file)
   - Enter to drill into an exchange
   
   **Level 2 — Exchange detail (same layout as History tab):**
   - Step table with direction arrows, tree indentation via nodeLevel
   - Detail panel with scrollbar, word wrap (w)
   - Toggles: p (properties), v (variables), h (headers with types), b (body 
with type)
   - PgUp/PgDn for detail scrolling
   - Esc to go back to exchange list
   
   **Other improvements:**
   - Move selected integration name from tab labels to header bar
   - Remove integration name from table titles (Routes, Log, Health, Endpoints)
   - Right-align ELAPSED and STEPS columns
   - Trace entries sorted by uid for correct step order
   - Elapsed computed from last entry (total exchange time)
   
   ## Test plan
   
   - [x] Module builds successfully
   - [x] Code formatting passes
   - [ ] Run `camel tui monitor` with tracing enabled
   - [ ] Press 7 for Trace tab, verify exchange list with sort
   - [ ] Press Enter on an exchange, verify step-by-step detail
   - [ ] Test p/v/h/b/w toggles and PgUp/PgDn scrolling
   - [ ] Press Esc to go back, F5 to refresh
   - [ ] Verify selected integration name shows in header bar
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   
   _Claude Code on behalf of Claus Ibsen_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to