feat(ui): implement profile scanning and analysis loading screen (#272)#281
Open
PranavAgarkar07 wants to merge 1 commit into
Open
Conversation
Contributor
|
@PranavAgarkar07 is attempting to deploy a commit to the codersogs-3057's projects Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Collaborator
|
can't able to see the changes, can you please share screenshots or a recording of the fix ? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a Step 2 onboarding loading screen that gives users real-time visual feedback while their GitHub profile is being analyzed after installing the MergeShip app.
Type of Change
Related Issue
Closes #272
What was changed?
New files
src/app/onboarding/analyze/page.tsx— Server component that gates auth, reads the user's GitHub avatar and handle from Supabase identity, skips already-onboarded users (redirects to /dashboard), and renders the client componentsrc/app/onboarding/analyze/onboarding-client.tsx— Full client component with animated scanning UI:Modified files
tailwind.config.js— Addedneon-green(#00FF87) color palette and scanning keyframes (scanAvatar,scanProgress,scanPulse)src/middleware.ts— Added/onboardingtoGATE_BYPASS_PREFIXESso the install gate does not block this routesrc/app/globals.css— Added.scan-avatar-ring(concentric glow rings),.scan-line(sweeping animation),.scan-card(dark glassmorphism panel)Approach
The UI shows a simulated scanning sequence matching the issue mockup. The first 3 tasks appear pre-completed (Reading public profile, Fetching repo history, Counting merged PRs), then the remaining 3 tasks complete sequentially with smooth framer-motion transitions. The user's real GitHub avatar is displayed from their Supabase identity data. After all tasks resolve, the page redirects to /dashboard.
Screenshots
N/A — UI matches the mockup referenced in the issue. The implementation uses the actual user's GitHub avatar (fetched from Supabase session OAuth identity) rather than a placeholder.
Checklist
npm run dev)