Chore: Migrate BaseKYCWall.js to function component#31538
Chore: Migrate BaseKYCWall.js to function component#31538bondydaa merged 7 commits intoExpensify:mainfrom teneeto:fix/16170-migrate-base-kyc-wall-to-function-component
Conversation
|
@thienlnam 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] |
rezkiy37
left a comment
There was a problem hiding this comment.
Left a comment, besides LGTM.
|
Looks like the reviewers didn't get assigned correctly - added them |
|
oh @abdulrahuman5196 can you handle checklists? |
…base-kyc-wall-to-function-component
|
@bondydaa @abdulrahuman5196, made code changes, let's have a look at it again. |
|
Thank you. Will check again in my morning. |
…base-kyc-wall-to-function-component
|
Reviewing now |
|
@teneeto The author's checklist only has 2 platform videos? Also do update QA tests and offline tests section as well. |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2023-12-01.at.6.35.30.PM.mp4Android: mWeb ChromeScreen.Recording.2023-12-01.at.6.39.59.PM.mp4iOS: NativeScreen.Recording.2023-12-01.at.6.33.16.PM.mp4iOS: mWeb SafariScreen.Recording.2023-12-01.at.6.34.05.PM.mp4MacOS: Chrome / SafariScreen.Recording.2023-12-01.at.6.28.27.PM.mp4MacOS: DesktopScreen.Recording.2023-12-01.at.6.31.51.PM.mp4 |
abdulrahuman5196
left a comment
There was a problem hiding this comment.
Changes looks good and works well. Reviewers checklist is also complete.
All yours. @bondydaa
🎀 👀 🎀
C+ Reviewed
|
🎯 @abdulrahuman5196, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #32346. |
|
@teneeto To fix author's checklist as mentioned here #31538 (comment) |
Hi @abdulrahuman5196, added all screenshots and updated tests steps too |
|
@bondydaa Gentle ping to review again. |
bondydaa
left a comment
There was a problem hiding this comment.
Just want to confirm, we tested that this works and doesn't cause a crash when you try to sign in, right?
|
🚀 Deployed to staging by https://github.com/bondydaa in version: 1.4.9-0 🚀
|
1 similar comment
|
🚀 Deployed to staging by https://github.com/bondydaa in version: 1.4.9-0 🚀
|
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 1.4.9-5 🚀
|
Details
This change is made to migrate the src/components/KYCWall/BaseKYCWall.js from class to a function component.
Note: This PR only addresses a reverted code of a previously merged PR
Fixed Issues
$: 16170
PROPOSAL: 16170
Tests
log into the app
press the FAB and request money from e.g. workspace that you are a part of (to make it easier and not have to jump between accounts)
select the said workspace and press on pay with Expensify
confirm that the pop up shows in which you can select an option and be navigated to it
Verify that no errors appear in the JS console
Offline tests
QA Steps
log into the app
press the FAB and request money from e.g. workspace that you are a part of (to make it easier and not have to jump between accounts)
select the said workspace and press on pay with Expensify
confirm that the pop up shows in which you can select an option and be navigated to it
Verify that no errors appear in the JS console
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 */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
Android