davsclaus opened a new pull request, #23671: URL: https://github.com/apache/camel/pull/23671
## Summary A collection of TUI improvements: - **Run from folder**: `--source-dir` option with dev mode defaults for running integrations from a folder - **Log tab find/highlight**: `f` key opens search, `n`/`N` navigate matches, highlights in yellow - **Routes tab diagram label**: improved label and help text for route diagrams - **Source code syntax highlighting**: Java, YAML, and XML highlighting in source view (`c` key) - **Source view auto-scroll**: automatically scrolls past license headers - **Log tab loading improvements**: faster scroll, better loading UX - **Performance: PID caching**: only full `ProcessHandle.allProcesses()` scan on Overview tab, reuse cached PIDs on other tabs - **Performance: render optimization**: avoid unnecessary log line rebuilds every tick - **Performance: throttle full PID scan**: limit to every 2 seconds on Overview - **Instant log loading**: load log data synchronously on tab/integration switch (ENTER, tab 2, F3) - **Overview Stopped status**: show "Stopped" in red when all routes are stopped - **Overview F1 help**: add missing F1 help hint to Overview footer - **SINCE-LAST help text**: improved help across Overview, Routes, CircuitBreaker tabs with examples - **Configuration tab**: clip long source paths and right-align source labels ## Test plan - [ ] Run `camel tui`, verify Overview shows F1 hint in footer - [ ] Stop all routes, verify Overview shows "Stopped" in red - [ ] Select integration, press ENTER — log tab loads instantly - [ ] Press F3 to switch integration — log tab loads instantly - [ ] Press `f` on Log tab, search for text, verify highlighting and `n`/`N` navigation - [ ] Press `c` on Routes tab, verify syntax highlighting for Java/YAML/XML sources - [ ] Check Configuration tab shows clipped, right-aligned source paths - [ ] Press F1 on any tab to verify help text, check SINCE-LAST explanations 🤖 Generated with [Claude Code](https://claude.com/claude-code) _Claude Code on behalf of Claus Ibsen_ -- 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]
