feat: add viswam signup fields and move detailed signup fields to profile completion page
Description:
This PR refactors the user onboarding process by splitting the signup into two stages: a simplified initial registration followed by a mandatory profile completion step.
Key changes:
-
Simplified Signup: Removed detailed fields (email, gender, DOB, location) from the initial signup form in
LoginForm.tsxto reduce friction. -
Mandatory Profile Completion: Added
CompleteProfilePage.tsxand integrated it into the application routing. Users are now prompted to complete their profile after initial registration. -
Enhanced Profile Management: Updated
UserProfileInfo.tsxto support comprehensive user data, including:- Multiple places lived.
- Social media platform links (X, Instagram, LinkedIn, etc.).
- Standardized options for occupations, languages, and proficiencies.
-
New UI Components: Introduced
SearchableSelect.tsxfor better handling of long selection lists. -
Standardized Constants: Added
src/lib/profileConstants.tscontaining exhaustive lists for languages, occupations, and education levels. -
Test Coverage: Updated and expanded test suites for
UserProfileInfo,LoginForm, anduseAuthto reflect the new flow and data structures.
Type of Change:
-
Bug Fix -
Feature Development -
Documentation
Testing:
-
Tested on desktop -
Tested on mobile -
Tested in different browsers
Checklist:
-
Code follows project style guidelines -
Self-review completed -
No console errors -
TypeScript types are correct
Edited by Ahlad Pataparla