This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 2666f8809ee6 camel-tui: Add clickable hyperlinks to HTTP tab paths and
URLs
2666f8809ee6 is described below
commit 2666f8809ee6f0babb0160623eeaa5d2000aed6a
Author: Claus Ibsen <[email protected]>
AuthorDate: Tue Jul 28 14:19:08 2026 +0200
camel-tui: Add clickable hyperlinks to HTTP tab paths and URLs
Table PATH column shows /api/hello as clickable link to full URL.
Detail panel shows full URL as clickable hyperlink. Probe URL also
uses hyperlink.
Co-Authored-By: Claude Opus 4.6 <[email protected]>
Signed-off-by: Claus Ibsen <[email protected]>
---
.../java/org/apache/camel/dsl/jbang/core/commands/tui/HttpTab.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/HttpTab.java
b/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/HttpTab.java
index 565d1ec33287..257400ba3997 100644
---
a/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/HttpTab.java
+++
b/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/HttpTab.java
@@ -1220,7 +1220,8 @@ class HttpTab extends AbstractTableTab {
String hitsStr = ep.hits > 0 ? String.valueOf(ep.hits) : "";
rows.add(Row.from(
Cell.from(Span.styled(method, methodStyle(method))),
- Cell.from(path),
+ Cell.from(Span.styled(path,
+ ep.url != null ? Theme.info().hyperlink(ep.url) :
Style.EMPTY)),
rightCell(hitsStr, 8),
Cell.from(consumes),
Cell.from(produces),