Remove BYOK step from desktop onboarding#9309
Conversation
Drop the optional API-keys screen that confused casual users, migrate mid-flow users onto Tasks, and remove the 2nd-brain label background. Co-authored-by: Cursor <cursoragent@cursor.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9de330c0b5
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if !hasRemovedBYOKStep, migratedStep > 17 { | ||
| migratedStep -= 1 |
There was a problem hiding this comment.
Adjust BYOK removal for pending notification migration
When a profile still has onboardingNotificationPermissionStepRemoved=false and is paused on the old BYOK page, its persisted index is 18 because the removed notification-permission page was before BYOK. This new shift first maps 18→17, and then OnboardingView applies the pending notification removal (currentStep >= 8 → -1), so that user lands on Goal (16) instead of Tasks. Apply the notification-permission migration before this BYOK removal or account for that pending flag here.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
All reported issues were addressed across 7 files
Confidence score: 5/5
- Safe to merge after the addressed issues were fixed.
You’re at about 95% of the monthly reviewed-line limit. You may want to disable incremental reviews to conserve quota. Reviews will continue until that limit is exceeded. If you need help avoiding interruptions, please contact contact@cubic.dev.
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
Fold notification-permission removal into migratedStep before BYOK removal so legacy BYOK resumes land on Tasks, and cover the changed onboarding files in harness-smoke. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Addressed review + CI:
|
1 similar comment
|
Addressed review + CI:
|
There was a problem hiding this comment.
All reported issues were addressed across 4 files (changes from recent commits).
You’re at about 95% of the monthly reviewed-line limit. You may want to disable incremental reviews to conserve quota. Reviews will continue until that limit is exceeded. If you need help avoiding interruptions, please contact contact@cubic.dev.
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
Match BYOK removal semantics: exact index 8 stays at Accessibility instead of sliding back to Microphone. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Follow-up on the latest cubic notes:
|
Keep harness-smoke honest about what it exercises, and satisfy the strict coverage gate with a manual onboarding-flow that targets Goal→Tasks after BYOK removal. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Follow-up on the remaining cubic note:
|
Summary
BYOK remains available in Settings → Advanced and from the usage-limit paywall.
Test plan
OnboardingFlowTestspassMade with Cursor