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

   ## Summary
   
   _Claude Code on behalf of davsclaus_
   
   - Add three new TUI tabs in the More submenu: **Producers** (📤), **Events** 
(📣), and **Route Controller** (🚦)
   - Fix inline doc scroll bug where toggling docs (`i` key) caused cursor-down 
to scroll the selected line out of view
   - Fix multi-route inline docs: source files with multiple routes now get 
docs for all routes (uses `routeId="*"`)
   - Fix YAML `parameters:` inline docs: individual options inside 
`parameters:` blocks now get their own doc annotations, component name is shown 
for `to:` processors (e.g. "To (SQL)"), and docs are placed after multi-line 
YAML values
   
   ### New Tabs
   
   - **ProducersTab** — Shows all producer endpoints with route, status, type, 
remote flag, and URI. Mirrors the existing ConsumersTab pattern.
   - **EventTab** — Shows Camel context events (general, route, exchange) 
merged into a single table sorted by timestamp.
   - **RouteControllerTab** — Shows route controller status. Handles both 
Default (not supervised) and Supervising controllers with restart attempt 
tracking.
   
   ### Inline Doc Fixes
   
   - **Scroll awareness**: `SourceViewer.render()` now counts visual rows 
(including injected doc lines) when auto-scrolling and computing max scroll 
offset.
   - **Multi-route**: `requestRouteProcessorDetail` now always sends `routeId: 
"*"` to get all routes' processors. Both `RoutesTab` and `DiagramTab` updated.
   - **YAML parameters**: `inlineParameterDocs` descends into `parameters:` 
blocks. `buildEipInlineDoc` resolves the component name from the `uri` option 
for EIPs like `to:`. `lastContinuationLine` finds the end of multi-line YAML 
values for correct doc placement.
   
   ## Test plan
   
   - [ ] Build: `cd dsl/camel-jbang/camel-jbang-plugin-tui && mvn install 
-DskipTests -q`
   - [ ] Build connector: `cd dsl/camel-cli-connector && mvn install 
-DskipTests -q`
   - [ ] Verify Producers tab shows producer endpoints in the More menu
   - [ ] Verify Events tab shows context/route/exchange events
   - [ ] Verify Route Controller tab shows controller status
   - [ ] Verify inline docs (`i` toggle) work correctly for multi-route YAML 
files
   - [ ] Verify scrolling with inline docs enabled keeps selected line visible
   - [ ] Verify `to:` processors show component name (e.g. "To (SQL)")
   - [ ] Verify YAML `parameters:` block options each get individual doc 
annotations
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   
   Co-Authored-By: Claude Opus 4.6 <[email protected]>


-- 
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]

Reply via email to