Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(web,mobile): keep substantive assistant prose outside the settled-turn fold #8075

Closedspiky02plateau(GitHub profile, opens in a new tab)wants to merge 1 commit intomain fromrefs/pull/8075/headopened View on GitHub

Showing 7 changed files with 166 additions and 4 deletions (loading 4).

x
0 of 7 viewed, 7 left
71 additions and 0 deletionsapps/mobile/src/lib/threadActivity.test.tsModified
View file
@@ -620,6 +620,77 @@
]);
});
​
+ it("keeps a multi-paragraph mid-turn message visible while its work still folds", () => {
+ const turnId = TurnId.make("turn-1");
+ const thread = makeThread({
+ id: ThreadId.make("thread-substantive-middle"),
+ projectId: ProjectId.make("project-1"),
+ title: "Substantive narration",
+ latestTurn: {
+ turnId,
+ state: "completed",
+ requestedAt: "2026-04-01T00:00:00.000Z",
+ startedAt: "2026-04-01T00:00:01.000Z",
+ completedAt: "2026-04-01T00:00:08.000Z",
+ assistantMessageId: MessageId.make("assistant-final"),
+ },
+ messages: [
+ {
+ id: MessageId.make("assistant-first"),
+ role: "assistant",
+ text: "Looking around first.",
+ turnId,
+ streaming: false,
+ createdAt: "2026-04-01T00:00:01.000Z",
+ updatedAt: "2026-04-01T00:00:02.000Z",
+ },
+ {
+ id: MessageId.make("assistant-analysis"),