[NoQA] Remove direct and company cards betas#51997
Conversation
|
@abdulrahuman5196 @ 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] |
Reviewer Checklist
Screenshots/VideosMacOS: Chrome / SafariUploading Screen Recording 2024-11-05 at 12.01.04.mov… |
| { | ||
| value: CONST.COMPANY_CARD.FEED_BANK_NAME.AMEX, | ||
| text: translate('workspace.companyCards.addNewCard.cardProviders.gl1025'), | ||
| keyForList: CONST.COMPANY_CARD.FEED_BANK_NAME.AMEX, | ||
| isSelected: typeSelected === CONST.COMPANY_CARD.FEED_BANK_NAME.AMEX, | ||
| leftElement: ( | ||
| <Icon | ||
| src={Illustrations.AmexCardCompanyCardDetail} | ||
| height={variables.iconSizeExtraLarge} | ||
| width={variables.iconSizeExtraLarge} | ||
| additionalStyles={styles} | ||
| /> | ||
| ), |
There was a problem hiding this comment.
@mountiny I want to confirm this additional change. Note that, before, we only add AMEX if canUseDirectFeeds is false
There was a problem hiding this comment.
Good point, i will need to update this to do the inverse (not include it as amex is handled in different flow)
|
@techievivek 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] |
|
@robertjchen @deetergp Ready to merge |
|
✋ 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: 9.0.59-0 🚀
|
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.0.59-3 🚀
|
| } else { | ||
| Navigation.goBack(); | ||
| } | ||
| CompanyCards.setAddNewCompanyCardStepAndData({step: CONST.COMPANY_CARDS.STEP.SELECT_BANK}); |
There was a problem hiding this comment.
If it's not other bank, we should go back to feed type page. Ref: #53507
Explanation of Change
Removing the companyCards and directFeed betas
Fixed Issues
$ #50458
PROPOSAL:
Tests
Go through the flow for the company cards and make sure there are no bugs
Offline tests
N/A
QA Steps
Nothing specific
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.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