Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(clients): show the submitted answers on user input rows #10417

ClosedMnigos(GitHub profile, opens in a new tab)wants to merge 4 commits intomain fromrefs/pull/10417/headopened View on GitHub

Showing 7 changed files with 112 additions and 1 deletion (loading 4).

x
0 of 7 viewed, 7 left
46 additions and 0 deletionsapps/mobile/src/lib/threadActivity.test.tsModified
View file
@@ -3384,3 +3384,49 @@
expect(group.activities[0]?.getFullDetail()).toBeNull();
+​
+describe("user input answers", () => {
+ it("shows the submitted answers on the resolved row, labelled by their questions", () => {
+ const turnId = TurnId.make("turn-answers");
+ const thread = makeThread({
+ id: ThreadId.make("thread-answers"),
+ projectId: ProjectId.make("project-1"),
+ title: "Answers",
+ activities: [
+ makeActivity({
+ id: EventId.make("asked"),
+ kind: "user-input.requested",
+ summary: "User input requested",
+ createdAt: "2026-04-01T00:00:01.000Z",
+ turnId,
+ payload: {
+ requestId: "req-1",
+ questions: [
+ {
+ id: "approach",
+ header: "Approach",
+ question: "How should we proceed?",
+ options: [],
+ },
+ ],
+ },