Skip to content

CAMEL-23672: camel-jbang - TUI diagram info panel with resizable sizing#23798

Merged
davsclaus merged 1 commit into
mainfrom
fix/CAMEL-23672-info-panel
Jun 5, 2026
Merged

CAMEL-23672: camel-jbang - TUI diagram info panel with resizable sizing#23798
davsclaus merged 1 commit into
mainfrom
fix/CAMEL-23672-info-panel

Conversation

@davsclaus
Copy link
Copy Markdown
Contributor

Summary

  • Add resizable info panel to diagram view in both History and Errors tabs
  • Info panel shows trace/error metadata: exchange ID, route, node, elapsed time, thread, exception, and exchange data (body/headers/properties/variables)
  • Press i to cycle through three sizes: narrow (35 chars) → wide (half screen) → full (entire area)
  • Wide mode hides minimap/tree overlay to give more space to the diagram
  • Info panel respects b/h/p/v toggles and w word-wrap from the table view
  • Updated footer hints with compact show BHpv format and d close / i info labels
  • Added hideOverlays parameter to DiagramSupport.renderHistoryRouteDiagram()

Test plan

  • Build: cd dsl/camel-jbang/camel-jbang-plugin-tui && mvn install -DskipTests
  • Run TUI with tracing enabled, open History tab diagram — verify info panel shows on the left
  • Press i to cycle narrow → wide → full — verify layout changes correctly
  • Toggle b/h/p/v keys — verify info panel content updates
  • Toggle w — verify word wrap in info panel
  • Open Errors tab diagram — verify same info panel behavior
  • Verify minimap/tree preview hidden in wide mode, visible in narrow mode

🤖 Generated with Claude Code

Add info panel to diagram view in both History and Errors tabs.
The panel shows trace/error metadata (exchange, route, node, elapsed,
thread, exception) and respects b/h/p/v/w toggles. Press 'i' to
cycle through narrow/wide/full sizing. Wide mode hides minimap/tree
overlay to give more space.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 5, 2026

🌟 Thank you for your contribution to the Apache Camel project! 🌟
🤖 CI automation will test this PR automatically.

🐫 Apache Camel Committers, please review the following items:

  • First-time contributors require MANUAL approval for the GitHub Actions to run
  • You can use the command /component-test (camel-)component-name1 (camel-)component-name2.. to request a test from the test bot although they are normally detected and executed by CI.
  • You can label PRs using skip-tests and test-dependents to fine-tune the checks executed by this PR.
  • Build and test logs are available in the summary page. Only Apache Camel committers have access to the summary.

⚠️ Be careful when sharing logs. Review their contents before sharing them publicly.

@github-actions github-actions Bot added the dsl label Jun 5, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 5, 2026

🧪 CI tested the following changed modules:

  • dsl/camel-jbang/camel-jbang-plugin-tui
All tested modules (2 modules)
  • Camel :: JBang :: Plugin :: TUI
  • Camel :: Launcher :: Container

⚙️ View full build and test results

@davsclaus davsclaus merged commit 4ca73af into main Jun 5, 2026
5 checks passed
@davsclaus davsclaus deleted the fix/CAMEL-23672-info-panel branch June 5, 2026 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant