Revert "[Form Provider Refactor] AddDebitCardPage"#30708
Conversation
|
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
|
@allroundexperts 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] |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2023-11-01.at.9.46.18.PM.movAndroid: mWeb ChromeScreen.Recording.2023-11-01.at.9.24.32.PM.moviOS: NativeScreen.Recording.2023-11-01.at.9.19.07.PM.moviOS: mWeb SafariScreen.Recording.2023-11-01.at.9.17.28.PM.movMacOS: Chrome / SafariScreen.Recording.2023-11-01.at.9.13.50.PM.movMacOS: DesktopScreen.Recording.2023-11-01.at.9.29.18.PM.mov |
|
@allroundexperts are you testing now?? Cuz if so, that would be amazing 🙏 |
|
Yep! |
|
@marcochavezf 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] |
|
I'll go ahead and approve/merge since this is for a deployblocker |
…DebitCardPge Revert "[Form Provider Refactor] AddDebitCardPage" (cherry picked from commit 1921a93)
|
🚀 Cherry-picked to staging by https://github.com/tgolen in version: 1.3.94-1 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.3.94-2 🚀
|
|
🚀 Deployed to staging by https://github.com/tgolen in version: 1.3.96-0 🚀
|
|
🚀 Deployed to production by https://github.com/puneetlath in version: 1.3.96-15 🚀
|
cc @tgolen
also cc @kowczarz , author of the reverted PR
Details
Reverts https://github.com/Expensify/App/pull/29983/files
One thing to note @kowczarz : on the videos in your reverted PR, it looked like the form elements would immediately validate when typing (especially the card number input field). According to our docs (here) we actually don't want to validate until the user blurs the field, right? Is that something you considered in the PR?
Fixed Issues
$ #30703
Tests
Offline tests
Same as above
QA Steps
Same as above
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
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop