Refactor on missing details flow#49452
Conversation
|
@allgandalf Please start review here. cc @mountiny |
|
Running a test build. @allgandalf are you going to be able to take this review and testing? |
For sure! I will review later today/tomorrow |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
|
@shubham1206agra what's your ETA for this PR? |
allgandalf
left a comment
There was a problem hiding this comment.
Just overviewed the code, will review in depth once this is marked as ready for review
@allgandalf I need you to first go through entire flow for bugs. If no bugs are found, I will finish the checklist. |
|
@shubham1206agra please fix the ESLint error |
|
This error is unrelated to this PR |
|
so are we going to suppress that error ? |
|
Ignore the error |
BUG: No address auto recommendation, we get
|
Have you confirmed this on main? |
Bug: RHP gets dismissed if we refresh and press back button:Screen.Recording.2024-09-24.at.7.59.03.PM.mov |
Nope please check and let me know |
|
This branch has conflicts @shubham1206agra |
|
Can you also merge main @shubham1206agra , there is a infinite loader in personal details Screen.Recording.2024-09-24.at.8.31.13.PM.mov |
Because you are on the first step |
Actual BugWait so the actual bug is that we get to the first page whenever we refresh, we should stay on the same page whenever we refresh, please update accordingly |
|
Can we change that to |
|
@dubielzyk-expensify Done |
|
@shubham1206agra merge main, android build is broken on your branch |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-10-02.at.6.48.51.PM.moviOS: NativeScreen.Recording.2024-10-02.at.6.40.06.PM.moviOS: mWeb SafariScreen.Recording.2024-10-02.at.6.42.22.PM.movMacOS: Chrome / SafariScreen.Recording.2024-10-02.at.6.34.39.PM.movMacOS: DesktopScreen.Recording.2024-10-02.at.6.38.09.PM.mov |
allgandalf
left a comment
There was a problem hiding this comment.
flow works.
@mountiny I leave the call to you if we want to merge this one with the failing workflow or we should fix that
mountiny
left a comment
There was a problem hiding this comment.
Just some small comments @shubham1206agra
|
✋ 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/mountiny in version: 9.0.44-0 🚀
|
|
We tested this one and if this specifically for the Physical Card flow it's a pass 🎉 I'm checking in #qa if this should still happen when issuing a virtual card (my theory is not but just to be safe) |
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.0.44-12 🚀
|
|
Correct only physical! |
| <SubStep | ||
| isEditing={isEditing} | ||
| onNext={handleNextScreen} | ||
| onMove={moveTo} |
There was a problem hiding this comment.
We shouldn't have passed the moveTo callback as is because this logic is missing updating the InteractiveStepSubHeader. We should have created a wrapper similar to handleNextScreen.
This caused the InteractiveStepSubHeader to be out of sync #56197


Details
Fixed Issues
$ #48487
Tests
Add personal detailsbutton in Workspace chat.Add personal details, and fill the details.Add personal detailsbutton.Offline tests
Same as Tests
QA Steps
Same as Tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.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
Android: mWeb Chrome
Screen.Recording.2024-10-01.at.6.37.45.PM.mov
iOS: Native
Screen.Recording.2024-10-01.at.7.12.55.PM.mov
iOS: mWeb Safari
Screen.Recording.2024-10-01.at.12.12.52.PM.mov
MacOS: Chrome / Safari
Screen.Recording.2024-10-01.at.12.02.49.PM.mov
MacOS: Desktop
Screen.Recording.2024-10-01.at.7.00.10.PM.mov