Repository navigation
feat(onboarding): Refresh the agent setup card - #132093
itsdangold wants to merge 4 commits into
Conversation
Story previewsPreview the stories changed in this PR on the Vercel deployment:
Preview deployment: https://sentry-8gzw4gor6.sentry.dev |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ 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; |
There was a problem hiding this comment.
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)
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.
349be71 to
d6644c5
Compare


Refreshes the agent setup card on the onboarding welcome and project creation pages:
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.