improvement: share page google login support#1085
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughUpdates include gating org custom domain display on verification in the dashboard navbar, a minor spacing tweak in the org login form, and adding a Google sign-in path with analytics and videoId-aware callback to the share-page auth overlay. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor U as User
participant AO as AuthOverlay StepOne
participant A as Analytics (trackEvent)
participant NA as Auth (signIn "google")
participant App as App Router
U->>AO: Click "Login with Google"
AO->>A: trackEvent("auth_google_click", { videoId })
AO->>AO: setLoading(true)
AO->>NA: signIn("google", { redirect: false, callbackUrl: "/s/{videoId}" })
NA-->>AO: Promise resolved
AO->>AO: setLoading(false)
AO->>App: Navigate to callbackUrl (/s/{videoId})
note over AO,App: Email flow remains available and unchanged
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Poem
✨ Finishing touches
🧪 Generate unit tests
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (3)
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 |
Summary by CodeRabbit