Fix incomplete BA doesn't open BA setup page in invoices page#80594
Conversation
| shouldSkipDefaultAccountValidation={!isSupportedGlobalReimbursement} | ||
| invoiceTransferBankAccountID={transferBankAccountID} | ||
| activePaymentMethodID={transferBankAccountID} | ||
| actionPaymentMethodType={shouldShowDefaultDeleteMenu ? paymentMethod.selectedPaymentMethodType : ''} |
There was a problem hiding this comment.
actionPaymentMethodType controls which payment method is currently active. When it was first implemented, we changed the selected payment method background color and it's 3-dot icon.
https://github.com/Expensify/App/pull/7374/files
But now, we don't change the bg color anymore and 3-dot icon color is already handled in ThreeDotMenu itself. So, I removed this because this also causes a wrong icon to be highlighted.
| iconWidth: paymentMethod.formattedSelectedPaymentMethod.icon?.iconWidth ?? paymentMethod.formattedSelectedPaymentMethod.icon?.iconSize, | ||
| iconStyles: paymentMethod.formattedSelectedPaymentMethod.icon?.iconStyles, | ||
| description: paymentMethod.formattedSelectedPaymentMethod.description, | ||
| wrapperStyle: [styles.mb1, styles.ph5, styles.pt5], |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@situchan just merged with main, please review |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppios1.movios2.moviOS: mWeb SafariMacOS: Chrome / Safariweb1.movweb2.mov |
|
Codex Review: Didn't find any major issues. Keep them coming! ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
|
✋ 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/francoisl in version: 9.3.16-0 🚀
|
|
🚀 Deployed to production by https://github.com/lakchote in version: 9.3.16-9 🚀
|




Explanation of Change
Fixed Issues
$ #79561
PROPOSAL: #79561 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
Precondition:
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)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.mp4
Android: mWeb Chrome
android.mweb.mp4
iOS: Native
ios.mp4
iOS: mWeb Safari
ios.mweb.mp4
MacOS: Chrome / Safari
wbe.mp4