You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "davsclaus (via GitHub)" <gi...@apache.org> on 2026/05/16 19:02:56 UTC

[PR] TUI: overview info panel, chart toggle, source view and UX improvements [camel]

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

   ## 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`):
   
   - **Overview info panel**: Added a panel beside the throughput bar chart showing runtime identity (platform, Camel version, JVM version/vendor/VM name), uptime, heap (used/max/%), non-heap (metaspace), and thread counts. JVM fields (`javaVendor`, `javaVmName`) are now also emitted by `LocalCliConnector`.
   - **Chart scope toggle**: Press `a` on the Overview tab to switch the throughput chart between aggregated stats for all integrations (`[All]`) and the selected integration only (name shown in yellow).
   - **Auto-select on scroll**: Scrolling up/down on the Overview table now immediately updates the selected integration (same behaviour as the Routes tab).
   - **Reset tab state on integration switch**: Switching to a different integration on Overview resets diagram, route table, log scroll/follow, trace detail, and source view state so all tabs show a clean slate.
   - **Esc race fix**: Diagram no longer re-shows if the user presses Esc while the background load is still in flight.
   - **Source code view**: Press `c` on 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. Press `c` or Esc to close.
   
   ## Test plan
   
   - [ ] Start one or more Camel integrations with `camel run`
   - [ ] Open TUI with `camel monitor` and verify the info panel appears beside the throughput chart on the Overview tab
   - [ ] Press `a` to toggle chart between all/single and confirm title changes
   - [ ] With 2+ integrations, scroll up/down on Overview and confirm the info panel updates immediately
   - [ ] Navigate to Routes tab, press `c` and confirm source code is shown with correct line highlight
   - [ ] Press Esc or `c` to close source view
   - [ ] Switch integrations on Overview, navigate to Routes tab and confirm no stale diagram/source is shown
   - [ ] Open a text diagram (`D`), press Esc quickly while it loads — confirm it does not reappear
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] TUI: overview info panel, chart toggle, source view and UX improvements [camel]

Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus merged PR #23262:
URL: https://github.com/apache/camel/pull/23262


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] TUI: overview info panel, chart toggle, source view and UX improvements [camel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #23262:
URL: https://github.com/apache/camel/pull/23262#issuecomment-4467832124

   :star2: Thank you for your contribution to the Apache Camel project! :star2:
     :robot: CI automation will test this PR automatically.
   
     :camel: 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](https://camel.apache.org/community/team/#committers) have access to the summary.
     
     :warning: Be careful when sharing logs. Review their contents before sharing them publicly.


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] TUI: overview info panel, chart toggle, source view and UX improvements [camel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #23262:
URL: https://github.com/apache/camel/pull/23262#issuecomment-4467866491

   <!-- ci-tested-modules -->
   :test_tube: **CI tested the following changed modules:**
   
   - `dsl/camel-cli-connector`
   - `dsl/camel-jbang/camel-jbang-plugin-tui`
   
   <details><summary>All tested modules (7 modules)</summary>
   
   - Camel :: DSL :: CLI Connector
   - Camel :: DSL :: CLI Debug
   - Camel :: JBang :: MCP
   - Camel :: JBang :: Plugin :: Route Parser
   - Camel :: JBang :: Plugin :: TUI
   - Camel :: JBang :: Plugin :: Validate
   - Camel :: Launcher :: Container
   
   </details>
   
   ---
   :gear: [View full build and test results](https://github.com/apache/camel/actions/runs/25970296155)


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org