The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 24, 20:15 UTC
Fix incorrect pluralization of “entry” (#3933)
mel committed
Jul 20, 2026 at 10:35 UTC
d7baa37e5c25a1335a117ee3c9f5b5b0d5bbd832
1 file changed
+7
-2
apps/web/src/components/chat/MessagesTimeline.tsx
+7
-2
@@ -1157,7 +1157,13 @@ function WorkGroupToggleTimelineRow({
1157
row: Extract<TimelineRow, { kind: "work-toggle" }>;
1158
}) {
1159
const ctx = use(TimelineRowCtx);
1160
- const labelNoun = row.onlyToolEntries ? "tool call" : "log entry";
1160
+ const labelNoun = row.onlyToolEntries
1161
+ ? row.hiddenCount === 1
1162
+ ? "tool call"
1163
+ : "tool calls"
1164
+ : row.hiddenCount === 1
1165
+ ? "log entry"
1166
+ : "log entries";
1167
1168
return (
1169
<button
@@ -1185,7 +1191,6 @@ function WorkGroupToggleTimelineRow({
1191
) : (
1192
<span className="font-medium text-foreground/82">
1193
+{row.hiddenCount} previous {labelNoun}
1188
- {row.hiddenCount === 1 ? "" : "s"}
1194
</span>
1195
)}
1196
</button>