Repository navigation
Inbox: Connect agent in the Help menu - #4352
Merged
Merged
Conversation
The sidebar's Connect agent pill turns itself off a day after the first agent writes, so long-time users lost it. The Help menu now carries the same pill in its own section after Common questions, always, phone sheet included (code review only leaves it out, as its sidebar and Settings -> Agents do). It is a menu item, so the arrows and Home/End reach it; a press copies the connect prompt and the menu stays open to show Copied.
As its own row it no longer needs the pill look: the rows' link icon and "Connect agent", then the check and "Copied" (or "Couldn't copy"), the menu staying open. Its live region moves beside the menu, out of the menu's items. Tests cover Space and a failed copy too.
backnotprop
marked this pull request as ready for review
December 1, 2026 15:29
The copy state lived in HelpMenu, which stays mounted while the menu is closed, so reopening within the timer still read Copied and the live region came back with the old words. The popup and its live region now sit in their own component inside the positioner and own the copy, so both go with the menu.
The row stays a plain menu row but shows the pill's Claude Code, Codex, Pi and OpenCode marks at their 16 px in place of the link icon, then the words. After a press the marks stay with the check and Copied, or the warning and Couldn't copy. The marks are decorative; the name is unchanged.
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.
The Connect agent pill switches itself off in the sidebar a day after the first agent writes to the Inbox, which leaves long-time users with only Settings → Agents.
The Help menu now has it in a section of its own, after Common questions: the same pill, the same prompt, "Copied" after a click. It is there on a computer and in the phone Help sheet. Code-review-only mode leaves it out, as its sidebar does.