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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
