Third inconsistent logo cyan swirl svg search bar - #273
Merged
Kingvic300 merged 5 commits intoJul 26, 2026
Merged
Conversation
- Add GitHubAccount struct to user model - Add has_link_to_user_github_account method to auth service - Update GitHub OAuth callback to link accounts on first use - Add github_unlink endpoint for disconnecting - Update frontend profile page with unlink button - Streamline workspace header to eliminate dead space
- Document GitHub OAuth account linking implementation - Document frontend header refinement changes - Update environment variables and notes - Add follow-up items for future work
|
@Bigmehelen is attempting to deploy a commit to the oladimejivictor611-5012's projects Team on Vercel. A member of the Team first needs to authorize it. |
# Conflicts: # backend/api/src/api/handlers/auth_handler.rs # backend/api/src/api/routers/auth_router.rs # backend/api/src/model/user.rs # backend/api/src/services/auth_service.rs # frontend/src/components/Layout.tsx # frontend/src/features/ProfilePage.tsx
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.
closed #252
Summary
This PR implements GitHub OAuth account linking functionality and refines the workspace header layout.
Backend
GitHubAccountstruct andgithub_accountfield to theUsermodel inbackend/api/src/model/user.rsupdate_user_github_accountmethod toAuthServiceinbackend/api/src/services/auth_service.rsgithub_callbackhandler inbackend/api/src/api/handlers/auth_handler.rsto link GitHub accounts after first OAuth authenticationgithub_unlinkendpoint inauth_handler.rsto allow users to disconnect their GitHub accountgithub_unlinkroute inbackend/api/src/api/routers/auth_router.rsFrontend
frontend/src/features/ProfilePage.tsxunder the GitHub connection fieldfrontend/src/features/SignInPage.tsxfor GitHub OAuth flowfrontend/src/features/GetStartedPage.tsxfor GitHub OAuth flowfrontend/src/components/Layout.tsxto reduce dead space:w-48instead ofw-64)Key Changes
backend/api/src/model/user.rsGitHubAccountstruct andgithub_accountfieldbackend/api/src/services/auth_service.rsupdate_user_github_accountmethodbackend/api/src/api/handlers/auth_handler.rsgithub_unlinkhandlerbackend/api/src/api/routers/auth_router.rs/auth/github/unlinkPOST routefrontend/src/features/ProfilePage.tsxfrontend/src/components/Layout.tsx