Skip to content

feat: onboarding flow — post-OAuth GitHub data connection + score generation trigger #226

Description

@basanth-p

Summary

Build the onboarding flow shown after first GitHub OAuth login. Replaces the placeholder in app/(dashboard)/dashboard/onboarding/page.tsx.

Steps in the flow

  1. Welcome screen — "Let’s build your Patch ID" with GitHub avatar + username
  2. GitHub data pull — show repos, PRs, contributions being fetched
  3. Score generation — loading state while Core engine computes first score
  4. Reveal — animated score card reveal with breakdown
  5. Share prompt — copy shareable profile link

Acceptance criteria

  • Only shown to users where isNewUser === true from auth callback
  • Subsequent visits go straight to /dashboard
  • Handles GitHub API rate limits gracefully
  • Mobile responsive

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions