Check for empty object for the onboarding flow too#52175
Conversation
|
@ahmedGaber93 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] |
Reviewer Checklist
Screenshots/VideosAndroid: NativetourAndroid.mp4Android: mWeb ChrometourAndroidmWeb.mp4iOS: NativetouriOS.mp4iOS: mWeb SafaritouriOSmWeb.mp4MacOS: Chrome / SafaritourChrome.mp4MacOS: DesktoptourDesktop.mp4 |
|
Here is a case of checking if Lines 8247 to 8248 in 59c7a2e This works fine even without updating it but it might be better to update the comment here to make it uniform. |
|
@c3024 updated so its uniform, thanks! |
MonilBhavsar
left a comment
There was a problem hiding this comment.
Looks good, thanks for a quick fix!
|
✋ 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.60-0 🚀
|
|
@mountiny could you help us with this step?
|
|
@c3024 could you please help with the testing on staging? |
|
Please test with these steps. Test 1:
Test 2:
|
stagingTour.mp4 |
|
Thanks, checked it off on the checklist |
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.0.60-3 🚀
|
Explanation of Change
We are now returning the onboarding nvp as empty object instead of an array so we need to update the onboarding logic to handle the empty object case same as array.
Fixed Issues
$ #52095
PROPOSAL:
Tests
Offline tests
N/A
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
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
Asking C+ to test this change
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop