Skip to content

CAMEL-23615: camel-jbang - TUI organize F2 actions menu with dividers#23599

Merged
davsclaus merged 8 commits into
mainfrom
CAMEL-23634
May 28, 2026
Merged

CAMEL-23615: camel-jbang - TUI organize F2 actions menu with dividers#23599
davsclaus merged 8 commits into
mainfrom
CAMEL-23634

Conversation

@davsclaus
Copy link
Copy Markdown
Contributor

Summary

  • F2 menu dividers: Groups the actions menu into four visual sections separated by dim ─── dividers. Arrow keys skip divider rows.
    • User Actions: Send Message, Run Example, Show Documentation
    • Diagnostics: Doctor, Classpath, Reset Stats, Stop All
    • Recording & Presentation: Screenshot, Tape Recording, Tape Guide, Caption, Keystrokes
    • MCP (when enabled): MCP Info, MCP Log
  • Bundled example sync: Adds tui-hello-world example to bundled resources and updates the example catalog

Test plan

  • Build: mvn install -pl dsl/camel-jbang/camel-jbang-core,dsl/camel-jbang/camel-jbang-plugin-tui -DskipTests
  • Open TUI, press F2 — verify four groups with dim dividers between them
  • Navigate up/down — verify divider rows are skipped
  • Select each action — verify correct handler fires
  • Without MCP: only 2 dividers, MCP items hidden

Claude Code on behalf of Claus Ibsen

davsclaus and others added 8 commits May 28, 2026 12:48
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
F5 now triggers a one-shot refresh of history data instead of being a no-op.

Co-Authored-By: Claude <noreply@anthropic.com>
Group actions into four sections separated by dividers:
User Actions, Diagnostics, Recording, and MCP.
Also sync bundled tui-hello-world example.

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
@davsclaus davsclaus merged commit e5064a1 into main May 28, 2026
6 checks passed
@davsclaus davsclaus deleted the CAMEL-23634 branch May 28, 2026 13:15
@github-actions github-actions Bot added the dsl label May 28, 2026
@github-actions
Copy link
Copy Markdown
Contributor

🌟 Thank you for your contribution to the Apache Camel project! 🌟
🤖 CI automation will test this PR automatically.

🐫 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 have access to the summary.

⚠️ Be careful when sharing logs. Review their contents before sharing them publicly.

@github-actions
Copy link
Copy Markdown
Contributor

🧪 CI tested the following changed modules:

  • dsl/camel-jbang/camel-jbang-core
  • dsl/camel-jbang/camel-jbang-plugin-tui

⚠️ Some tests are disabled on GitHub Actions (@DisabledIfSystemProperty(named = "ci.env.name")) and require manual verification:

  • dsl/camel-jbang/camel-jbang-core: 1 test(s) disabled on GitHub Actions

💡 Manual integration tests recommended:

You modified dsl/camel-jbang/camel-jbang-core. The related integration tests in dsl/camel-jbang/camel-jbang-it are excluded from CI. Consider running them manually:

mvn verify -f dsl/camel-jbang/camel-jbang-it -Djbang-it-test
All tested modules (6 modules)
  • Camel :: JBang :: Core
  • Camel :: JBang :: MCP
  • Camel :: JBang :: Plugin :: Route Parser
  • Camel :: JBang :: Plugin :: TUI
  • Camel :: JBang :: Plugin :: Validate
  • Camel :: Launcher :: Container

⚙️ View full build and test results

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant