Skip to content

feat(onboarding): Refresh the agent setup card - #132093

Open
itsdangold wants to merge 4 commits into
masterfrom
dang/onboarding-agent-setup-card
Open

itsdangold wants to merge 4 commits into
masterfrom
dang/onboarding-agent-setup-card

Conversation

@itsdangold

@itsdangold itsdangold commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Refreshes the agent setup card on the onboarding welcome and project creation pages:

  • New heading and checklist copy. The subtitle and the "See the full instructions" link are gone, since the prompt already links to the instructions.
  • IP pinning moves out of the Advanced menu into a visible checkbox, with its rationale in an info tooltip.
  • The prompt uses larger monospace text, with a full-width Copy prompt button below it.
  • The card is flat with a thick bottom edge. The welcome page loses its tilted, stacked-edge style.

On both this card and the in-product prompt, the IP pinning warning now animates in and out, and copying no longer flashes a busy state.

Before After
image image

@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Nov 21, 2026
@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Story previews

Preview the stories changed in this PR on the Vercel deployment:

Preview deployment: https://sentry-8gzw4gor6.sentry.dev

@itsdangold
itsdangold marked this pull request as ready for review November 21, 2026 00:24
@itsdangold
itsdangold requested a review from a team as a code owner November 21, 2026 00:24

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Want fixes drafted automatically? Bugbot Autofix can create code changes for findings. A team admin can enable Autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 349be71. Configure here.

const copyDisabled = !context || handoff.isPending;
// Minting the code is near-instant, so a busy or disabled state while it runs
// only flashes. copyPrompt ignores clicks until the request settles.
const copyDisabled = !context;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pinning toggle races with in-flight copy

Medium Severity

copyDisabled no longer includes handoff.isPending, but the IP pinning checkbox and Advanced menu still use that same flag. Pinning can change while a mint is in flight. toggleIpPinning then calls handoff.reset(), which clears isPending while copyOperation still holds the original request, so a follow-up copy can reuse the old disableIpPinning value. The clipboard prompt can disagree with the pinning control and warning.

Additional Locations (2)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 349be71. Configure here.

Toggling IP pinning made the warning pop in and shift the layout. It now slides open and closed quickly.
Minting the handoff code takes a moment, so the busy and disabled states on the copy button only flickered. Copying still ignores clicks until the request settles.
Drop the tilted card with stacked brand edges on the welcome page. Both onboarding pages now use one flat card with a 16px radius, 24px side padding, and a thick bottom edge in the neutral button chonk color.
…trol

Rewrite the heading and checklist, and set the prompt in larger monospace text with a full-width Copy prompt button below it. IP pinning moves out of the Advanced menu into an always-visible checkbox, with its rationale in an info tooltip. Drop the subtitle and the full instructions link, which the prompt already points to.

This branch was successfully deployed

1 active deployment
Preview — d6644c53 Deployed Nov 21, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant