Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(chat): stop hiding real assistant replies inside collapsed turn folds #47146

Mergedt3dotgg(GitHub profile, opens in a new tab)merged 10 commits intomain fromrefs/pull/47146/headmerged by t3dotgg(GitHub profile, opens in a new tab) View on GitHub

Showing 11 changed files with 84 additions and 0 deletions (loading 10).

x
0 of 11 viewed, 11 left
84 additions and 0 deletionsapps/mobile/src/lib/threadActivity.test.tsModified
View file
@@ -1072,6 +1072,90 @@
+ it("drops blank replies and treats subagent items as real work", () => {
+ const subagent: OrchestrationV2TurnItem = {
+ ...base("item-subagent", "2026-06-20T00:00:02.000Z", 2),
+ type: "subagent",
+ subagentId: NodeId.make("child-agent"),
+ origin: "app_owned",
+ driver: ProviderDriverKind.make("codex"),
+ providerInstanceId: ProviderInstanceId.make("codex"),
+ childThreadId: sourceThreadId,
+ prompt: "Review the diff",
+ result: "Approved",
+ };
+ const reply = (id: string, updatedAt: string, text: string) => ({
+ ...assistantMessage(updatedAt),
+ id: TurnItemId.make(`item-${id}`),
+ messageId: MessageId.make(`message-${id}`),
+ text,
+ });
+ // Long enough to be kept when nothing but housekeeping follows it.
+ const plan = reply(
+ "plan",
+ "2026-06-20T00:00:01.500Z",
+ "Round 2 scope covers the fold guard in client-runtime, the web and mobile timeline mappers, and the ACP closing-segment narration filter. Both reviewers get the same brief before we open the pull request.",
+ );
+ const presentedIds = (...work: OrchestrationV2TurnItem[]) =>
+ deriveThreadFeedPresentation(