-
Notifications
You must be signed in to change notification settings - Fork 3k
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
improve phone validation error messages #55768
improve phone validation error messages #55768
Conversation
@huult Is this PR ready for review? It looks like the ESLint check has failed. |
…-validation-error-messages
@suneox I’m testing this pull request. When it’s done, I’ll ping you for review. Thanks! |
As per this expectation, can we input AAABBB . #? For example: Screen.Recording.2025-02-04.at.14.24.19.mov |
I think we should only accept numbers and a few supported characters for phone numbers, such as cc @NikkiWines |
thanks, I will update it soon |
…-validation-error-messages
@suneox I’ve updated it. Could you check it again? |
…-validation-error-messages
…-validation-error-messages
Hi @suneox I've updated your feedback. Could you check it again? I also added a screenshot (on MacOS: Chrome / Safari version) for the case: Profile > Private Workspace chat > Add Shipping Details, Wallet > Ship Card (missing personal details). |
The change set looks good. I'll complete the checklist in a few hours. |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2025-02-19.at.22.17.52.mp4Android: mWeb ChromeScreen.Recording.2025-02-19.at.13.50.58.mp4iOS: NativeScreen.Recording.2025-02-19.at.13.48.38.mp4iOS: mWeb SafariScreen.Recording.2025-02-19.at.13.53.35.mp4MacOS: Chrome / SafariScreen.Recording.2025-02-19.at.00.43.22.mp4Screen.Recording.2025-02-19.at.21.58.45.mp4Screen.Recording.2025-02-19.at.23.18.11.movMacOS: DesktopScreen.Recording.2025-02-19.at.13.35.28.mp4 |
@huult Could you please also update for the flow |
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.
Couple of comments
src/pages/EnablePayments/PersonalInfo/substeps/PhoneNumberStep.tsx
Outdated
Show resolved
Hide resolved
src/pages/EnablePayments/PersonalInfo/substeps/PhoneNumberStep.tsx
Outdated
Show resolved
Hide resolved
…-validation-error-messages
@NikkiWines could you check it again? Thanks! I have updated all your feedback. |
…-validation-error-messages
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.
Nice, looks good
src/pages/EnablePayments/PersonalInfo/substeps/PhoneNumberStep.tsx
Outdated
Show resolved
Hide resolved
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.
✋ 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 staging by https://github.com/NikkiWines in version: 9.1.3-0 🚀
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.1.3-4 🚀
|
Details
Fixed Issues
$ #55337
PROPOSAL: #55337 (comment)
Tests
Same QA step
Offline tests
QA Steps
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.2025-01-26.at.22.40.45.mp4
Android: mWeb Chrome
Screen.Recording.2025-01-26.at.22.36.40.mp4
iOS: Native
Screen.Recording.2025-01-26.at.22.42.15.mp4
iOS: mWeb Safari
Screen.Recording.2025-01-26.at.22.39.56.mp4
MacOS: Chrome / Safari
Screen.Recording.2025-01-26.at.22.29.44.mp4
Missing personal details:
Screen.Recording.2025-02-18.at.23.15.38.mp4
Add shipping card:
Screen.Recording.2025-02-18.at.23.19.21.mp4
MacOS: Desktop
Screen.Recording.2025-01-26.at.22.32.51.mp4