Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
fix(transcript): expand long single-line Agent messages (multica#2282) (#2308)
Jiayuan Zhangc3832302b933
diff --git a/packages/views/common/task-transcript/agent-transcript-dialog.tsx b/packages/views/common/task-transcript/agent-transcript-dialog.tsxindex a315f7ae57..d68949241b 100644--- a/packages/views/common/task-transcript/agent-transcript-dialog.tsx+++ b/packages/views/common/task-transcript/agent-transcript-dialog.tsx@@ -96,7 +96,7 @@ function getEventLabel(item: TimelineItem): string {function getEventSummary(item: TimelineItem): string {switch (item.type) {case "text":- return item.content?.split("\n").filter(Boolean).pop() ?? "";+ return item.content?.split("\n").find((l) => l.trim().length > 0) ?? "";case "thinking":return item.content?.slice(0, 200) ?? "";case "tool_use": {@@ -592,7 +592,7 @@ const TranscriptEventRow = ({(item.type === "tool_use" && item.input && Object.keys(item.input).length > 0) ||(item.type === "tool_result" && item.output && item.output.length > 0) ||(item.type === "thinking" && item.content && item.content.length > 0) ||- (item.type === "text" && item.content && item.content.split("\n").length > 1) ||+ (item.type === "text" && item.content && item.content.length > 0) ||(item.type === "error" && item.content && item.content.length > 0);return (