web-ui: loading state and the live thinking trace - #1054
Open
time-attack wants to merge 1 commit into
Open
Conversation
Loading: a 3×3 pixel-grid loader replaces the wave loader on the chat surface, the working label shimmers, and the live status above the composer shows the elapsed time of the current tool. Thinking: the streaming assistant row renders the reference Thinking trace — open while the run is active with a shimmering "Thinking" / "Searching the web" / "Running tools" header, reasoning paragraphs, tool rows and search results fading up onto a guide line as they arrive — and settles to a collapsed "Thought for Ns" / "Searched the web" / "Ran N tools" header. Tool rows gain the compact label + mono detail layout the trace relies on. Restores upstream's sandbox tool categorisation helpers in the timeline so unified sandbox calls keep their labels and output.
This was referenced Sep 10, 2026
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.
Summary
Loading: a 3×3 pixel-grid loader replaces the wave loader on the chat surface,
the working label shimmers, and the live status above the composer shows the
elapsed time of the current tool. Thinking: the streaming assistant row renders
the reference Thinking trace — open while the run is active with a shimmering
"Thinking" / "Searching the web" / "Running tools" header, reasoning
paragraphs, tool rows and search results fading up onto a guide line as they
arrive — and settles to a collapsed "Thought for Ns" / "Searched the web" /
"Ran N tools" header. Tool rows gain the compact label + mono detail layout
the trace relies on. Restores upstream's sandbox tool categorisation helpers in
the timeline so unified sandbox calls keep their labels and output.
Demo
First: the pixel-grid loader, shimmer label and elapsed counter while a command runs. Second: the trace opens live with "Thinking" then "Running tools", tool rows fade in as they run, and it settles to "Thought for Ns" / "Ran 4 tools".
Verification
Typecheck, the full
plugins/web-uisuite, eslint and prettier pass at this level of the stack (each level is verified on its own, on top of the previous one). Live QA of the finished stack ran in a browser-onlydev-instanceagainst a seeded conversation (tool run, markdown table, TypeScript and diff fences, a pending approval, ⌘K, list pages, settings), in light and dark and at phone width.Stack
Merge in order; each PR is based on the one above it and retargets automatically when its base merges.