Registry Mirror
Skip to content

Conversation

@backnotprop

Copy link
Copy Markdown
Owner

The sidebar's "Copy connect prompt" row is now an outlined pill above Settings. It shows the Claude Code, Codex, Pi and OpenCode marks (16 px, in their own colours, hidden from screen readers), then "Copy prompt". The owner approved option 1b.

  • Its accessible name is "Copy prompt to connect an agent": the visible words come first.
  • Behavior is unchanged: it copies the same prompt; shows "Copied" with a success check for 2 s (the marks stay) or "Couldn't copy" for 4 s; uses the same polite live region; keeps focus; leaves the phone sheet open; and shows over the tailnet.
  • The pill is as wide as its content, up to the sidebar's width. In a 200 px sidebar the label ends in an ellipsis and the marks stay whole. On a phone it is 44 px tall.
  • Hover gives it a muted fill. Keyboard focus draws a 2 px --ring outline that follows the pill's radius.
  • The CSS is scoped to .ib-cpill. The old .ib-cp button rules are removed. Those rules also matched the compose dialog (dialog.ib-cp).
  • CLAUDE.md and the marketing Inbox reference are updated.

Tested:

  • connectPromptRow.test.tsx (DOM_TESTS=1 --isolate): name, the four hidden marks, Copied with the marks still there, failure, and the live region. The themeToggle and projectMenu DOM tests also pass.
  • tests/e2e/inbox-sidebar.spec.ts against a freshly compiled binary (8/8): the pill sits inside the sidebar above Settings, the marks are 16 px, and the clipboard holds the prompt.
  • tsc for packages/inbox and apps/inbox.
  • Screenshots over a scratch Inbox in light and dark: hover, focus, copied, a 200 px sidebar (no overflow, marks 16 px) and the phone sheet. The OpenCode mark uses currentColor, so it reads light on the dark sidebar.

🤖 Generated with Claude Code

Owner-approved option 1b (inbox-connect-row): an outlined pill above
Settings with the Claude Code, Codex, Pi and OpenCode marks and
"Copy prompt". Same prompt, Copied / Couldn't copy, live region and focus.

Co-Authored-By: Claude <noreply@anthropic.com>
@backnotprop
backnotprop merged commit e1cb9ce into main Oct 15, 2026
29 checks passed
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