Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
[Feature]: Add phone number to the private personal details section #50773
[Feature]: Add phone number to the private personal details section #50773
Changes from 23 commits
0306beb
f90cc5d
d017a85
a33bf2d
47b3dc9
9446f6a
53d430a
5f274bb
a82ee09
a7e017c
aed96f9
23b9bc9
4ea40be
2ff3e62
c30c194
96355c1
4414c13
89b1f44
3c927e2
6a32dea
d0fb1b5
f539c52
7e4239e
e532ef1
c07af88
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Should we reuse
error.phoneNumber
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.
Current error is more descriptive IMO, it specifies a US number !
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.
we use
getLoginListBrickRoadIndicator
for the contact section as well, we needed to introduce a new util for the whole profile section.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.
Please clear the error when submit phone number
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.
I think we should move thí check to above validateLoginError
Check warning on line 67 in src/pages/settings/Profile/PersonalDetails/PhoneNumberPage.tsx
GitHub Actions / Changed files ESLint check