Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(clients): keep opening responses visible after turns settle #7723

Mergedt3dotgg(GitHub profile, opens in a new tab)merged 1 commit intomain fromrefs/pull/7723/headmerged by t3dotgg(GitHub profile, opens in a new tab) View on GitHub

Showing 4 changed files with 80 additions and 10 deletions (loading 2).

x
0 of 4 viewed, 4 left
65 additions and 6 deletionsapps/mobile/src/lib/threadActivity.test.tsModified
View file
@@ -371,7 +371,7 @@
expect(serializedToolOutputs).toBe(1);
});
​
- it("folds settled turn work while leaving the terminal answer visible", () => {
+ it("keeps the first and terminal assistant messages visible around settled work", () => {
const turnId = TurnId.make("turn-1");
const thread = makeThread({
id: ThreadId.make("thread-3"),
@@ -387,9 +387,9 @@
messages: [
- id: MessageId.make("assistant-commentary"),
+ id: MessageId.make("assistant-first"),
role: "assistant",
- text: "I am checking.",
+ text: "Synthetic deployment checklist\n1. Confirm the deployment is ready.",
turnId,
streaming: false,
createdAt: "2026-04-01T00:00:02.000Z",
@@ -424,8 +424,12 @@
​
const feed = buildThreadFeed(thread);
const collapsed = deriveThreadFeedPresentation(feed, thread.latestTurn, new Set());
- expect(collapsed.map((entry) => entry.id)).toEqual(["turn-fold:turn-1", "assistant-final"]);
- expect(collapsed[0]).toMatchObject({
+ expect(collapsed.map((entry) => entry.id)).toEqual([