atiaomar1978-hub commented on PR #25411:
URL: https://github.com/apache/camel/pull/25411#issuecomment-5232347756
Thanks @gnodet for the review — addressed the follow-up items in commit
3fccd279:
1. **FQCNs → imports** (`GotoSourceNodePopup.java`): replaced inline
`dev.tamboui.style.Color` and `DiagramColors` FQCNs with proper imports,
matching project conventions.
2. **Dirty-buffer UX** (`SourceTab.java`): when cross-file navigation is
blocked because the edit buffer has unsaved changes, the TUI now shows a
notification: *"Save or discard edits before navigating to another file"*
instead of silently no-op'ing.
**Tests** (all green locally):
```bash
./mvnw -pl dsl/camel-jbang/camel-jbang-plugin-tui test \
-Dtest=YamlRouteNodeScannerTest,GotoSourceNodePopupTest,SourceViewerGoToLineTest
```
The disk re-read on each Ctrl+G (`buildSourceNodeIndex()`) is left as-is for
now — noted as a future optimization if needed.
_AI-generated comment on behalf of atiaomar1978-hub_
--
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]