This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch feat/camel-tui in repository https://gitbox.apache.org/repos/asf/camel.git
commit 13089e2ad85130be043cbfe9382634117a9a4ceb Author: Claus Ibsen <[email protected]> AuthorDate: Mon May 18 14:28:36 2026 +0200 TUI: move HTTP tab to position 6 (after Endpoint); use singular tab names Tab order is now: Overview | Log | Route | Consumer | Endpoint | HTTP | Health | Inspect | Circuit Breaker Co-Authored-By: Claude Sonnet 4.6 <[email protected]> --- .../dsl/jbang/core/commands/tui/CamelMonitor.java | 30 +++++++++++----------- 1 file changed, 15 insertions(+), 15 deletions(-) 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 caa8bca23788..984623a46d9d 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 @@ -123,10 +123,10 @@ public class CamelMonitor extends CamelCommand { private static final int TAB_ROUTES = 2; private static final int TAB_CONSUMERS = 3; private static final int TAB_ENDPOINTS = 4; - private static final int TAB_HEALTH = 5; - private static final int TAB_HISTORY = 6; - private static final int TAB_CIRCUIT_BREAKER = 7; - private static final int TAB_HTTP = 8; + private static final int TAB_HTTP = 5; + private static final int TAB_HEALTH = 6; + private static final int TAB_HISTORY = 7; + private static final int TAB_CIRCUIT_BREAKER = 8; // Overview sort columns private static final String[] OVERVIEW_SORT_COLUMNS = { "pid", "name", "version", "status", "total", "fail" }; @@ -426,16 +426,16 @@ public class CamelMonitor extends CamelCommand { return handleTabKey(TAB_ENDPOINTS); } if (ke.isChar('6')) { - return handleTabKey(TAB_HEALTH); + return handleTabKey(TAB_HTTP); } if (ke.isChar('7')) { - return handleTabKey(TAB_HISTORY); + return handleTabKey(TAB_HEALTH); } if (ke.isChar('8')) { - return handleTabKey(TAB_CIRCUIT_BREAKER); + return handleTabKey(TAB_HISTORY); } if (ke.isChar('9')) { - return handleTabKey(TAB_HTTP); + return handleTabKey(TAB_CIRCUIT_BREAKER); } // Tab cycling @@ -1138,13 +1138,13 @@ public class CamelMonitor extends CamelCommand { Line[] labels = { Line.from(" 1 Overview "), Line.from(" 2 Log "), - Line.from(" 3 Routes "), - Line.from(" 4 Consumers "), - Line.from(" 5 Endpoints "), - Line.from(" 6 Health "), - Line.from(" 7 Inspect "), - Line.from(" 8 Circuit Breaker "), - Line.from(" 9 HTTP "), + Line.from(" 3 Route "), + Line.from(" 4 Consumer "), + Line.from(" 5 Endpoint "), + Line.from(" 6 HTTP "), + Line.from(" 7 Health "), + Line.from(" 8 Inspect "), + Line.from(" 9 Circuit Breaker "), }; Tabs tabs = Tabs.builder()
