Refactor User_AddBillingCard in App#9648
Conversation
|
Looks like you modified Instead, all new API commands should use API.js, and follow our guidelines for writing new API commands. Unsure if your change is okay? Drop a note in #expensify-open-source! |
|
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
thienlnam
left a comment
There was a problem hiding this comment.
Most of these changes look more related to form refactoring (all look good to me though) but we should be getting the error from PHP
thienlnam
left a comment
There was a problem hiding this comment.
Thanks for making all the changes!
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
AH I should have put a hold on this one! The Web-E PR is still not merged/in prod, so we needed to wait to merge this one. Sorry, my bad! |
|
Oof, sorry!! 😬 Do we need to revert, or is it okay to let it ride? |
|
I just merged the Web-E PR, this isn't deployed to staging yet and there isn't a web deploy today due to earnings call I think we can let it sit and if needed we can just CP the Web-E PR tommorow |
|
I agree. We can CP the Web-E PR to prod when the App PR hits staging (since staging uses the prod API). |
Details
isLoadinganderrorsince we are standardizing on those keysaddPaymentCardmethodcc @thienlnam will you please review?
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/216148
Tests
Settings > Payments > Add payment method > Debit card4242 4242 4242 4242for the card numberPaymentsscreenAdd payment method > Debit cardagain, but this time use2222 4200 0000 1113for card numberYou appear to be offlinebelow the submit buttonPR Review Checklist
Contributor (PR Author) Checklist
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*filesSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */displayNamepropertythisproperly 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)PR Reviewer Checklist
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick).src/languages/*filesSTYLE.md) were followed/** comment above it */displayNamepropertythisproperly 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)QA Steps
Same as test steps
Screenshots
Web
web.mov
Mobile Web
mweb.mov
Desktop
desktop.mov
iOS
ios.mov
Android
android.mov