feat(onboarding): Spotify typeahead in verify-socials (item 3b of #1881) - #1882
Conversation
Reuse the #1878 SpotifyArtistSearch typeahead in the verify-socials Add-a-profile and Edit flows instead of paste-a-link. Picking an artist submits their Spotify profile URL (keyed as SPOTIFY by the existing platform-detection path). Paste-a-link stays as a fallback for the non-Spotify platforms the search can't reach. Item 3b of #1881. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reached
Next review available in: 54 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
No issues found across 3 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Auto-approved: Focused UX improvement adding Spotify typeahead search to verify-socials, reusing existing components and contracts; no operational or security tradeoffs requiring human judgment.
Re-trigger cubic
✅ Preview verification — Spotify typeahead works in Add + Edit (with paste fallback)Preview: Verified in the UI
1. Typeahead with Spotify results (Add flow): 2. Paste-a-link fallback: Verdict: 3b verified. Both Add and Edit flows use the typeahead; the paste fallback is intact. CI green, MERGEABLE. Tracking: chat#1881 3b. (Screenshots on |


Item 3b of #1881 — Spotify typeahead in verify-socials
The verify-socials Add/Edit flow made users paste a Spotify link. This reuses the existing
SpotifyArtistSearchtypeahead (shipped in #1878) so users search Spotify and pick their artist instead.What changed
components/Onboarding/SocialSearchOrPaste.tsx— leads with theSpotifyArtistSearchtypeahead; selecting an artist submits theirexternal_urls.spotifyURL, which the existingbuildSocialFixPayloadpath keys asSPOTIFY.ArtistSocialsCard(Add a profile) andSocialRow(Edit) in place of the rawSocialFixForm.The
onSubmit(url) => Promise<boolean>contract is unchanged, souseSocialFixand the existing PATCHprofileUrlspath are untouched (DRY).Verification
pnpm exec eslinton the changed files: clean.tsc: no new errors from these files (pre-existing test-file errors unrelated).pnpm build: compiles successfully (full page-data collection needs Supabase secrets, unavailable locally).buildSocialFixPayloadtests: 6/6 pass (Spotify URL →SPOTIFYpayload already covered).Tracking: #1881
🤖 Generated with Claude Code
Summary by cubic
Use Spotify artist typeahead in verify-socials Add/Edit so users search and pick their artist instead of pasting links. Addresses item 3b in #1881 and keeps a paste-a-link fallback for non-Spotify platforms.
components/Onboarding/SocialSearchOrPaste.tsx, leading withSpotifyArtistSearchand falling back toSocialFixForm.ArtistSocialsCardandSocialRow, replacing directSocialFixFormusage.external_urls.spotifyto the unchangedonSubmit(url)contract, which maps toSPOTIFYvia the existing path.Written for commit abf8738. Summary will update on new commits.