TUI: overview info panel, chart toggle, source view and UX improvements#23262
Merged
Conversation
Shows a 22-col Info panel to the right of the diagram with: - HEAP: used/max (percent) - THREADS: current count and peak Removes the HEAP column from the overview integrations table since the information is now visible on the diagram tab. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add missing renderDiagramInfoPanel call at the end of the text diagram path, and extract helper method shared by both image and text paths. Panel renders last so it draws on top of any diagram overflow. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…tails Add an info panel beside the throughput chart on the Overview tab showing: - Runtime platform and Camel version - JVM version, vendor, and VM name (new fields added to LocalCliConnector) - Uptime, heap (used/max/%), non-heap (metaspace), and thread counts Also emits javaVendor and javaVmName from LocalCliConnector via RuntimeMXBean. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…n switch - Scrolling up/down on the Overview table now immediately updates the selected integration (same behaviour as the Routes tab) - Switching to a different integration resets all tab-specific view state: diagram, route table, log scroll/follow, and trace detail view - Fix Esc race: diagram no longer re-shows if user presses Esc while the background load is still in flight Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Press 'a' on the Overview tab to switch the throughput bar chart between aggregated stats for all running integrations [All] and stats for the currently selected integration only, with the name shown in yellow. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Press 'c' on the Routes tab to fetch and display the source code of the currently selected route. The view auto-scrolls to the route's start line, supports arrow/PgUp/PgDn/Home/End scrolling with both vertical and horizontal scrollbars, and shows the source filename and line number in the title. Press 'c' or Esc to close. Shows a message when no source is available (e.g. programmatic routes without a file location). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Contributor
|
🌟 Thank you for your contribution to the Apache Camel project! 🌟 🐫 Apache Camel Committers, please review the following items:
|
Contributor
|
🧪 CI tested the following changed modules:
All tested modules (7 modules)
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Claude Code on behalf of Claus Ibsen
A collection of UX and feature improvements to the Camel JBang TUI monitor (
camel-jbang-plugin-tui):javaVendor,javaVmName) are now also emitted byLocalCliConnector.aon the Overview tab to switch the throughput chart between aggregated stats for all integrations ([All]) and the selected integration only (name shown in yellow).con the Routes tab to fetch and display the source code of the selected route. Auto-scrolls to the route's start line. Supports arrow/PgUp/PgDn/Home/End with vertical and horizontal scrollbars. Presscor Esc to close.Test plan
camel runcamel monitorand verify the info panel appears beside the throughput chart on the Overview tabato toggle chart between all/single and confirm title changescand confirm source code is shown with correct line highlightcto close source viewD), press Esc quickly while it loads — confirm it does not reappear🤖 Generated with Claude Code