Skip to content

feat(platform): connect a coding agent in the setup wizard - #4967

Merged
yannickmonney merged 2 commits into
mainfrom
feat/connect-agent-in-setup
Oct 13, 2026
Merged

yannickmonney merged 2 commits into
mainfrom
feat/connect-agent-in-setup

Conversation

@yannickmonney

@yannickmonney yannickmonney commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

What

The setup wizard's last step ("Ready to go") lists what to do next: connect a provider, invite teammates. It gains a third row, Connect your coding agent to build and fix automations. with Connect an agent. The button opens the guided setup (client tabs, the verified commands, the live "Connected" line) in place: the wizard does not navigate and does not mark onboarding complete, so the person is still in it when the agent has signed in, and the row turns to a check — Coding agent connected: Claude Code. — like the provider row. Go to Home completes onboarding as before.

  • Only where it can be kept. The row shows once the deployment is known to let agents sign in and this person may connect one (mayConnect), or when an agent of theirs is already connected; while that is unknown, or where operators switched agent sign-in off, there is no row.
  • Focus. The button turns into the done marker while the dialog is open, so the dialog's opener is gone when it closes; the row takes focus (tabIndex=-1, restoreFocusRef) and a screen reader reads the new state. Closing without a connection returns focus to the button.
  • A layout fix the new browser test found. At 320 px in German and French the existing rows were already clipped — Teammitglieder einladen / Inviter des coéquipiers left the list (overflow-hidden list, a long word holding the sentence wide). Rows now wrap: the sentence takes what the button leaves; where they do not fit side by side, the button goes under it, right-aligned. English at 1280 px looks as before.
  • Docs in English, German and French: a "Connect a coding agent" section of the workspace guide. Manual layer: AUTH-F37, the setup guide's list of finish actions, a reference row.

Not in this PR: a wizard step of its own (it would need Skip/Back handling in every e2e helper and the docs videos); the row does not change what onboarding means.

Proof

  • Unit: the row offers the setup in place without calling onFinishTo; no row while access is unknown or refused or without a workspace; the done state names the agent, also when sign-in was switched off since. A mutant that always shows the row fails its test.
  • Real Chromium (new finish-step.browser.test.tsx, 15 tests): every row and button stays inside the list at 320/390/1280 px in English, German and French; an audit in both themes, to connect and connected; an agent signing in while the dialog is open → Escape → focus is on the row; nothing connected → focus returns to the button.
  • Live on the docs capture stack, walking the real Create organization wizard to its last step: English at 1280 px shows three rows; German at 320 px wraps every row with its button under the sentence, none clipped; French at 390 px likewise. The owner's access query answered mayConnect, so the row was there.
  • The real Claude Code 2.1.296, with the wizard on its last step (a new organization) and the dialog open on Waiting for your agent to sign in…: Claude Code printed its authorize address, the consent page read Connect Claude Code to Tale for that organization, and after Connect the dialog — left alone, no reload — changed to Connected: Claude Code; Escape closed it and the row read Coding agent connected: Claude Code. with focus on it and no button left.
  • Gate on the committed tree (pinned bun 1.4.2): format, conflicts, links, manual, knip, lint, both typechecks, shared, server+pii, UI, the changed browser test and docs tests green.

@yannickmonney yannickmonney changed the title feat(platform): connect a coding agent from the wizard's last step feat(platform): connect a coding agent in the setup wizard Oct 13, 2026
@yannickmonney
yannickmonney added this pull request to the merge queue Oct 13, 2026
The setup wizard's closing step lists what to do next; it gains a row
that connects a coding agent to the workspace just made. It opens the
guided setup in place, so the person is still in the wizard when the
agent has signed in and the row turns to a check naming it; Go to Home
completes onboarding as before. The row appears only where the person
may connect an agent.

The rows now wrap: at 320 px in German and French a button no longer
leaves the list. AUTH-F37, setup.md and a reference row.
A section of the admin guide in all three languages: the wizard's row,
the Connected agents page, and the key for deployments that switched
agent sign-in off.
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