Skip to content

CAMEL-23598: TUI screenshot action (Shift+F5) to capture screen as ASCII art#23408

Merged
davsclaus merged 6 commits into
mainfrom
CAMEL-23598-tui-screenshot
May 21, 2026
Merged

CAMEL-23598: TUI screenshot action (Shift+F5) to capture screen as ASCII art#23408
davsclaus merged 6 commits into
mainfrom
CAMEL-23598-tui-screenshot

Conversation

@davsclaus
Copy link
Copy Markdown
Contributor

Summary

  • Adds a Shift+F5 keybinding to the Camel TUI monitor that captures the current screen as ASCII art (plain text) and saves it to the current directory
  • Screenshot filename uses timestamp format: camel-tui-screenshot-20260521-094200.txt
  • A green flash message confirms the save (or shows an error) for 3 seconds in the footer bar
  • Uses TamboUI's ExportRequest.export(buffer).text().toFile(path) API

Test plan

  • Compiles successfully
  • Manual: run camel tui, press Shift+F5, verify .txt file is created with screen content
  • Manual: verify flash message appears and disappears after 3 seconds

Claude Code on behalf of Claus Ibsen

@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 github-actions Bot added the dsl label May 21, 2026
davsclaus and others added 3 commits May 21, 2026 11:25
…CII art

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@davsclaus davsclaus force-pushed the CAMEL-23598-tui-screenshot branch from b45ee56 to b72aadc Compare May 21, 2026 09:27
davsclaus and others added 2 commits May 21, 2026 11:31
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 21, 2026

🧪 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

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@davsclaus davsclaus merged commit f67ad68 into main May 21, 2026
6 checks passed
@davsclaus davsclaus deleted the CAMEL-23598-tui-screenshot branch May 21, 2026 10:07
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