web-ui: tool chips and code blocks - #1057
Open
time-attack wants to merge 1 commit into
Open
Conversation
Tool rows read as compact chips — a 16 px glyph, the action label, and the command or path as a mono chip — with running, done, failed and approval tints; Input and Result payload cards sit on the inset colour. Code blocks get the reference chrome: a header with the language and a Copy control, a line number gutter, tinted rows for diff fences (the highlight.js diff grammar is registered), and the exec output card shows its exit code in green or red.
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
Tool rows read as compact chips — a 16 px glyph, the action label, and the
command or path as a mono chip — with running, done, failed and approval
tints; Input and Result payload cards sit on the inset colour. Code blocks get
the reference chrome: a header with the language and a Copy control, a line
number gutter, tinted rows for diff fences (the highlight.js diff grammar is
registered), and the exec output card shows its exit code in green or red.
Demo
Opening a settled trace, expanding a tool row to its Input and Result cards, then the TypeScript block with its Copy control and gutter and the tinted diff block.
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.