Skip to content

feat: add viswam signup fields and move detailed signup fields to profile completion page

Ahlad Pataparla requested to merge feat/signup-viswam into develop

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.tsx to reduce friction.
  • Mandatory Profile Completion: Added CompleteProfilePage.tsx and integrated it into the application routing. Users are now prompted to complete their profile after initial registration.
  • Enhanced Profile Management: Updated UserProfileInfo.tsx to 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.tsx for better handling of long selection lists.
  • Standardized Constants: Added src/lib/profileConstants.ts containing exhaustive lists for languages, occupations, and education levels.
  • Test Coverage: Updated and expanded test suites for UserProfileInfo, LoginForm, and useAuth to 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

Merge request reports

Loading