Skip to content

CAMEL-23648: camel-jbang - TUI add waterfall view and history tab fixes#23649

Merged
davsclaus merged 1 commit into
mainfrom
obs2
May 30, 2026
Merged

CAMEL-23648: camel-jbang - TUI add waterfall view and history tab fixes#23649
davsclaus merged 1 commit into
mainfrom
obs2

Conversation

@davsclaus
Copy link
Copy Markdown
Contributor

Summary

  • Add waterfall (Gantt chart) view to the History tab — press g to toggle a visual breakdown of per-processor elapsed time with colored bars (green→red logarithmic scale)
  • Works in both trace mode (backlog-tracer) and history mode (last completed exchange)
  • Extract color grading utility (colorForDuration) from StartupTab to TuiHelper for reuse
  • Fix history/trace/error refresh to only fetch data from the selected integration, not all running integrations
  • Fix TIME column on last (<--) entries — was showing exchange start time, now shows completion time (start + elapsed)

Test plan

  • camel run waterfall-demo.yaml then camel monitor, press 7 (History tab), press g — waterfall appears with colored bars
  • Press g again — returns to detail panel
  • Run with --backlog-tracing, select exchange, Enter, then g — waterfall in trace detail view
  • Verify bars are proportional to elapsed, colors grade from green (fast) to red (slow)
  • Verify first step shows total exchange time (from matching last entry)
  • With multiple integrations running, verify History tab only shows data from selected integration
  • Verify TIME column on <-- entries shows completion time, not start time
  • Verify PgUp/PgDn scrolls waterfall when many steps

Claude Code on behalf of Claus Ibsen

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

🌟 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 May 29, 2026
@github-actions
Copy link
Copy Markdown
Contributor

🧪 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 c474411 into main May 30, 2026
6 checks passed
@davsclaus davsclaus deleted the obs2 branch May 30, 2026 06:18
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