Migrate TermsStep.js to function component - #20247
Conversation
|
@robertjchen @Santhosh-Sellavel One of you needs to 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] |
|
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
|
I have read the CLA Document and I hereby sign the CLA |
|
@Santhosh-Sellavel updated code style and pushed, please check |
|
@robertjchen @Santhosh-Sellavel can you please check PR? |
Reviewer Checklist
Screenshots/VideosWeb & DesktopScreen.Recording.2023-06-07.at.11.19.40.PM.movMobile Web - Chrome & Mobile Web - SafariScreen.Recording.2023-06-07.at.11.30.01.PM.moviOS & AndroidScreen.Recording.2023-06-07.at.11.32.41.PM.mov |
|
@robertjchen Can you initiate workflows checks |
|
@robertjchen Also I noticed a bug while testing it happens on staging too, so raised it in slack here |
|
Workflow checks initiated 👍 |
|
@robertjchen pushed prettier fix, can you please re-initiate? |
|
@robertjchen @Santhosh-Sellavel all checks have passed, can you please merge PR? |
|
✋ 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/robertjchen in version: 1.3.26-0 🚀
|
|
@chychkoi @robertjchen Hi! Can we get more information on how can we test this PR. We're unsure on how to reach the Ticks that are mentioned on the first steps. |
|
@isagoico Sorry for the trouble. Here are steps
|
|
@Santhosh-Sellavel Getting this error, expected? |
|
I don't think that we have an easy way to test this organically. Standard users that haven't had an Expensify Wallet manually provisioned for them won't see this page. So I think that this should be considered a blocker for now, but we should create a follow-up issue to ensure that you can't just jump to steps in the bank account setup flow where you haven't completed the preceeding steps. In this case, we shouldn't allow users to view the |
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 1.3.26-4 🚀
|

Details
Migrate TermsStep.js to function component
Fixed Issues
$ #16236
Tests
Offline tests
QA Steps
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
Android