Repository navigation
[CP Staging] fix: use correct variables for navigateToNextPage fn - #28527
Conversation
Reviewer Checklist
Screenshots/VideosAndroidCleanShot.2023-09-30.at.14.59.28.mp4 |
fedirjh
left a comment
There was a problem hiding this comment.
Looks good to me.
I couldn’t test on the simulator given that the camera is not supported, but it should pass as well.
[CP Staging] fix: use correct variables for navigateToNextPage fn (cherry picked from commit 6261743)
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Cherry-picked to staging by https://github.com/mountiny in version: 1.3.75-7 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.75-12 🚀
|
|
🚀 Deployed to staging by https://github.com/mountiny in version: 1.3.77-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.77-7 🚀
|





Details
This PR fixes the incorrect usage of the
navigateToNextPagefunction inside theReceiptSelectornative component.Fixed Issues
$ #28526
PROPOSAL: #28526 (comment)
Tests
Verify that the image gets selected and the user proceeds to the next step.
Offline tests
N/A
QA Steps
Verify that the image gets selected and the user proceeds to the next step.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)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
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
RPReplay_Final1696036910.MP4
Android
Screen.Recording.2023-09-30.at.5.28.30.AM.mov