Repository navigation
feat(web): agent tab chip with a circling light, floating browser control bar - #10
Merged
Merged
Conversation
…trol bar While an agent drives a browser tab with the panel shut, a chip beside thread details names the site (shopify.com, localhost:5233) and opens that tab in one click, so the panel toggle keeps its own job. A light circles the chip, and the agent's tab in the panel, while the turn runs; it only rotates a layer, stepped to 30fps and paused off screen, so the page never repaints for it. The arrow replaces the provider logo and spinner, and the page no longer gets an accent frame. Streamed browser tabs show who is in control as a bar floating over the page: "Watching / Take control" and "You're in control / Stop". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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.
Clicking the spinning badge on the right panel toggle opened the add-surface menu instead of the tab the agent was using, and the spinner with the provider logo read poorly. This gives the agent's tab its own chip that names the site, marks activity with a light circling the border, and turns streamed-browser control into a floating bar over the page.
Summary
bluecode/siteName.ts):admin.shopify.com→shopify.com,www.bbc.co.uk→bbc.co.uk, shared hosts stay whole (app.vercel.app), anything with a port keeps it (localhost:5233,box.tail1234.ts.net:5173). A short suffix list instead of tldts, which would add ~46 KB gzipped to the web bundle.AgentOrbit+agent-activity.css): a conic-gradient layer masked to the 1px border ring, rotating viatransformonly,steps(96)over 3.2s (30fps), paused off screen, in hidden windows and under reduced motion byobserveVisibleAnimation(reduced motion shows a static accent border instead). It shows only whileagentDrivenPreviewTabIdsays the agent is driving: a running turn, not waiting on the user, not held by a person.useAgentDrivingno longer returns the provider instance id; only the removed logo read it.Evidence
Paint cost, headless Chromium, 3s trace per style:
Real app (dev server,
?agentDriving):localhost:5233, and its tooltip carried the page title.Screenshots were reviewed in the T3 thread; not attached here.
siteName.test.ts: 17 cases cover subdomains, country second levels, shared hosts, localhost, IPv4/IPv6, ported dev hosts, a trailing dot and non-http URLs.vp run check:changedandvp run i18n:checkpass.New strings ("You're in control", "Stop") are in all 10 locales; the removed ones were deleted line by line.
Merge Danger
Door: two-way
Client only: no contracts, no server changes, no migrations. Upstream files carry small edits marked
BlueCode::ChatView,RightPanelTabs,PreviewView.PanelLayoutControlsonly loses earlier BlueCode code.Blast Radius: visual
🤖 Generated with Claude Code
Opus 5.5 via Claude Code in T3 Code