feat(onboarding): first-login wizard for incremental YouTube consent

After the clean name/email sign-in, a wizard walks the user through granting
YouTube read (then optionally write) one step at a time, each with a plain
rationale and an up-front heads-up about Google's "unverified app" screen.

The visible step is derived from the granted scopes (can_read/can_write) so the
flow resumes correctly across the full-page consent redirect; it's dismissible
and reopenable from Settings -> Account, which now lists read and write as
separate, individually-grantable access rows.
This commit is contained in:
npeter83 2026-06-14 01:11:29 +02:00
parent 580d7f0e0d
commit 5215765b51
5 changed files with 302 additions and 29 deletions

View file

@ -6,6 +6,7 @@ export interface Me {
display_name: string | null;
avatar_url: string | null;
role: string;
can_read: boolean;
can_write: boolean;
pending_invites: number;
preferences: Record<string, any>;