-
Notifications
You must be signed in to change notification settings - Fork 3.5k
17027 - migrated CollapsibleSection to PressableWithFeedback #19753
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
17027 - migrated CollapsibleSection to PressableWithFeedback #19753
Conversation
|
@stitesExpensify 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] |
stitesExpensify
left a comment
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.
LGTM, leaving testing to @fedirjh
|
@Skalakid, @stitesExpensify Looks good , just noticed that text is selectable which is different from old behaviour Screen.Recording.2023-05-29.at.9.24.26.PM.mov |
Reviewer Checklist
Screenshots/VideosWebWeb.movMobile Web - ChromeChrome.movMobile Web - SafariSafari.movDesktopDesktop.moviOSIOS.movAndroidAAndrroidd.mov |
@fedirjh I think it is because of the missing |
|
Hi!👋🏼 |
@fedirjh for sure the steps that you mentioned are better, but I can't reproduce them :( After adding a bank account I can't go further. Do you know how can I enable paying with the bank account and be able to pass threw |
@Skalakid It require wallet beta access , as of #14988 (comment) , QA can access it using an expensifail account. I think it will be fine to add those test to QA section and keep dev tests as they’re |
|
@fedirjh I've just added those tests to QA section :D And like @robertKozik said, the erros are gone |
fedirjh
left a comment
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.
stitesExpensify
left a comment
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.
LGTM
|
Congrats, that’s your 5th PR merged! 🎉 Do you know about the ContributorPlus role? It’s an opportunity to earn more in the Expensify Open Source community. Keep up the great work - thanks! |
|
✋ 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/stitesExpensify in version: 1.3.24-0 🚀
|
|
This PR is failing QA because of issue #20280 |
|
🚀 Deployed to production by https://github.com/roryabraham in version: 1.3.24-5 🚀
|
|
🚀 Deployed to production by https://github.com/roryabraham in version: 1.3.24-5 🚀
|



Details
Fixed Issues
$ 17027
PROPOSAL: 17027
Tests
To make testing easier and safe some time you can make some changes in code to navigate directly to the
Terms and feesscreen in EnablePaymentsPage.In
EnablePaymentsPage.jschange:and in
FloatingActionButtonAndPopover.jschange:... text: this.props.translate('iou.splitBill'), - onSelected: () => Navigation.navigate(ROUTES.IOU_BILL), + onSelected: () => Navigation.navigate(ROUTES.ENABLE_PAYMENTS),Now you can navigate to the proper screen simply by clicking
+button and choosingSplit billoption 😉Or instead of modifying
FloatingActionButtonAndPopover.jsyou can deep-link into the enable-payments page:adb shell am start -a android.intent.action.VIEW -d new-expensify://enable-paymentsxcrun simctl openurl booted new-expensify://enable-payments/enable-paymentsin the browserFloatingActionButtonAndPopover.js🤷♂️Then you can start testing:
/enable-pagenormally or using methods described aboveA list of all Expensify Wallet feesitem. Verify the styling and the behaviour of the component.Offline tests
QA Steps
Alberta, last nameCharlesonand SSN as3333. Enter any data for the other fields.Verify identitypage click ContinueTerms and feespage click onA list of all Expensify Wallet feesitem. Verify the styling and the behaviour of the component.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
WEB.mov
Mobile Web - Chrome
web-mobile-chrome.mov
Mobile Web - Safari
web-mobile-safari.mov
Desktop
desktop.mov
iOS
ios.mov
Android
android.mov