-
Notifications
You must be signed in to change notification settings - Fork 916
chore: unify updating steps #1204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughRemoves the “download” onboarding step across frontend, backend RPC, and domain types. Frontend DownloadPage no longer triggers a mutation and navigates directly to /dashboard/caps. Backend deletes the download endpoint and its RPC case; inviteTeam update now sets onboardingSteps.download = true. Domain unions drop the download variants. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor User
participant FE as Frontend DownloadPage
participant RPC as UsersRpcs
participant SVC as UsersOnboarding
participant DB as Database
rect rgb(245,248,255)
note over User,DB: Old flow (before this change)
User->>FE: Open Download page
FE->>RPC: completeOnboarding(step="download")
RPC->>SVC: onboarding.download()
SVC->>DB: Update user.onboardingSteps.download=true<br/>Set onboarding_completed_at
SVC-->>RPC: ok
RPC-->>FE: result(step="download")
FE->>FE: navigate to /dashboard/caps
end
rect rgb(240,255,245)
note over User,DB: New flow (after this change)
User->>FE: Open Download page
FE->>FE: Direct navigate to /dashboard/caps
note over RPC,SVC: "download" step removed from RPC and service
end
sequenceDiagram
autonumber
actor User
participant FE as Frontend
participant RPC as UsersRpcs
participant SVC as UsersOnboarding
participant DB as Database
rect rgb(255,250,240)
note over User,DB: Download flag now set via team invite path
User->>FE: Choose "Invite Team"
FE->>RPC: completeOnboarding(step="inviteTeam", data: ...)
RPC->>SVC: onboarding.inviteTeam(...)
SVC->>DB: Update onboardingSteps.inviteTeam=true<br/>Also set onboardingSteps.download=true
SVC-->>RPC: ok
RPC-->>FE: result(step="inviteTeam")
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (1 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (4)
💤 Files with no reviewable changes (2)
🧰 Additional context used📓 Path-based instructions (5)**/*.{ts,tsx}📄 CodeRabbit inference engine (AGENTS.md)
Files:
**/*.{ts,tsx,js,jsx}📄 CodeRabbit inference engine (AGENTS.md)
Files:
apps/web/**/*.{ts,tsx,js,jsx}📄 CodeRabbit inference engine (AGENTS.md)
Files:
apps/web/**/*.{ts,tsx}📄 CodeRabbit inference engine (CLAUDE.md)
Files:
apps/web/app/**/*.{ts,tsx}📄 CodeRabbit inference engine (CLAUDE.md)
Files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
🔇 Additional comments (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary by CodeRabbit
Refactor
Bug Fixes