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

   [CAMEL-21975](https://issues.apache.org/jira/browse/CAMEL-21975)
   
   ## Summary
   
   - Use Tamboui's `Image` widget to render route diagrams as actual images 
(via Kitty/Sixel/iTerm2 protocols) when the terminal supports it
   - Falls back to the existing text tree diagram for terminals without native 
image support
   - Adds `tamboui-image` dependency to the TUI plugin module
   - Makes `RouteDiagramLayoutEngine` and `RouteDiagramRenderer` 
classes/methods public so they can be reused from the TUI plugin
   - Temporarily bumps TamboUI to 0.2.1-SNAPSHOT for testing
   
   ## Blocked by TamboUI upstream issues
   
   This PR requires fixes in TamboUI before it can be merged:
   
   - [tamboui#315](https://github.com/tamboui-dev/tamboui/issues/315) — Image 
placement offset within Block border (image renders garbled at top)
   - [tamboui#316](https://github.com/tamboui-dev/tamboui/issues/316) — Missing 
Kitty graphics delete command (image persists after widget is removed)
   - [tamboui#317](https://github.com/tamboui-dev/tamboui/issues/317) — Blurry 
image rendering (not querying terminal cell pixel size for proper scaling)
   
   Once these are fixed and released, we need to update `tamboui-version` in 
`parent/pom.xml` to the release containing the fixes.
   
   ## Test plan
   
   - [ ] Start a Camel integration, run `camel tui monitor`, go to Routes tab, 
select a route, press `d`
   - [ ] Verify graphical diagram appears in terminals with Kitty/Sixel/iTerm2 
support (Ghostty, kitty, WezTerm, iTerm2)
   - [ ] Verify text diagram appears in terminals without native image support
   - [ ] Verify `Esc` or `d` closes the diagram
   - [ ] Verify scroll works in text diagram mode (arrow keys, PgUp/PgDn, mouse 
wheel)
   
   🤖 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