@devries-cameron20 / t3code-1 / commits / 50f918c57a
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

fix(web): allow expanding duplicate tool call commands (#10981)

Yash Singh committed Sep 9, 2026 at 16:26 UTC 50f918c57a2df85bd97612b958386aaca035dcab
1 file changed +3 -6
apps/web/src/components/chat/MessagesTimeline.tsx
+3 -6
@@ -3309,13 +3309,12 @@ const PlainWorkEntryRow = memo(function PlainWorkEntryRow(props: {
3309 workspaceRoot,
3310 })
3311 : null;
3312 - const commandMatchesVisibleLabel = workEntry.command?.trim() === previewText.trim();
3312 const canExpand =
3313 (showFailedIndicator && previewText.trim().length > 0) ||
3314 (workEntry.itemType === "mcp_tool_call" && workEntry.toolData !== undefined) ||
3315 Boolean(
3317 - (!commandMatchesVisibleLabel &&
3318 - (workEntryRawCommand(workEntry) || workEntry.command?.trim())) ||
3316 + workEntryRawCommand(workEntry) ||
3317 + workEntry.command?.trim() ||
3318 workEntry.detail?.trim() ||
3319 workEntry.changedFiles?.length ||
3320 viewedImage,
@@ -3396,9 +3395,7 @@ const PlainWorkEntryRow = memo(function PlainWorkEntryRow(props: {
3395 <span
3396 className={cn(
3397 "min-w-0 flex-1",
3399 - expanded || (commandMatchesVisibleLabel && !canExpand)
3400 - ? "whitespace-pre-wrap break-words select-text"
3401 - : "truncate",
3398 + expanded ? "whitespace-pre-wrap break-words select-text" : "truncate",
3399 headingClass,
3400 )}
3401 onClick={expanded ? stopRowToggle : undefined}