davsclaus commented on code in PR #29653:
URL: https://github.com/apache/camel/pull/29653#discussion_r4542861308
##########
dsl/camel-jbang/camel-jbang-plugin-tui/src/main/resources/tui/help/endpoints.md:
##########
@@ -49,8 +49,8 @@ The left box lists all inbound components (consumers), the
right
box lists all outbound components (producers). The integration
name sits in the middle, showing the overall message flow direction.
-The numbers, and the in and out of the throughput chart, are the
-messages that come into the integration and go out of it. An endpoint
+The numbers, the in and out of the throughput chart, and the avg body
+chart are of the messages that come into the integration and go out of it. An
endpoint
Review Comment:
Reflowed the paragraph in bef6ce9409b4, so no line runs long and none starts
with a stranded word.
_Claude Code on behalf of Claus Ibsen_
##########
dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/HistoryTab.java:
##########
@@ -740,10 +741,27 @@ public void refreshWhileVisible() {
if (historyRefreshRequested || historyFollow) {
historyRefreshRequested = false;
historyEntries = data.loadHistoryData(pids);
+ redrawHistoryDiagram();
}
data.refreshTraceData(pids);
}
+ /**
+ * The Diagram view draws the exchange of the history as it was when the
view opened: when the history was read
+ * again and is another exchange now, the diagram is drawn for that one,
so the screen and the table agree
+ * (CAMEL-26864).
+ */
+ private void redrawHistoryDiagram() {
Review Comment:
Added in bef6ce9409b4. The decision is now
`HistoryTab.isOtherExchange(shown, current)`, and
`HistoryTabRenderTest.theDiagramIsDrawnAgainForAnotherExchange` covers it:
another exchange draws again, the same exchange does not (so following with `f`
doesn't flicker), and nothing drawn or no history does nothing. The redraw
itself needs a running integration for the diagram topology, so that part was
checked live, as described in the PR.
_Claude Code on behalf of Claus Ibsen_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]