Conversation
• Auth & Forms: Refactored useRegisterForm and useLoginForm using React 19 useActionState and strict Zod types. • UI Components: Enhanced Input and Tooltip with improved accessibility roles and dynamic styling. • Testing: Consolidated architecture by moving vitest.setup.ts to root and verified all 26 tests pass in green.
• Added unified Google authentication flow (JIT provisioning). • Refactored MailModule to be global and fixed dependency injection. • Updated WelcomeMessage and Sidebar with dynamic profile picture/avatar logic. • Fixed TypeScript type conflicts between Prisma entities and RegisterDTO. • Enforced 'draggable=false' and 'select-none' on UI images for improved UX.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Feat/auth redesign: Unified Google OAuth & Dynamic Identity UI
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.
PR: Unified Google OAuth & Auth UI/UX Redesign
Overview
This PR delivers a major overhaul of the authentication system. It implements a seamless Google OAuth integration with JIT (Just-In-Time) Provisioning and introduces a completely redesigned Login and Registration interface.
🛠️ Key Changes
Authentication Engine (Backend)
googleAuthservice. It handles both account linking and auto-provisioning.isVerified: true.RegisterDtoto handle optional fields. Fixedstring | nullmismatches between Prisma entities and DTOs using Type Guards.UI/UX Redesign (Frontend)
/loginand/registerlayouts with improved visual hierarchy and brand-consistent styling.SidebarandWelcomeMessagewith a 3-tier fallback (Google Photo -> Initials -> Default).draggable="false"andselect-noneto all profile assets to prevent browser "ghosting."animate-fade-infor smoother navigation between auth states.