Skip to content

camel-tui: Keystroke overlay, sorting, and UI improvements#23440

Merged
davsclaus merged 3 commits into
mainfrom
tui-keystroke-overlay
May 21, 2026
Merged

camel-tui: Keystroke overlay, sorting, and UI improvements#23440
davsclaus merged 3 commits into
mainfrom
tui-keystroke-overlay

Conversation

@davsclaus
Copy link
Copy Markdown
Contributor

Summary

  • Add keystroke overlay in footer during recording mode (--record) showing recent key presses with fade effect
  • Add F2 menu toggle to enable/disable keystroke display without --record
  • Make F2 actions menu global (works on all tabs, not just overview)
  • Add sorting to Health tab (group/name/status) and TOTAL column to HTTP tab sort
  • Fix PgUp/PgDn in Log tab
  • Default overview chart to single mode
  • Add .adoc fallback for bundled example documentation

Test plan

  • Run camel monitor and verify F2 opens actions menu from any tab
  • F2 → Show Keystrokes → press keys → verify keystroke badges appear right-aligned in footer
  • Verify keystrokes fade (bright→dim→gone over 2 seconds)
  • Tab 7 (Health) → press s to cycle sort columns
  • Tab 6 (HTTP) → press s to sort by TOTAL
  • Tab 2 (Log) → PgUp/PgDn scrolls by 20 lines
  • F2 → Run Example → select bundled example → press d for docs
  • Verify chart defaults to single mode on startup

🤖 Generated with Claude Code

davsclaus and others added 3 commits May 21, 2026 18:03
Shows recent keystrokes right-aligned in the footer during recording,
with bright-to-dim fade over 2 seconds. Activated automatically with
--record or toggled via F2 menu "Show/Hide Keystrokes".

Co-Authored-By: Claude <noreply@anthropic.com>
…default chart to single

- Health tab: add sort by group/name/status (default: name)
- HTTP tab: add TOTAL to sortable columns
- Log tab: wire PgUp/PgDn into handleKeyEvent
- Overview chart defaults to single instead of all

Co-Authored-By: Claude <noreply@anthropic.com>
- F2 actions menu now works on all tabs, not just overview
- F2 hint shown in footer on all tabs after Esc
- Bundled examples fall back to README.adoc if README.md not found

Co-Authored-By: Claude <noreply@anthropic.com>
@davsclaus davsclaus merged commit cb491a3 into main May 21, 2026
6 checks passed
@davsclaus davsclaus deleted the tui-keystroke-overlay branch May 21, 2026 18:35
@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
@github-actions
Copy link
Copy Markdown
Contributor

🧪 CI tested the following changed modules:

  • dsl/camel-jbang/camel-jbang-plugin-tui
All tested modules (2 modules)
  • Camel :: JBang :: Plugin :: TUI
  • 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