You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "davsclaus (via GitHub)" <gi...@apache.org> on 2026/06/05 21:14:18 UTC

[PR] CAMEL-23672: TUI - Files popup, source viewer enhancements, and history improvements [camel]

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

   ## Summary
   
   - **Files popup** (`f` key in Overview tab): Browse all files from the selected integration's source directory with emoji file type detection (🐪 for Camel routes/kamelets, ☕ for Java, 📄 for properties, 📖 for README). Enter opens the file in source viewer. 99-file safety limit.
   - **Browse Files in F2 menu**: Added 📁 Browse Files... action to the F2 actions menu, disabled when no integration selected.
   - **Source viewer enhancements**: Find (`/`), highlight (`h`), and word wrap (`w`) features. Direct file loading from disk for non-route files (properties, README, etc.). Full-screen rendering fix.
   - **Source directory resolution**: Properly resolves source files directory from `camel.main.routesIncludePattern` config, handling run-from-example (temp folder), run-from-folder, and direct CLI scenarios.
   - **Folder validation**: Validates directory existence in "Run from folder" with `~` expansion before launching.
   - **History tab**: Badge counts by breadcrumbId, BHPV change indicators in diagram info panel and detail view, highlight individual changed keys in yellow.
   - **Integration docs**: Book emoji and `d` key for integration docs, MCP tool `tui_get_readme`.
   - **Source view highlight readability**: Improved highlight colors for better contrast.
   
   ## Test plan
   
   - [ ] Build: `cd dsl/camel-jbang/camel-jbang-plugin-tui && mvn install -DskipTests -q`
   - [ ] Run an integration, press `f` → verify files popup shows with correct emoji per file type
   - [ ] Navigate up/down, Enter → verify source viewer opens with file content
   - [ ] In source viewer: test `/` (find), `h` (highlight), `w` (wrap), `n`/`N` (next/prev match)
   - [ ] Esc from source viewer → back to popup, Esc from popup → closes
   - [ ] F2 → verify "Browse Files..." menu item, disabled when no integration selected
   - [ ] Run from folder with non-existent path → verify error notification
   
   🤖 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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] CAMEL-23672: TUI - Files popup, source viewer enhancements, and history improvements [camel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #23802:
URL: https://github.com/apache/camel/pull/23802#issuecomment-4635672590

   <!-- ci-tested-modules -->
   :test_tube: **CI tested the following changed modules:**
   
   - `dsl/camel-jbang/camel-jbang-plugin-tui`
   
   <details><summary>All tested modules (2 modules)</summary>
   
   - Camel :: JBang :: Plugin :: TUI
   - Camel :: Launcher :: Container
   
   </details>
   
   ---
   :gear: [View full build and test results](https://github.com/apache/camel/actions/runs/27040474708)


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] CAMEL-23672: TUI - Files popup, source viewer enhancements, and history improvements [camel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #23802:
URL: https://github.com/apache/camel/pull/23802#issuecomment-4635579073

   :star2: Thank you for your contribution to the Apache Camel project! :star2:
     :robot: CI automation will test this PR automatically.
   
     :camel: Apache Camel Committers, please review the following items:
   
     * First-time contributors **require MANUAL approval** for the GitHub Actions to run
     * You can use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot although they are normally detected and executed by CI.
     * You can label PRs using `skip-tests` and `test-dependents` to fine-tune the checks executed by this PR.
     * Build and test logs are available in the summary page. **Only** [Apache Camel committers](https://camel.apache.org/community/team/#committers) have access to the summary.
     
     :warning: Be careful when sharing logs. Review their contents before sharing them publicly.


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] CAMEL-23672: TUI - Files popup, source viewer enhancements, and history improvements [camel]

Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus merged PR #23802:
URL: https://github.com/apache/camel/pull/23802


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org