Repository navigation
A conversation's turn never folds: each step is a row from its first frame, and nothing is redrawn when it ends - #3024
Draft
ataibarkai wants to merge 16 commits into
Draft
ataibarkai wants to merge 16 commits into
ataibarkai wants to merge 16 commits into
Conversation
A Google Calendar turn showed three steps three ways: finished steps read "List events Googlecalendar" (the app's key), while the step still running sat in a box of its own, app first: "Google Calendar · List events" with a spinner. The box (LiveConnectorStep) said nothing the row does not, so it goes: every step is one row, the action then the app, and a running row differs only by its shimmer and "In progress". Every step now names its app as it was added here (useAppName, from the apps the transcript already reads for logos), not from its key. A running line also tells a screen reader "In progress", as the box did. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Three Google Calendar steps in a row drew three Google Calendar logos down one list. The first step of a run of steps with the same icon (the same app, or the same kind of step) draws it; the steps under it keep its room, empty, so their words stay lined up. Also in a subtask's list of steps. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A running ToolLine now also says "In progress" to a screen reader, so the line's text reads "Asked you…In progress" in the real-browser test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nder it
A run of steps on one app read "List events Google Calendar" on every row, the app's logo and
name repeated down the list while the action was what set the rows apart. Now the app is the
lead: its logo and name once, and each step under it says only what was done ("List events",
"Read the next part of an answer List events, part 2 of 3").
- A folded line that already names the app ("Used Google Calendar") opens to its steps with no
second lead.
- In a "Worked through" fold, a run the Bot's words had split goes on under the app named just
above it, so two "List events" sit under one "Google Calendar".
- An app's call on a line of its own has the app over it, the same way.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…not its name
Replaces the nested "app leads its run" rows with what Atai settled on:
- While a step runs, a run of one app's steps is one line, "Using Google Calendar…", shimmering
and folded, as it already was once done ("Used Google Calendar"). Opened, it lists one row per
step. The open live list (`showLiveSteps`) and the `conversation` prop it needed are gone.
- A row says what was done, not the app's name after it. Under a line that already shows its one
app (`LineShowsApp`), rows draw no logo. Where the steps are on several apps, each row draws its
app's logo (`AppMark`), which shows the app's name on hover and is what a screen reader hears.
- In a "Worked through" line, a lone app call is drawn as a step row like the others, and app rows
the Bot's words had split sit 8px apart as one list's steps do.
- Rows line up: a step that doesn't open keeps the chevron's room where others open, a step row is
spaced as a line of its own is, and an opened list of steps is drawn at one size everywhere.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… on hover "Worked through 2 steps" beside Google Calendar's logo now reads "Worked through 2 steps Google Calendar", the name in gray as a step's detail is. A line whose logos are several apps' names none. The logos on folded lines (a turn's "Worked through", a run's "Used 2 apps") now name their app on hover and to a screen reader, as a step's logo already did (`AppMark`). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…p draw no logo "Worked through 2 steps Google Calendar" now reads "Google Calendar Worked through 2 steps": the app beside its logo, then what was done (`ToolLine`'s new `lead`). The line names its app and its rows leave out that app's logo by one rule (`onlyApp`): the one app among the steps that are on an app. A turn that looked for a tool, then listed events, named Google Calendar on its line and still drew the Google Calendar logo beside "List events", since the rows asked whether every step was on the app. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…the rows that open draw none Under "Google Calendar Worked through 2 steps", "List events" is its chevron and its words, no logo. "Looked for a tool", which opens to nothing, kept the chevron's room and drew its wrench after it, so its words started 21px further in. Where the rows in a list that open draw no mark, a row that doesn't open now draws its mark where their chevron is, as wide, and its words start where theirs do (`markInChevron`). Where they draw marks, it keeps the chevron's room as before. step-rows-layout measures it in Chromium and WebKit: the wrench's centre on the chevron's, and both labels at one x. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t frame, and stay put Filmed through a real run, a conversation's turn was drawn one way while the Bot worked and rebuilt when it finished: its steps folded into one "Worked through 2 steps" line where the first step was, and a step taken after the Bot spoke jumped above its words. Now what the turn shows while it runs is what it keeps. - Only a task's thread folds (`foldTurnWork` loses its "conversation" scope). - A run of app steps, or OpenBot's own tools, is listed open from its first step, one row each, the chevron's room kept on every row; a run on one app names the app on its first row. - "Thinking" is a row shaped like a step's, where the next step goes, inside the run when its steps are all answered. - What the Bot said before a step it went on to take is muted; its answer is not. - A running step says "In progress" to a screen reader only; the shimmer says it to everybody. - Commands, files, pages, subtasks, and refused or failed calls keep the card or line they had. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nned Its row is in the same list as the app step after it, drawn with the same line, and its wrench is a bare 16px icon in that line, not set in a tile. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…orked" follows an app's name in lower case Opened, "Worked through 4 steps" listed "Looked for a tool" as a muted line of its own, its wrench in a gray circle and a gap under it, above rows of app steps drawn bare. A lone call the server ran is now a step row in the same list (ToolActivity), with its own mark, the chevron's room kept, and the same spacing; a tool search opens to the tools it found, as its line of its own does. Calls the app draws itself (a command and its terminal) keep their own cards. Every row draws its own mark, the app's logo included where the line names the app, and a single mark is drawn bare everywhere. Where the line names its one app, what was done carries on from the name in lower case: "Google Calendar worked through 2 steps". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…r case A line on one app names it first, and "worked" carries on from the name in lower case: "Google Calendar worked through 1 step". The test's locator read only "Worked through", so it waited for a line that now reads otherwise. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ude/consistent-tool-rows-25bc36 # Conflicts: # app/src/components/channels/chat-transcript.tsx
…l be; apps looked up early Atai: "I really hate that icon we put next to Thinking, and I really dislike the new Thinking font… I like the shimmer." So "Thinking" is the line it is on main and in a task (the same words, size, tone, and the shimmer swept across the whole line), with no mark beside it. Set in by the chevron's room and a mark's, its word stands where a step's words start: when a step takes its place, the word stays and only the step's mark appears (filmed both ways; flush left, every swap jumped ~30px). The apps added here are looked up as soon as the Bot is on it, not once an app's step is there: a turn's first app step was drawn for a beat as "Googlecalendar" with a letter for its logo. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Conflicts kept both sides: #2973's simpler step row and main's mended sends (workAlone), with approach C's flat runs, app-name lead and Thinking row. Tests about the folded conversation line keep approach C's versions, since a conversation's turn no longer folds here. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
An alternative to #2973 (approach C).
Before (
main) and after (this PR), the same real run ("what's on my calendar tomorrow?") replayed at its recorded pace through the real conversation screen:Videos (GitHub won't take them here; they're in the shared notes folder,
turn-replay/c-flat/):live-run.mp4: the real run, on this branchtwo-app.mp4: a longer run, with two apps, four steps and the Bot talking between themmain-live-run.mp4: the real run onmain, for comparisonEvery visibly different frame of the real run, in order:
The two-app run, frame by frame
What changes
On
main, a conversation's turn is drawn one way while the Bot works and rebuilt when it finishes. The steps fold into one "Worked through 2 steps" line where the first step was, and a step the Bot took after speaking jumps above its words. Every frame looks fine; the turn reads as two drawings of one answer.Here, a conversation's turn never folds. What you watched while it ran is what stays:
main(same word, size, color and shimmer, and no icon). It is set in so its word sits where the next step's words will be: when a step takes its place, the word stays and only the step's icon appears. After a step's answer comes in, "Thinking" is the next entry in that step's list.What stays as it was:
This branch is built on #2973's branch (
5bad4f4), so its diff againstmainincludes #2973's commits.Checks
flat-turn.test.tsx, checks that a finished turn keeps the same rows, the same DOM nodes and the same order when its run ends, with no "Worked…" line. It also checks that in-between words are muted, and that "Thinking" ismain's line with no icon, sitting in the run's list.app-step-rows,work-folded(one test),running-step-shimmer,tool-result-partsandplan-turns.tscand biome pass on the changed files. The full suite hasn't been run end to end locally; CI runs it.Rough edges, as filmed
🤖 Generated with Claude Code