-
Notifications
You must be signed in to change notification settings - Fork 619
[Dashboard] Onboarding UI adjustments + use doLogout server action instead of fetch #5480
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
[Dashboard] Onboarding UI adjustments + use doLogout server action instead of fetch #5480
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Your org has enabled the Graphite merge queue for merging into mainAdd the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5480 +/- ##
=======================================
Coverage 43.86% 43.86%
=======================================
Files 1076 1076
Lines 55972 55972
Branches 3910 3910
=======================================
Hits 24551 24551
Misses 30738 30738
Partials 683 683
*This pull request uses carry forward flags. Click here to find out more.
|
size-limit report 📦
|
Merge activity
|
…stead of fetch (#5480) ## Problem solved Short description of the bug fixed or feature added <!-- start pr-codex --> --- ## PR-Codex overview This PR primarily focuses on refactoring the logout functionality across various components by replacing direct API calls with a centralized `doLogout` function. It also includes some UI adjustments and enhancements. ### Detailed summary - Removed direct API call to `/api/auth/logout` in favor of `doLogout()` in multiple components. - Updated styles for various UI elements, including `AccountForm` and `OnboardingChoosePlan`. - Adjusted layout and class names for better responsiveness and appearance. - Added `Aurora` component for visual effects in the `LoginAndOnboardingPage`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
843f2a1 to
6e6d907
Compare

Problem solved
Short description of the bug fixed or feature added
PR-Codex overview
This PR focuses on refactoring the logout functionality across multiple components to use the
doLogoutfunction instead of directly calling the fetch API. It also includes UI adjustments for better styling and layout consistency.Detailed summary
/api/auth/logout.doLogout()inTeamHeaderLoggedIn,AccountHeader,CustomConnectWallet,OnboardingGeneral.AccountFormandLoginAndOnboardingPage.ChoosePlanandSecondaryNav.LoginAndOnboardingPage.