Skip to content

Polish the agent pages: phone details and a retry on failure - #4955

Merged
yannickmonney merged 2 commits into
mainfrom
fix/agent-pages-polish
Oct 13, 2026
Merged

yannickmonney merged 2 commits into
mainfrom
fix/agent-pages-polish

Conversation

@yannickmonney

Copy link
Copy Markdown
Contributor

What

A polish pass over the two coding-agent screens, from reading them in a real browser (light and dark, 320–1280 px).

  • Connected agents on a phone. Below 768 px the list left out its Access and Last used columns, and the row menu offers only Disconnect, so four rows that all read "Claude Code" could not be told apart: nothing said which one held deploy and settings access, which had never called, or (in the view of everyone's agents) whose it was. What a left-out column held now moves under the agent's name: the access badges and a line "Last used 3 hours ago" or "Never used", and, where the person column is also out, whose agent it is. Wide screens are unchanged. Two strings, in English, German and French.
  • The consent page of a coding agent when its read fails. When the server or the network failed to answer the read of the app's details, the page showed "Try again in a moment" with a dead Connect and no way to try again short of reloading. Try again now takes Connect's place and reads the details again. An answer that refused (an unknown app, a session of one organization) is final and offers none. The page and the read's own automatic retries share one predicate for what counts as retryable. Cancel already worked.

Proof

  • Unit: agent-connection-cells.test.tsx (the cell carries access, last use, person; adds nothing where the table has the columns; keeps an ended connection's ending; axe), use-agent-connections-table-config.test.tsx (the real table at 1440, 700, 390 px, both views, asserting what each cell shows), agent-consent.test.tsx (retry after a server failure and after a network failure, kept while it keeps failing with Cancel all the while, none for a final answer, axe). On the old code 5 and 4 of these fail respectively.
  • Real browser (agent-connections-section.browser.test.tsx): a phone shows the words; the existing no-sideways-scroll checks at 320, 390, 640 and 768 px in English, German and French now run with the new content.
  • Real provider, live stack, the read answered 503: the page shows the notice, Try again and Cancel; Cancel reaches the agent as access_denied with its state; with the failure lifted Try again offers the organization and access choices and Connect returns a code; answered 404 the page keeps Connect unavailable and shows no Try again. The Connected agents list at 390 px, light and dark, no overflow.
  • Gate on the committed tree (pinned bun 1.4.2): lint:links, lint:manual, lint:conflicts, knip, oxlint (type-aware) and both typechecks clean; shared 974, platform server + pii 89 114, platform UI 8 128, the two changed browser files 36, docs 716 pass. oxfmt --check reports only skill-detail-pane.tsx from fix(skills): protect stale edits with entity tags #4192, which this change does not touch and fix(platform): repair main's Format, Browser and E2E checks #4949 repairs.
  • Manual layer: AUTH-B22, the SET-F85 phone sentence and the two automation rows.

Not here

On a phone the Connected agents list left out its Access and Last used
columns, and the row menu offers only Disconnect. Several rows read
"Claude Code" alike, and nothing on the screen said which one held the
access to deploy and change settings, which had never called, or whose
it was in the view of everyone's agents.

What a left-out column held now moves under the agent's name: the access
badges and a line "Last used 3 hours ago" or "Never used", and, where the
person column is also out, whose agent it is. The table keeps the same
columns at every width; wide screens are unchanged.

The cells are tested alone and through the real table at each width, and
a real-browser test checks a phone shows the words. The two new strings
ship in English, German and French.
When the server or the network failed to answer the coding agent
consent page's read of the app's details, it showed "Try again in a
moment" with a dead Connect button and no way to try again short of
reloading the page. Cancel already worked.

Where the failure is one that asking again can change, Try again now
takes the dead Connect button's place and reads the details again; an
answer that refused (an unknown app, a session of one organization)
stays final and offers none. The page and the read's own automatic
retries share one predicate for what counts as retryable.

Observed against a real provider with the read answered 503: the page
shows the notice, Try again and Cancel; Cancel reaches the agent as
access_denied; lifting the failure and choosing Try again offers the
organization and access choices, and Connect returns a code. A 404 shows
no Try again.
@yannickmonney
yannickmonney merged commit 2148f61 into main Oct 13, 2026
@yannickmonney
yannickmonney deleted the fix/agent-pages-polish branch October 13, 2026 16:07
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