This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch worktree-happy-tickling-stream
in repository https://gitbox.apache.org/repos/asf/camel.git

commit d3383e8610ee245d99999305e6466ea8f8a6fa26
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Jun 5 21:19:45 2026 +0200

    CAMEL-23672: camel-jbang - Update F1 help for TUI diagram info panel
    
    Co-Authored-By: Claude Opus 4.6 <[email protected]>
    Signed-off-by: Claus Ibsen <[email protected]>
---
 .../camel/dsl/jbang/core/commands/tui/ErrorsTab.java    | 17 ++++++++++++++---
 .../camel/dsl/jbang/core/commands/tui/HistoryTab.java   | 10 ++++++++++
 2 files changed, 24 insertions(+), 3 deletions(-)

diff --git 
a/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/ErrorsTab.java
 
b/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/ErrorsTab.java
index e2c17215d367..6ef952469fa7 100644
--- 
a/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/ErrorsTab.java
+++ 
b/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/ErrorsTab.java
@@ -822,20 +822,31 @@ class ErrorsTab implements MonitorTab {
                 step is shown with a selection highlight. Use `Left/Right` to 
scroll
                 the diagram horizontally if it extends beyond the screen.
 
-                Press `Esc` to close the diagram and return to the detail view.
+                **Info Panel** — An info panel on the left side of the diagram 
shows
+                metadata for the selected error: exchange ID, route, node, 
elapsed
+                time, thread, handled status, and the full exception. It also 
shows
+                body, headers, properties, and variables respecting the 
`b/h/p/v`
+                toggles. Press `i` to cycle the panel size: narrow (35 chars),
+                wide (half screen), or full (entire area). In wide mode, the 
minimap
+                and tree preview are hidden. Word wrap (`w`) is also supported.
+
+                Press `d` to close the diagram and return to the detail view.
+                Press `Esc` to navigate back one route in drill-down mode.
 
                 ## Keys
 
                 - `Up/Down` — select error (list) / navigate path steps 
(diagram)
                 - `Enter` — view error details
-                - `d` — show error diagram (in detail view)
+                - `d` — toggle error diagram (open and close)
+                - `Esc` — back to list / back one route in diagram drill-down
+                - `i` — cycle info panel size (narrow / wide / full) in diagram
                 - `h` — toggle headers
                 - `b` — toggle body
                 - `p` — toggle properties
                 - `v` — toggle variables
+                - `w` — toggle word wrap
                 - `s` — cycle sort column
                 - `S` — reverse sort order
-                - `Esc` — back to list / close diagram
                 """;
     }
 
diff --git 
a/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/HistoryTab.java
 
b/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/HistoryTab.java
index b0a3120083c8..1926a3ceac51 100644
--- 
a/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/HistoryTab.java
+++ 
b/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/HistoryTab.java
@@ -2161,6 +2161,15 @@ class HistoryTab implements MonitorTab {
                 large routes. This is the same minimap available on the Routes 
and
                 Diagram tabs.
 
+                **Info Panel** — An info panel on the left side of the diagram 
shows
+                trace metadata for the current step: exchange ID, route, node,
+                processor, elapsed time, thread, and direction. It also shows 
body,
+                headers, properties, and variables respecting the same 
`b/h/p/v`
+                toggles as the table view. Press `i` to cycle the panel size:
+                narrow (35 chars), wide (half screen), or full (entire area).
+                In wide mode, the minimap and tree preview are hidden to give 
more
+                space. Word wrap (`w`) is also supported.
+
                 Press `d` to close the diagram and return to the table.
                 Press `Esc` to navigate back one route in drill-down mode.
 
@@ -2170,6 +2179,7 @@ class HistoryTab implements MonitorTab {
                 - `Enter` — view exchange details
                 - `d` — toggle route diagram (open and close)
                 - `Esc` — back to list / back one route in diagram drill-down
+                - `i` — cycle info panel size (narrow / wide / full) in diagram
                 - `n` — toggle description mode
                 - `g` — toggle waterfall view
                 - `h` — toggle headers

Reply via email to