CAMEL-23514: TUI UX improvements - log buffer, scroll fix, sort, badges, JBang detection#23265
Merged
Conversation
…nge, fix scroll drift - Reduce MAX_LOG_LINES from 5000 to 3000 to reduce memory pressure - Show line range in Log block title when buffer is full (e.g. "Log level:INFO #42001-45000") - Fix log view drifting/scrolling when follow mode is off and buffer is at capacity: when new lines evict old ones from the front of the ring buffer, compensate logScroll by the eviction delta so the pinned view stays on the same content Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…cements - ContextDevConsole: emit devMode flag (true when ResourceReloadStrategy active) and Dev Mode line in text output - RouteDevConsole: emit supportsSuspension per route in JSON and text output - TUI Overview: show [dev] badge next to name for integrations running with --dev - TUI Overview: add VERSION to sort cycle - TUI Info tab: show Profile and Reload count on same line (Reload only if > 0); fix reload parsing from nested statistics.reload.reloaded - TUI Routes tab: gate P key and footer hint on route.supportsSuspension; add FROM to sort cycle; rename consumers tab ID column to ROUTE - TUI all sort tabs: add hidden S key to reverse sort order (arrow flips ▼/▲); pressing s to cycle columns resets reverse to false Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…detection - Show Log (*) in yellow in tab header when log lines are present - Rename History tab to Last - Detect JBang platform from process command line; show as 'JBang v0.x.y' Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Contributor
|
🌟 Thank you for your contribution to the Apache Camel project! 🌟 🐫 Apache Camel Committers, please review the following items:
|
Contributor
|
🧪 CI tested the following changed modules:
All tested modules (13 modules)
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A collection of UX improvements to the Camel JBang TUI monitor (
camel-jbang-plugin-tui):Log tab
Log level:INFO #1-3000)logEvictedSeen)2 Log (*)in yellow in the tab header when log lines are present (some runtimes don't include log output)Overview tab
[dev]badge in yellow next to integration name when running with--devRoutes tab
Consumers tab
Info tab
Reload: Non the same line as Profile (only when reload count > 0)JBang v0.138.0stats.reloaded; correct path isstats.reload.reloaded)Sorting (all sortable tabs)
Skey to reverse sort order (arrow flips ▼ → ▲) on the current tabsresets reversal back to normalSuspension gating
Pkey and footer hint only shown when the selected route supports suspensionsupportsSuspensionadded toRouteDevConsoleJSON and text outputDev mode detection
devModeflag added toContextDevConsoleJSON and text outputTab headers
8 History→8 LastClaude Code on behalf of Claus Ibsen