authorgravatar for mcmelon@nodiumhosting.commel <mcmelon@nodiumhosting.com> 2026-07-20 10:35:47+02:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-07-20 08:35:47+00:00
logd7baa37e5c25a1335a117ee3c9f5b5b0d5bbd832
tree3842a77a1e09debaded48336d815aac06ea188b4
parent68ea280388bed4cf9229a4667b4f8a7b5b076105
signature Signed by PGP key B5690EEEBB952194

Fix incorrect pluralization of “entry” (#3933)


1 files changed, 7 insertions(+), 2 deletions(-)

apps/web/src/components/chat/MessagesTimeline.tsx+7-2
......@@ -1157,7 +1157,13 @@ function WorkGroupToggleTimelineRow({
11571157 row: Extract<TimelineRow, { kind: "work-toggle" }>;
11581158}) {
11591159 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";
11611167
11621168 return (
11631169 <button
......@@ -1185,7 +1191,6 @@ function WorkGroupToggleTimelineRow({
11851191 ) : (
11861192 <span className="font-medium text-foreground/82">
11871193 +{row.hiddenCount} previous {labelNoun}
1188 {row.hiddenCount === 1 ? "" : "s"}
11891194 </span>
11901195 )}
11911196 </button>