-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validate different phone number formats #38993
Conversation
done some tests +1 800-123-4567: ✅ Valid |
@tienifr Need to resolve conflicts |
@Pujan92 All done. |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandt2.webmAndroid: mWeb Chromeandt1.webmiOS: NativeSimulator.Screen.Recording.-.iPhone.15.Pro.-.2024-04-02.at.21.44.40.mp4iOS: mWeb SafariSimulator.Screen.Recording.-.iPhone.15.Pro.-.2024-04-02.at.21.37.53.mp4MacOS: Chrome / SafariScreen.Recording.2024-04-02.at.21.29.08.movMacOS: DesktopScreen.Recording.2024-04-02.at.21.47.43.mov |
Performance Tests are failing, @tienifr can you merge the main again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Thanks :)
@tienifr Seeing conflicts again |
@Pujan92 Thanks, updated! |
Bump @grgia in case you missed this. |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.60-13 🚀
|
Details
expensify-common
'sisValidPhone
only validates E.164 format numbers. We need to:isValidPhone
toisValidE164Phone
and add a new functionisValidPhone
to validate phone numbers in general in Validate phone numbers in different formats expensify-common#672Fixed Issues
$ #37723
PROPOSAL: #37723 (comment)
Tests
(xxx) xxx-xxxx
, e.g., "(440) 458-9784"Offline tests
NA
QA Steps
(xxx) xxx-xxxx
, e.g., "(440) 458-9784"PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Screen.Recording.2024-03-26.at.18.48.35-compressed.mov
Android: mWeb Chrome
Screen.Recording.2024-03-26.at.18.46.27-compressed.mov
iOS: Native
Screen.Recording.2024-03-26.at.18.47.34-compressed.mov
iOS: mWeb Safari
Screen.Recording.2024-03-26.at.18.49.05-compressed.mov
MacOS: Chrome / Safari
Screen.Recording.2024-03-26.at.18.32.42-compressed.mov
MacOS: Desktop
Screen.Recording.2024-03-26.at.18.32.42-compressed.mov