Repository navigation
feat(agents): Design v3 "Mono", side-bar layouts, safer approvals, faster long chats - #69
Merged
Merged
Conversation
The owner's brief: every place looked the same, with no difference between where you prompt and where you read details. v3 gives each kind of place its own tone, edge and type. - FriedLiver Dark/Light become zero-chroma OKLCH; the accent is white with black ink in dark (16.6:1) and black with white ink in light (18.1:1). The other four themes are unchanged. - Zones (COMPONENTS.md §0.2): a lifted, edged prompt (composer and the board's task box); your messages as right-aligned bubbles; the reply larger with a 1.65 line height; steps small and secondary; a decision-blue bar on the decision waiting on you; the details rail and tab strip recessed to the shell tone with eyebrow labels. Every size follows --fs. - Switch knobs take the accent's ink (--toggle-thumb), so "on" stays visible on a white track; light --fg-50 at 66% and secondary text at .455 keep 4.5:1. - Speed: far-off transcript items use content-visibility, the rail is a containment boundary, and composer focus no longer animates its large shadow. On a 1,112-item chat a relayout went from 39.7 ms to 4.9 ms. - Fixes found while checking: /discuss rows could widen their card (minmax(0, 1fr)); half-cut transcript text showed between the banners and the prompt. - Harness: spill checks pause animation (a spinning status ring's box read as a 1-2px spill); the composer focus check follows the documented v2 neutral ring. Composer freeze hash re-approved per the owner's brief (test/composer-frozen.test.ts). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019G3JrWKwQujPTXSV7m9Nwv
…ound The agent webviews now export as a static site (scripts/web-export.mjs; `npm run web`), which vercel.json builds and deploys. The fixture's times move to the viewer's clock, so a copy opened days later still reads "20s ago". Running every surface through axe-core 4.10 (WCAG 2.2 AA), a Tab walk, Reflow at 320px, forced colours and reduced motion found these, all present before v3: - Enter on a focused Deny approved the request: the waiting decision's page-wide keys took Enter from the button (chat and approval cards; in the Inbox it started the hold that allows). Enter, Space and Tab on a control now belong to the control (ownKey). - The message box was a keyboard trap (WCAG 2.1.2): Shift+Tab changes the mode and, while a request waits, Tab its scope. Ctrl+M (macOS Ctrl+Shift+M), VS Code's "Toggle Tab Key Moves Focus", hands Tab back; the hint and aria-description say so. - Structure: the chat's name is the page h1; main, nav and h2 landmarks; reply headings get aria-level under the page; the conflict mark gets role="img"; the permissions action column gets a header; the /discuss jump links reach 28px. axe: 234 nodes to 0. - Forced colours: the selected tab and segment, switches, checkbox checks, timeline marks, plan progress, needs-you bar and composer focus vanished. A forced-colors layer redraws them in system colours, and selection never replaces the focus ring. - The banner gap fill is a real box, so it also holds where shadows are dropped. The harness's overflow probe pauses animation like the spill check, and new checks cover Enter on Deny, the Tab toggle and its screen-reader text; test/webExport.test.ts guards the Vercel config and the forced-colours layer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019G3JrWKwQujPTXSV7m9Nwv
… key hint An audit of all 30 UI pages (both themes) found three things: - The em type steps compound when components nest, so some text fell to 8.5-9.9px (counts, mini badges, diff stats). The steps now have a 10px floor (--t-min). Eight sub-10px sizes collapse into one. - The folded-steps label and a tool's IN/OUT labels were secondary text at 50% opacity: 2.3:1 on the light page, 2.9:1 on the dark one. They now use --fg-50, which is the same idea at 4.5:1 or better. - The Agent Manager's Start button drew its Enter hint as a plain keycap, which is text-coloured on a text-coloured button: invisible in both themes. It now goes through the button's own key slot. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019G3JrWayZ2FtaunhfBPvst
… inset The page was the odd one out among the full-page views: an 18px untracked title at a 24px inset and 13.65px section headings. It now uses the same tokens as Agent Manager and Agents & Accounts (20/600 tracked title, 20px gutter, 13px headings). The design-system ratchet baseline drops by the three raw px values this removes. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019G3JrWayZ2FtaunhfBPvst
A pill's text was 0.85em of its parent, so the same 18px pill showed 10px text in a card head or step row, 11px in a chat head and 12px in the queued bar. It is now 0.85 of the base size (as the timestamp already is), so every pill reads at 11px and still scales with the font-size setting. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019G3JrWayZ2FtaunhfBPvst
A small button's text was 0.9em of its parent, so the same 22px button showed 10px text in a step row, 10.5px in the Agent Manager's list, 11.7px on most pages and 13.5px under a reply. It is now 0.9 of the base size: 11.7px everywhere, still scaling with the font-size setting. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019G3JrWayZ2FtaunhfBPvst
Both were 5px beside 6px siblings of the same size; they now use --r-ctl. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019G3JrWayZ2FtaunhfBPvst
The badge took --t-85 of the text around it, so it was 10px in the chat rail and 11px on the board, and the Permissions headings had their own lighter, greyer version. It is now 85% of the base size and the Permissions override is gone. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019G3JrWayZ2FtaunhfBPvst
A puck is a fixed size but its initial took its size from the text around it, so 20px pucks showed a 10px initial in /discuss and 11px elsewhere. Initials are now sized from the base size. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019G3JrWayZ2FtaunhfBPvst
- Agent Manager list: group names (Needs you, Working…) are the list's headings, in the text colour at the rows' size with room above; column heads go from 10px to 11px. - Inbox: the Careful / Review / Routine lane names are semibold. - Agents & Accounts and Permissions: running text stops at a readable line length; the pages keep their full width. - Chat rail: a working agent's ring no longer touches the label above. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019G3JrWayZ2FtaunhfBPvst
…archived count matches its row - Agent map: a chat running on Auto has a badge in the corner of its node, and a long title ran underneath it. Its title now stops four characters sooner. - Chat header: 12px between the agent's puck and the chat's name, so the ring drawn around a working agent no longer crowds the first letter. - Agent Manager counts: "archived" was a step smaller than the counts beside it (0.9em of a row that is already 0.9em). It takes the row's size. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019G3JrWayZ2FtaunhfBPvst
…name Below 640px each permission is a block (what it allows, where, then when and who asked) with Revoke beside it, instead of five squeezed columns where the agent's name ran under the button. Column headers no longer wrap, and "and below" no longer breaks mid-word. Below 600px the list drops the branch chip from the title line so the task's name keeps the row. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019G3JrWayZ2FtaunhfBPvst
The card says these files "always ask, every time", and Accept all on a permission card already left them waiting. Three paths answered anyway: - an agent's own question about such a file was answered for the user when the chat was on Edit automatically; - a write through the client was written without a review on Edit automatically, or on Accept all for the turn; - a delete or move, which carries no diff, was never seen as careful at all, so a rule or the countdown could answer it. Now the host holds each of them for the user's own yes, and Accept all skips the waiting review. Auto stays full access: it is the level the user confirmed for exactly that. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019G3JrWayZ2FtaunhfBPvst
A link button is as tall as its letters (11 to 13px), a tab's close is 16px square and a composer pill 18px tall. Each keeps its drawn size and gains an invisible area around it, so a click a few pixels off still lands. Checked on every exported page: no neighbouring control's centre moves to another control. A file link set in code used the link colour on the code well, 4.49:1 in the light theme; it now carries a little of the text's ink (5.3:1). Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019G3JrWayZ2FtaunhfBPvst
The pressed state of a secondary or quiet button set its own outline (none outside high contrast) after the focus rule, so a toggle that is on, such as Wrap on a code block, showed no sign of keyboard focus. The hover outline did the same to any focused button under the pointer. Both now apply only while the button is not keyboard-focused. Found by focusing every control on every exported page from the keyboard; no other control was without a focus mark. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019G3JrWayZ2FtaunhfBPvst
The harness decided whether to send recent folders from the page's address, and an exported page has no query string, so "Welcome, first run" in the static site showed the returning user's page. The harness now decides it when it writes the page. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019G3JrWayZ2FtaunhfBPvst
With the box empty and a request waiting, Tab changes the request's scope instead of moving focus. That was told only in a tooltip and to screen readers. The composer's hint line now says it, with the key that gives Tab back to focus, and only while such a request waits. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019G3JrWayZ2FtaunhfBPvst
On a tab shrunk to its mark the status shape was placed for an 8px dot, but it draws at 12px: it hung 6px below the mark and covered most of it. The badge now uses the small 10px shape and is placed from its own size, its bottom and right edges 2px past the mark's. The project's interactive tab-strip check flagged this (on the base branch too). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019G3JrWayZ2FtaunhfBPvst
…s the room With tabs shrunk to marks, the open tab still gave its status its own slot, so a chat on Auto kept 55px of title in a 300px side bar and 100px at 420px. Its status now sits on its mark like every other tab's: 74px and 119px of title, and one way to read the strip. Interactive checks (ui-harness): four were wrong about the page, not the page about them. The text-size keys were pressed as Ctrl on a page drawn as macOS; the accounts fixture has five cards since the custom agent; a turning status arc was measured by its turned bounds; the open tab's edge was compared without a pixel of tolerance. Here 321 pass; the three left are the open tab's title at two tabs in 420px (106px, 110 wanted, with the Auto badge) and the image gallery, whose fixture images are not on this machine. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019G3JrWayZ2FtaunhfBPvst
Error notices toast for a moment and leave the transcript; later they
are only under "N errors" in the chat's menu. So a chat opened after its
agent failed said "Problem" over an empty page, and the way out ("Use 6
Luna") was two clicks away in a menu.
The error a chat ends on now stays in the transcript with its actions,
and does not toast beside itself. Once anything follows it, it is
history like the others. A test covers which error stands.
Interactive checks brought in line with the toast design and the primary
button's class: approvals 36 of 36, agent errors 34 of 34.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019G3JrWayZ2FtaunhfBPvst
The area added around link buttons reached 2px past each end, and a link at the edge of an Agent Manager card, row or sheet made that box 2px wider than its content at 480px (the project's overflow check found it). The area is now above and below the link only. Checked on every exported page at 1440, 480 and 300px: no box, and no page, scrolls further with the pointer areas than without. Interactive checks: the map is a tree, so the fold of done agents is opened only where one is drawn; a working avatar's ring is its own decoration, not content out of its box. Subagent detail: 41 of 41. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019G3JrWayZ2FtaunhfBPvst
A tab's status mark stood a full gap (8px) from the title. The mark grew from 8 to 12px some time ago, and the open tab's title at its minimum width had slipped to 106px, under the 110 the strip promises. The mark now sits 4px from what it follows, so every tab's title gains 4px and the open one is back at 110, with no change to when the strip folds. Interactive checks, main run: 323 pass; the one left is the image gallery, whose fixture images are not on this machine. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019G3JrWayZ2FtaunhfBPvst
At 480px the hint squeezed the model pill to "Cla…" and was itself cut in the middle of a key name. The hint now shrinks first, and under 640px of composer its second half (the key that gives Tab back to focus) goes whole, leaving "Tab: once, this chat or always" uncut. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019G3JrWayZ2FtaunhfBPvst
In a narrow card the head cut both the target and the risk pill, so a force-push read "Rewrites shared his…". The target now gives way first: the card shows it whole just below, and the pill is the one place the risk is named. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019G3JrWayZ2FtaunhfBPvst
The legend over the map explains status by shape (a bullseye needs you, an arc is working, a tick is done, a crossed ring a problem, a hollow ring idle), as every other view draws it. The nodes themselves had a plain dot whose only difference was its colour. They now carry the same shapes, so the map reads without telling red from green and agrees with its own legend. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019G3JrWayZ2FtaunhfBPvst
At 480px the Welcome page's "What do you want to build or change? Claude will start on it." was cut mid-word at the Start button. No other text input's placeholder is cut without one at 300 or 480px. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019G3JrWayZ2FtaunhfBPvst
… the edit buttons stay together
At 300px:
- A running discussion drew its positions side by side, each column
some 85px wide, so a quote broke into one letter a line. Under 480px
the positions stack at the card's full width and a tile's head and
quote line wrap.
- The chat's name had about 50px ("Fix for…") beside the status pill.
Under 340px of header the pill keeps its shape and gives its words'
room to the name; the words are its tooltip, and the tab says them.
- "Accept all" sat beside "1 edit waiting" with "Reject all" alone on
the next line. The two are one group and wrap together.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019G3JrWayZ2FtaunhfBPvst
A scan of every page at 300, 380, 480 and 640px for text a few letters
wide found these, now gone:
- Agents & Accounts: a custom agent's card (Check, Edit, Remove) left
its name 36px, nine lines tall, with Remove past the card's edge. The
head wraps: the name keeps a readable width, the buttons go under it.
- A link card's title ("Asked Gemini") was cut to 34px by a time that
only shows on hover. The time gives way first (cut clean, in the time
component); in a side bar the "by agent" pill goes whole.
- Agent Manager list in a side bar: the buttons' column kept the page's
150px and the second line was shared with a chip, leaving "W…" of the
activity. The column is as wide as its buttons and the line is the
activity alone.
- Compare: the task's name had 30px beside "3 agents, same task". The
name takes what is left; under 480px the count goes.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019G3JrWayZ2FtaunhfBPvst
Measured on a chat of 2,000 messages (the most a chat keeps), scrolling back to its start: five stalls of 63 to 104ms, the worst frame 100ms; on a four-times-slower machine up to 445ms. Opening it, a streaming reply and typing were already smooth. A profile of the scroll named three costs: - Each of your messages measured its own height as it mounted, forcing a layout per message and laying out ones far off screen that the transcript otherwise skips. The resize observer that was already there reports once on observing, after layout: it measures alone now. - "In this chat", up to a thousand entries, was drawn again on every update of the transcript. It is its own component with its labels made once, redrawn when its messages or the one in view change. - A time formatter was built for every message's time. One is kept per locale and shape. Earlier messages also come in 40 at a time, not 120. Now: no stall and a worst frame of 33ms; on the slower machine the worst is 117ms. First render went from 94 to 74ms. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019G3JrWayZ2FtaunhfBPvst
…ne streams With 300 chats the board ran at half its frame rate (33ms a frame, four stalls over 50ms) for as long as any agent was writing, and took 521ms to open. A profile named two functions: each card's badges and each card's shared files built their own map of every chat by id, 600 maps of 300 on every update. The map is made once per list of chats. Now: 16.7ms a frame with no stall, and 335ms to open. The list went from a 50ms worst frame to 16.8ms. With 60 chats all three views were already smooth. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019G3JrWayZ2FtaunhfBPvst
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
The composer's section of the stylesheet is approved as it stands and frozen (test/composer-frozen.test.ts), and three commits on this branch had edited it: the microphone's radius, the pills' pointer area and the hint line's shrinking. CI's repository tests caught it. The section is byte for byte the approved one again, so the microphone keeps its approved radius. The pointer area and the hint's giving way change no approved control's look; they sit in a block of their own before the section, said to be around the composer and not of it. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019G3JrWayZ2FtaunhfBPvst
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.
Brings
design/v3-mono(2 commits) and the 28 commits on top of it intomain. All changes are inextensions/friedliver-agents.What changes
Design
design/v3-mono).Approvals
.gitwait for the user's own yes under "Edit automatically" and "Accept all" (they were answered or written without review). Auto is unchanged.Chat
Side bar and narrow widths (300–640px)
Agent map
Accessibility
Performance (built views, headless browser)
Verification
vitest runinextensions/friedliver-agents).scripts/ui-harness.mjs): main run 323 pass, 1 fail (image-gallery thumbnails; its fixture images are not on the machine that ran it). All--onlysections pass.Not verified
Generated by Claude Code