This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch fix/camel-tui-circuit-breaker
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/fix/camel-tui-circuit-breaker 
by this push:
     new ef8bacd35566 TUI: fix missing up/down navigation on Circuit Breaker tab
ef8bacd35566 is described below

commit ef8bacd355663f3692ab7c5619b1272bad361fa3
Author: Claus Ibsen <[email protected]>
AuthorDate: Sat May 16 15:36:20 2026 +0200

    TUI: fix missing up/down navigation on Circuit Breaker tab
    
    Wire cbTableState into navigateUp/navigateDown so arrow keys
    move the selection as on other tabs.
    
    Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
---
 .../org/apache/camel/dsl/jbang/core/commands/tui/CamelMonitor.java   | 5 +++++
 1 file changed, 5 insertions(+)

diff --git 
a/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/CamelMonitor.java
 
b/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/CamelMonitor.java
index d266188aa94e..54d0e846b871 100644
--- 
a/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/CamelMonitor.java
+++ 
b/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/CamelMonitor.java
@@ -704,6 +704,7 @@ public class CamelMonitor extends CamelCommand {
             case TAB_ROUTES -> routeTableState.selectPrevious();
             case TAB_HEALTH -> healthTableState.selectPrevious();
             case TAB_ENDPOINTS -> endpointTableState.selectPrevious();
+            case TAB_CIRCUIT_BREAKER -> cbTableState.selectPrevious();
             case TAB_LOG -> {
                 logFollowMode = false;
                 logScroll = Math.max(0, logScroll - 1);
@@ -739,6 +740,10 @@ public class CamelMonitor extends CamelCommand {
                 IntegrationInfo info = findSelectedIntegration();
                 endpointTableState.selectNext(info != null ? 
info.endpoints.size() : 0);
             }
+            case TAB_CIRCUIT_BREAKER -> {
+                IntegrationInfo info = findSelectedIntegration();
+                cbTableState.selectNext(info != null ? 
info.circuitBreakers.size() : 0);
+            }
             case TAB_LOG -> logScroll++;
             case TAB_TRACE -> {
                 if (traceDetailView) {

Reply via email to