Commit Graph

12 Commits

Author SHA1 Message Date
Urvish Prajapati 0c60b835a0 fix(validation): add country-specific mobile phone validation and libphonenumber-js
- Integrate libphonenumber-js to validate country mobile numbering plans (e.g., France 06/07, India 6-9, UK 07)
- Add ISO-2 country codes to eliminate dropdown collisions between countries sharing dial codes (+1 for US and Canada)
- Automatically strip leading national trunk zero (0) when converting to standard international E.164 format
- Ensure new dependency is registered in package.json and package-lock.json for npm install
2026-11-16 16:13:36 +05:30
Amit Salunke 4c3730a550 Merge pull request 'fix(auth): enforce strict national phone length and prevent country code combining in mobile app' (#122) from fix/standardized-phone-validation into main
Reviewed-on: https://git.zedobject.local/AcuPedia/acupedia-mobile-ui/pulls/122
Reviewed-by: Amit Salunke <amit@noreply.localhost>
2026-11-12 04:36:19 +00:00
Urvish Prajapati 947ca339e5 fix(auth): enforce strict national phone length and prevent country code combining in mobile app 2026-11-11 15:19:13 +05:30
ShivaniKhaire 52fc209274 feat(auth): sort country selection alphabetically in registration and profile (issue #110)
- Export SORTED_COUNTRY_CODES sorted by country name in constants/countries.ts
- Use SORTED_COUNTRY_CODES in SignUpForm to sort countries alphabetically in the Select Country modal
- Sort COMMON_COUNTRIES in EditProfileForm alphabetically for consistent UX
2026-11-07 17:18:00 +05:30
Urvish Prajapati 75b08672d6 fix(profile-issue-88): auto-update country code on country change and disallow hyphens in phone number 2026-10-29 14:06:44 +05:30
Urvish Prajapati a2c9d613c6 issue(60): enforce 7-15 digits and 15 digit input limit on phone numbers 2026-10-26 16:26:07 +05:30
ShivaniKhaire 2d05158fc2 fix(profile): allow variable length international phone numbers (Issue #41) 2026-10-03 10:54:03 +05:30
ShivaniKhaire 082ad5cb8b fix(profile): validate and restrict phone number to 10 digits (Issue #41) 2026-10-01 12:32:13 +05:30
Urvish Prajapati 5c4cb83376 Updated profile, added polished settings page, added restrictions for screenshot and screen recording 2026-09-28 13:02:52 +05:30
Urvish Prajapati 41e256f883 UI fixes 2026-09-24 14:18:13 +05:30
Amit Salunke 686a739541 Added module gate 2026-09-10 17:50:15 +05:30
Amit Salunke 812179a017 Initial update 2026-09-06 21:05:15 +05:30