Repository navigation
add new missing detail contact modal - #55484
Conversation
|
@allgandalf Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
4e15978 to
5b182c5
Compare
|
Uploading videos... |
|
There are some mistakes in #54614. We decided to use MissingPersonalDetails folded so this PR should be unhold |
|
@allgandalf All yours |
|
@allgandalf Please review this one |
allgandalf
left a comment
There was a problem hiding this comment.
little confused with the changes, it would be great if you can explain me a bit
|
@allgandalf Back to you |
|
left comments again |
|
Also conflicts |
@allgandalf Do you have any other concerns? |
|
I was saying that this branch has conflicts 😅 |
|
I am on another task, please continue your reviewing. I will resolve the conflict later. I hope it doesn't block your reviewing |
|
@allgandalf Kindly bump |
|
out for sometime, i will review this later today @DylanDylann |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2025-02-18.at.5.32.23.PM.movAndroid: mWeb ChromeScreen.Recording.2025-02-18.at.5.30.34.PM.moviOS: NativeScreen.Recording.2025-02-18.at.5.54.26.PM.moviOS: mWeb SafariScreen.Recording.2025-02-18.at.5.55.55.PM.movMacOS: Chrome / SafariScreen.Recording.2025-02-18.at.5.22.45.PM.movMacOS: DesktopScreen.Recording.2025-02-18.at.5.28.40.PM.mov |
|
@DylanDylann the RHP disappears for me when i enter magic code, can you please check: Screen.Recording.2025-02-12.at.1.43.19.PM.mov |
|
@allgandalf Updated |
|
@allgandalf Friendly bump |
|
@allgandalf wht is your eta for this one? |
|
I'll try to finish this one today, else tomorrow early morning for sure! |
| const handleSubmitForm = useCallback( | ||
| (validateCode: string) => { | ||
| updatePersonalDetailsAndShipExpensifyCards(values, validateCode); | ||
| clearDraftValues(ONYXKEYS.FORMS.PERSONAL_DETAILS_FORM); |
There was a problem hiding this comment.
@DylanDylann do you suggest that we remove clearning the values here because we already do it in the modal?
allgandalf
left a comment
There was a problem hiding this comment.
This is ready to get merged!
Also verified that entering the correct code doesn't show any error 😆
Screen.Recording.2025-02-18.at.5.56.11.PM.mov
| handleSubmitForm: (validateCode: string) => void; | ||
| isValidateCodeActionModalVisible: boolean; | ||
| onClose?: () => void; |
There was a problem hiding this comment.
all of these should have docs
| const missingDetails = | ||
| !privatePersonalDetails?.legalFirstName || | ||
| !privatePersonalDetails?.legalLastName || | ||
| !privatePersonalDetails?.dob || | ||
| !privatePersonalDetails?.phoneNumber || | ||
| isEmptyObject(privatePersonalDetails?.addresses) || | ||
| privatePersonalDetails.addresses.length === 0; |
There was a problem hiding this comment.
Isnt there a helper method for this? i think we should abstract it to one util methodas its reused
mountiny
left a comment
There was a problem hiding this comment.
Overall the changes look good to me and we can address my comments in a follow up, this bug is causing confusion to users so we should get this merged asap
|
Hiya! To echo what Vit said, we were close to losing a new customer over this yesterday, as they seemingly completed what was asked of them in the modal but it failed because of an incorrect magic code entered. It's important we keep on top of making swift progress through these key enablement flows, as they ultimately result in losing out on potential revenue. Thanks! |
|
Apologies @trjExpensify @mountiny , I didn't expect to get this one delayed for so long, no excuses for the delay, would be more swift moving forward 😞 |
MarioExpensify
left a comment
There was a problem hiding this comment.
Yep, code looks good, let's move forward!
|
✋ 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/MarioExpensify in version: 9.1.1-0 🚀
|
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.1.1-6 🚀
|
Explanation of Change
Fixed Issues
$ #54041
PROPOSAL: #54041 (comment)
Tests
Precondition:
Offline tests
QA Steps
Precondition:
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Screen.Recording.2025-02-05.at.16.38.06.mov
Android: mWeb Chrome
Screen.Recording.2025-02-05.at.16.12.56.mov
iOS: Native
Screen.Recording.2025-02-05.at.16.36.32.mov
iOS: mWeb Safari
Screen.Recording.2025-02-05.at.16.11.02.mov
MacOS: Chrome / Safari
Screen.Recording.2025-02-05.at.16.03.39.mov
MacOS: Desktop
Screen.Recording.2025-02-05.at.16.13.47.mov