-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Allow user to edit their paypal account #22620
Conversation
@eVoloshchak 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] |
@eVoloshchak PR is ready for review, please take look. Ty 🕺 |
@@ -465,6 +472,13 @@ class BasePaymentsPage extends React.Component { | |||
text={this.props.translate('paymentsPage.setDefaultConfirmation')} | |||
/> | |||
)} | |||
{isPayPalMeSelected && ( | |||
<Button | |||
onPress={() => this.navigateToAddPaypalRoute()} |
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.
onPress={() => this.navigateToAddPaypalRoute()} | |
onPress={this.navigateToAddPaypalRoute} |
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.
@eVoloshchak I didn't see your comment, what's the about?
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 a small styling fix, we can replace {() => this.navigateToAddPaypalRoute()} with {this.navigateToAddPaypalRoute}, otherwise looks good
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.
ah cool, fixed!
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-07-12.at.18.40.40.movMobile Web - Chromescreen-20230712-190008.mp4Mobile Web - SafariScreen.Recording.2023-07-12.at.18.51.22.movDesktopScreen.Recording.2023-07-12.at.19.02.42.moviOSScreen.Recording.2023-07-12.at.18.46.34.movAndroidscreen-20230712-185604.mp4 |
@hungvu193, if we're editing PayPal account, let's have the button say "Save PayPal account", and the message after save should be ![]() |
@eVoloshchak that make sense, I'll update in a while 😄 |
@hungvu193, we have to also make sure we're fixing #21642, add this as testing steps instead
|
We did not find an internal engineer to review this PR, trying to assign a random engineer to #21642 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
Cool. Updated the step :) |
✋ 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/cead22 in version: 1.3.41-0 🚀
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.3.41-3 🚀
|
🚀 Deployed to staging by https://github.com/cead22 in version: 1.3.42-0 🚀
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.3.41-3 🚀
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.3.42-26 🚀
|
Details
Allow user to edit their paypal account
Fixed Issues
$ #21642
PROPOSAL: #21642 (comment)
Tests
10 .Click on Paypal method that you just updated and click on Edit button.
Offline tests
Same as Tests.
QA Steps
10 .Click on Paypal method that you just updated and click on Edit button.
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)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
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)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
Web
Screen.Recording.2023-07-11.at.13.23.08.mov
Mobile Web - Chrome
Screen.Recording.2023-07-11.at.13.30.04.mov
Mobile Web - Safari
Screen.Recording.2023-07-11.at.13.37.05.mov
Desktop
Screen.Recording.2023-07-11.at.13.25.21.mov
IOS
Screen.Recording.2023-07-11.at.13.29.36.mov
Android
Screen.Recording.2023-07-11.at.13.30.04.mov