Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
0281a8d
An app's steps are drawn one way, running or done, by the app's name
ataibarkai Dec 4, 2026
dd763b0
A run of steps on one app draws its logo once
ataibarkai Dec 4, 2026
313d885
A running line's text in the reduced-motion test includes "In progress"
ataibarkai Dec 5, 2026
0a69979
An app leads its run of steps: named once, with what was done on it u…
ataibarkai Dec 5, 2026
17f2e5b
A run of one app's steps is that app's line, and rows show its logo, …
ataibarkai Dec 5, 2026
78e9109
A turn's line on one app names it, and every app's logo names its app…
ataibarkai Dec 5, 2026
683d732
A turn's line on one app leads with its name, and its rows on that ap…
ataibarkai Dec 5, 2026
5bad4f4
A step that doesn't open draws its mark in the chevrons' column when …
ataibarkai Dec 5, 2026
fe85f21
A step the server ran is one more row in a turn's opened list, and "w…
ataibarkai Dec 5, 2026
81b8562
The answered-approval layout test finds the turn's work line in eithe…
ataibarkai Dec 5, 2026
16e2fb1
Merge branch 'main' of https://github.com/CopilotKit/openbot into cla…
ataibarkai Dec 5, 2026
29033cd
A lone step on an app is its app's line from its first call, so a sec…
ataibarkai Dec 5, 2026
9941346
Between steps the last line says "Thinking" itself, and a line never …
ataibarkai Dec 5, 2026
4edde5c
A conversation's turn is one group while it runs: its thoughts on the…
ataibarkai Dec 5, 2026
4b9d73d
Browser tests find the Bot's words on the turn's running line as well…
ataibarkai Dec 5, 2026
84e397e
"See all" is the Button primitive, in line with the subtask rows; a s…
ataibarkai Dec 5, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
302 changes: 238 additions & 64 deletions app/src/components/channels/chat-transcript.tsx

Large diffs are not rendered by default.

21 changes: 17 additions & 4 deletions app/src/components/channels/subtask-step.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
StepOutput,
StepRow,
stepDetails,
stepOpens,
} from "./tool-activity";

type ToolItem = Extract<VisibleChatItem, { kind: "tool" }>;
Expand Down Expand Up @@ -122,6 +123,7 @@ export function SubtaskStep({
}
running={running}
step={step}
doing={running ? steps.at(-1)?.label : undefined}
/>
</span>
</summary>
Expand All @@ -134,9 +136,14 @@ export function SubtaskStep({
{handedBack ? <HandedBack {...handedBack} /> : null}
{step.output ? <StepOutput output={step.output} /> : null}
{steps.length ? (
<ol className="space-y-2">
{foldRereads(steps).map((inner) => (
<StepRow active={running} key={inner.id} step={inner} />
<ol className="space-y-2 text-sm">
{foldRereads(steps).map((inner, _, rows) => (
<StepRow
active={running}
chevronRoom={rows.some(stepOpens)}
key={inner.id}
step={inner}
/>
))}
</ol>
) : null}
Expand Down Expand Up @@ -201,9 +208,15 @@ function SubtaskStatus({
count,
model,
bot,
doing,
}: {
step: StepDetails;
running: boolean;
/**
* The step it is on while it works ("Running a command"), from its own thread: said on its row,
* closed, as the line under the turn's folded line said it before subtasks were rows of their own.
*/
doing?: string | undefined;
handedBack: boolean;
/** It finished with an answer. */
answered: boolean;
Expand All @@ -218,7 +231,7 @@ function SubtaskStatus({
if (running)
return (
<span className="shrink-0 text-muted-foreground">
{by(steps ? `Working · ${steps}` : "Working")}
{by([doing ?? "Working", steps].filter(Boolean).join(" · "))}
</span>
);
if (step.pending)
Expand Down
Loading
Loading