Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(web): fold interim turn responses #8828

Mergedmaria-rcksmerged 1 commit intomain fromrefs/pull/8828/headmerged by juliusmarminge View on GitHub

Showing 2 changed files with 8 additions and 17 deletions.

x
0 of 2 viewed, 2 left
4 additions and 9 deletionsapps/web/src/components/chat/MessagesTimeline.logic.test.tsModified
View file
@@ -452,7 +452,7 @@
expect(assistantRow?.assistantTurnDiffSummary).toBe(assistantTurnDiffSummary);
});
​
- it("keeps the first and terminal assistant messages visible around settled work", () => {
+ it("folds the first assistant message and settled work before the terminal response", () => {
const timelineEntries = [
id: "user-entry",
@@ -528,7 +528,6 @@
expect(foldRow?.label).toBe("Worked for 22s");
expect(collapsedRows.map((row) => row.id)).toEqual([
"user-entry",
- "assistant-first-entry",
"turn-fold:turn-1",
"assistant-final-entry",
]);
@@ -544,8 +543,8 @@
​
expect(expandedRows.map((row) => row.id)).toEqual([
"user-entry",
- "assistant-first-entry",
"turn-fold:turn-1",
+ "assistant-first-entry",
"work-toggle:work-entry-1",
"assistant-final-entry",
]);