-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chore: Migrate BaseKYCWall.js to function component #31538
Chore: Migrate BaseKYCWall.js to function component #31538
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] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android