Skip to content

fix(studio): builder toolbar keeps "Open trace" at every width - #798

Merged
LinuxDevil merged 2 commits into
mainfrom
redesign/r2-open-trace
Oct 29, 2026
Merged

LinuxDevil merged 2 commits into
mainfrom
redesign/r2-open-trace

Conversation

@LinuxDevil

Copy link
Copy Markdown
Owner

Between ~861 and 1200px (and whenever an approval is pending) the builder had no link to the run's trace; collapse it to an icon-only 'Open trace' link instead of hiding it, and keep the MOCK badge beside the inline approval.

Ticket: R2 (Agent Forge Studio redesign, audit/forge-redesign/PLAN.md)

Changes

  • fix(studio): pending-approval toolbar keeps the agent name at 1280; tooltips and focus ring
  • fix(studio): builder toolbar keeps "Open trace" at every width

Verification: focused vitest, tsc --noEmit, eslint, affected Playwright specs, light + dark screenshots reviewed; full suite and fallow run in CI.

🤖 Generated with Claude Code

LinuxDevil and others added 2 commits October 29, 2026 16:38
Under the builder-toolbar container rules (920px and below, and 1180px and
below while an approval is pending) the run's trace link collapsed to
display: none, so from about 861 to 1200px - and at any width with a pending
approval - nothing in the wide bar linked to the trace. It now collapses to an
icon-only ExternalLink link (aria-label "Open trace", the title tooltip, same
href) instead.

So the link, the name and the decision genuinely fit at 1024 wide with an
approval pending, that short bar also drops the spacer, the breadcrumb's
"Agents" root, the status pill's text and the inline Approve/Reject labels
(each label stays the accessible name). The MOCK badge stays next to the
inline approval on a mock agent. The icon-only collapse rules are merged so
layout.css has no new clone groups.

Tests: RunStatus unit test for the icon/label/name; studio.spec checks the
link and MOCK badge are drawn unclipped at 1280 and 1024 with an approval
pending; docShots gains x-agents-toolbar-pending-{1280,1024,375}.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ooltips and focus ring

Review round 1 for R2. In the 1180px-and-below approval tier the status pill
now shows only its dot and the breadcrumb drops its "Agents" root, so the
agent's name keeps its room at 1280 (previously "pendi..."). The live status
pill carries its label as a title; Approve/Reject carry a tooltip (following
the busy label) only in the toolbar's inline card. The icon-only trace link
gets a surface-2 hover and an inset focus ring that the left group's clip
cannot cut; the inline decision buttons are sized once (28px).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@LinuxDevil
LinuxDevil merged commit 210bdb3 into main Oct 29, 2026
2 checks passed
@LinuxDevil
LinuxDevil deleted the redesign/r2-open-trace branch October 29, 2026 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant