Repository navigation
A conversation's turn is one line from send to done: open while the Bot works, folded in place once it's done - #3023
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>
…ot works, folded in place once it is done
Filmed on a real run replayed at its own pace, a turn was drawn one way while the Bot worked (a
"Thinking" line that came and went, each step a line of its own styled by where it came from, a
chevron that pushed a row right) and rebuilt another way when it finished: a "Worked through" line
that took the first step's place and moved above what the Bot had said.
Now the turn's line is made when the person sends and never moves. It says what is happening
("Thinking…", "Using Google Calendar…", "Writing…"), and while the Bot works it is open: each step
and each thing the Bot says on the way is added under it in order, every step on one grid, its mark
there from the first frame. The Bot's newest words stay just below, since they may be the answer, and
join the line where they already were when a next step starts. When the run ends the line folds up
over its rows in one motion and says what was done ("Google Calendar Worked through 2 steps"); the
answer is what is left under it. A turn with no steps folds its line away; one with a failed step
stays open.
Approach B of three, for comparison. Not pushed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… counts only Thinking lines of their own Folded once its turn is done, the line kept every row it had drawn while open, out of sight: a long turn's thousands of rows stayed on the page, and a page reading for a step found it there, hidden. Folded, it now draws nothing beneath it, as every folded line doesn't, and draws them again, at rest, if the person opens it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ords after a card are its answer "Google Calendar worked through 2 steps": after the app's name, what was done goes on in lower case, as Atai asked; with no app named it stays "Worked through 4 steps". A turn that went steps, a file the Bot sent, then "Here it is" had no line once it was over: only words just before the card counted as its answer. Words after what stays in view count too, so its line folds over the work and leaves the file and the words in view. "Looked for a tool" is one more row of the turn's list, live and opened again: the turn-line layout test now pins its words, size, ink, 16px bare mark and row height against "List events". The browser tests that drew the old Thinking line, "Worked for" line and group lines read the turn line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…row of it, the file under it A turn whose steps include misses keeps its line open once it is done, its issues counted on it, and the file that arrived stays in view under it. The test read the old group line; it reads that. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eside it and its shimmer across the line Atai disliked the spark beside "Thinking" and its new look. The line now says "Thinking", the one word, in main's face: small, muted, shimmering across the whole width of the line, as the conversation's own "Thinking" line did. Shimmered across the word alone, the band never left it, and it read as a different face. No mark beside it; the mark's room is kept empty, so the words don't move when a step's mark comes. The turn-line layout test checks the look against main's paragraph. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… the allowance is Every turn of a conversation now has its line, so the test's work line matched two; the allowance was given in the first turn, and the second, holding the denial, stays open with its issue. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ction and mended sends main drew a mended send (one that sent nothing, made good by the file a moment later) as a quiet line of work, and added a way to keep a drawn answer as an artifact under its row. Both stay: the row that offers the action is the one the turn line is drawn after, and a mended send is a row of the turn's line, counted on it as an issue as its quiet line counts it, but not holding the line open, since what came of it is the file, in view under the line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… of it, folded, the deck under it 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 B)
Your recorded run, replayed through the real conversation screen at its own pace: every frame that changes visibly. Before is this branch's base (
5bad4f4, #2973 as it stands); after is this PR.A longer run: two apps, four steps, the Bot talking between them, a streamed answer.
Opened again, one list: "Looked for a tool" is one more row, with a bare 16px wrench, on the same grid as the app rows.
"Thinking" as main draws it (main left, this PR right): the same word, face, size and shimmer, with no mark beside it.
Videos:
live-run.mp4andtwo-app.mp4in the shared notes folder,turn-replay/b-live-then-fold/, withnotes.md. Videos can't be uploaded here, so the contact sheets above stand in for them.What it does
Filmed on a real run, a conversation turn was drawn one way while the Bot worked and rebuilt another way when it finished:
Now:
notes.mdlists the transitions that still aren't clean.Built on #2973
This branch is cut from #2973's branch at
5bad4f4, so its diff against main includes #2973's commits. The changes for this approach are the commits after5bad4f4, plus a merge of main.The merge keeps main's new pieces:
The films were taken on
4b16cb526, just before the merge, which doesn't change anything they show.Checks
app/tests/turn-line-layout.test.tsx(new, real browser, Chromium and WebKit, light and dark, phone and laptop widths) walks your run stage by stage. It checks that:🤖 Generated with Claude Code