Skip to content

fix: improve YouTube OAuth redirect UX#113

Merged
NagariaHussain merged 1 commit into
developfrom
fix/youtube-oauth-redirect-ux
Mar 2, 2026
Merged

fix: improve YouTube OAuth redirect UX#113
NagariaHussain merged 1 commit into
developfrom
fix/youtube-oauth-redirect-ux

Conversation

@NagariaHussain
Copy link
Copy Markdown
Contributor

Summary

  • Auto-open Settings dialog to YouTube tab after OAuth redirect (reads ?settings=youtube param)
  • Show centered spinner with "Connecting YouTube..." during token finalization instead of no feedback
  • Wire up open-settings custom event listener in AppLayout so other components can programmatically open settings

Context

After authenticating with Google, users were redirected to the VMS homepage with no visual indication that anything was happening. The settings dialog never opened because nothing read the URL params, and the finalization component wasn't mounted.

Test plan

  • Click "Connect YouTube" in Settings > YouTube
  • Complete Google OAuth flow
  • Verify: redirected back → settings dialog auto-opens to YouTube tab → spinner shows "Connecting YouTube..." → toast confirms success → green connected state appears

🤖 Generated with Claude Code

…inner

- AppLayout reads `?settings=<tab>` param on mount to auto-open settings
  dialog to the correct tab after OAuth redirect
- AppLayout listens for `open-settings` custom events from other
  components (e.g. YouTubeUploadDialog)
- YouTubeSection shows a centered spinner with "Connecting YouTube..."
  during finalization instead of skeleton/form
- Removes unused `finalizing` state from footer button

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@NagariaHussain NagariaHussain merged commit 251f92c into develop Mar 2, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant