Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Author
Contributor
|
Caution Review failedThe pull request is closed. ℹ️ Recent review infoConfiguration used: Repository UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (16)
📝 WalkthroughWalkthroughThis PR introduces a multi-step GitHub onboarding wizard for projects, featuring UI components for project creation, GitHub connection, and repository selection. It includes GitHub API helpers with Zod schema validation, new TRPC procedures for repository operations, and integrates the onboarding flow into the projects client. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Onboarding as Onboarding Page
participant CreateProject as CreateProjectStep
participant ConnectGH as ConnectGithubStep
participant SelectRepo as SelectRepo
participant TRPC as TRPC Backend
participant GitHub as GitHub API
User->>Onboarding: View onboarding
activate Onboarding
Onboarding->>CreateProject: Render step 1
activate CreateProject
User->>CreateProject: Enter project name
CreateProject->>TRPC: Insert project
TRPC->>TRPC: Create project record
TRPC-->>CreateProject: Project created with ID
CreateProject->>Onboarding: onProjectCreated(projectId)
Onboarding->>Onboarding: setProjectId(projectId)
deactivate CreateProject
Onboarding->>ConnectGH: Render step 2 with projectId
activate ConnectGH
User->>ConnectGH: Click "Connect GitHub"
ConnectGH->>GitHub: Redirect to GitHub App install<br/>(with projectId in state)
deactivate ConnectGH
GitHub-->>User: Complete installation
User->>Onboarding: Return to app
Onboarding->>SelectRepo: Render step 3 with projectId
activate SelectRepo
SelectRepo->>TRPC: Fetch repositories for projectId
TRPC->>GitHub: List repositories
GitHub-->>TRPC: Repository list
TRPC-->>SelectRepo: Repositories with pushedAt
User->>SelectRepo: Filter by owner & search
SelectRepo->>TRPC: getRepositoryDetails(projectId, repo)
TRPC->>GitHub: Fetch tree & branches
GitHub-->>TRPC: Structure & branches
TRPC-->>SelectRepo: hasDockerfile, branch list
User->>SelectRepo: Select repository & branch
SelectRepo->>TRPC: Connect repository
TRPC->>TRPC: Store repo connection
TRPC-->>SelectRepo: Success
deactivate SelectRepo
deactivate Onboarding
Estimated code review effort🎯 4 (Complex) | ⏱️ ~50 minutes ✨ Finishing Touches
🧪 Generate unit tests (beta)
Comment |
This was referenced Mar 2, 2026
19 tasks
chronark
reviewed
Mar 2, 2026
web/apps/dashboard/app/(app)/[workspaceSlug]/projects/(onboarding)/steps/onboarding-links.tsx
Show resolved
Hide resolved
chronark
reviewed
Mar 2, 2026
web/apps/dashboard/app/(app)/[workspaceSlug]/projects/(onboarding)/steps/onboarding-links.tsx
Outdated
Show resolved
Hide resolved
chronark
reviewed
Mar 2, 2026
web/apps/dashboard/app/(app)/[workspaceSlug]/projects/(onboarding)/steps/onboarding-links.tsx
Outdated
Show resolved
Hide resolved
chronark
reviewed
Mar 2, 2026
web/apps/dashboard/app/(app)/[workspaceSlug]/projects/(onboarding)/steps/onboarding-links.tsx
Outdated
Show resolved
Hide resolved
chronark
requested changes
Mar 2, 2026
f34edea to
8bed7eb
Compare
chronark
approved these changes
Mar 3, 2026
Merge activity
|
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.

What does this PR do?
Adds a comprehensive project onboarding flow with GitHub integration. The onboarding includes a step wizard for creating projects, connecting GitHub repositories, and selecting repositories with branch selection. The flow features repository filtering by owner, search functionality, Dockerfile detection, and branch selection with a responsive UI that includes loading states and success notifications.
Fixes # (issue)
Type of change
How should this be tested?
?onboardingquery parameter to trigger onboarding flowChecklist
Required
pnpm buildpnpm fmtmake fmton/godirectoryconsole.logsgit pull origin mainAppreciated