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

   ## Summary
   
   - Rewrites the TUI Configuration tab from a flat scrollable paragraph 
(`AbstractTab`) to a selectable table with an always-visible detail panel 
(`AbstractTableTab`)
   - Table columns: KEY (35%), VALUE (fill), SOURCE (fixed 20) — all sortable 
with `s`/`S`
   - Detail panel (bottom 30%) shows Camel catalog documentation for 
`camel.main.*` and `camel.component.*` properties: description, type, default 
value, enum values, required/deprecated/secret flags, and group
   - Non-Camel properties show current value and source with a "no 
documentation available" note
   - Catalog lookup uses lazy-initialized `DefaultCamelCatalog` with cached 
main model options map and per-component caches
   - Mouse click, Up/Down navigation, and PgUp/PgDn detail scrolling all work
   - Proper `SelectionContext` returned for MCP integration
   
   ## Test plan
   
   - [ ] Build: `cd dsl/camel-jbang/camel-jbang-plugin-tui && mvn install 
-DskipTests -q`
   - [ ] Run a Spring Boot or JBang example, open TUI, navigate to 
Configuration tab
   - [ ] Verify: arrow keys select rows, detail panel updates immediately
   - [ ] Verify: `camel.main.*` properties show description/type/default from 
catalog
   - [ ] Verify: mouse click selects rows
   - [ ] Verify: `s` cycles sort (key/value/source), `S` reverses
   - [ ] Verify: PgUp/PgDn scrolls the detail panel for long descriptions
   - [ ] Verify: non-camel properties show "No documentation available"
   
   _Claude Code on behalf of Claus Ibsen_
   
   🤖 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]

Reply via email to