Repository navigation
Polish the agent pages: phone details and a retry on failure - #4955
Merged
Merged
Conversation
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.
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.
What
A polish pass over the two coding-agent screens, from reading them in a real browser (light and dark, 320–1280 px).
Proof
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.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.503: the page shows the notice, Try again and Cancel; Cancel reaches the agent asaccess_deniedwith itsstate; with the failure lifted Try again offers the organization and access choices and Connect returns a code; answered404the page keeps Connect unavailable and shows no Try again. The Connected agents list at 390 px, light and dark, no overflow.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 --checkreports onlyskill-detail-pane.tsxfrom 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.AUTH-B22, the SET-F85 phone sentence and the two automation rows.Not here