feat: Followup show link existing account page when attempting to pay#69437
Conversation
|
ON HOLD until #68365 is merged |
…12-followup-link-existing-account-on-paying
|
@dominictb 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] |
|
🚧 @joekaufmanexpensify has triggered a test Expensify/App build. You can view the workflow run here. |
This comment has been minimized.
This comment has been minimized.
BUG: We're initially showing wrong linked bank account after selecting one on modalSteps:
Expected result:You immediately see the correct bank account shown in the split pay button. Actual result:You initially see the bank account you didn't select listed. We do show the correct bank account when you click away and back though. I could only reproduce this when I had two bank accounts setup. 2025-09-17_10-53-28.mp4 |
BUG: Incorrectly showing split pay button with partially setup bank accountSteps
Expected resultWe don't show the split pay button yet because you don't have a fully setup bank account linked to the workspace. Actual resultWe show the split pay button. Please see the second video below for how this works on staging when setting up a partially setup bank account from the pay button (which is what we want here). Adhoc2025-09-17_11-00-38.mp4Staging2025-09-17_11-00-11.mp4 |
BUG: we show connect existing account modal after you begin setting up new accountSteps
Expected resultWe go directly to the "continue setup" page for the bank account you started setting up, skipping the connect existing account modal. This is how the connect existing account modal works on the workflows page, and it should work the same way in both places. Actual resultWe show the connect existing account modal again, even though you already started the process of setting up a new account. 2025-09-17_11-03-57.mp4 |
|
That's all I found during my testing @MrMuzyk, it otherwise worked great! |
…12-followup-link-existing-account-on-paying
|
@joekaufmanexpensify Ive pushed fixes for 1st and 3rd bug. Discussion regarding 2nd is ongoing as you've seen on slack :) Hopefully tomorrow situation will clear out and we will be able to wrap this up soon |
|
Great! I will retest them 👍 |
|
🚧 @joekaufmanexpensify has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
|
Retested and confirmed the first and third bugs are fixed. Just the second left 👍 |
src/ROUTES.ts
Outdated
| }, | ||
| }, | ||
| BANK_ACCOUNT_CONNECT_EXISTING_BUSINESS_BANK_ACCOUNT: { | ||
| route: 'bank-account/:policyID/connect-existing-business-bank-account', |
There was a problem hiding this comment.
I think this should follow the BANK_ACCOUNT_ENTER_SIGNER_INFO route convention where policyID is a param instead of a path name.
|
🚧 @joekaufmanexpensify has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
|
Retested and looking good. Asked one question there and then good with me to proceed 👍 |
|
|
||
| if (filterType && account.accountData?.type !== filterType) { | ||
| return false; | ||
| } | ||
|
|
||
| if (filterCurrency && account.bankCurrency !== filterCurrency) { | ||
| return false; | ||
| } | ||
|
|
||
| return true; |
There was a problem hiding this comment.
| if (filterType && account.accountData?.type !== filterType) { | |
| return false; | |
| } | |
| if (filterCurrency && account.bankCurrency !== filterCurrency) { | |
| return false; | |
| } | |
| return true; | |
| return (!!filterType && account.accountData?.type === filterType) || (!!filterCurrency && account.bankCurrency === filterCurrency); |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2025-09-29.at.10.13.07-compressed.movAndroid: mWeb ChromeiOS: HybridAppScreen.Recording.2025-09-29.at.22.05.21-compressed.moviOS: mWeb SafariScreen.Recording.2025-09-29.at.09.42.19.movMacOS: Chrome / SafariScreen.Recording.2025-09-29.at.09.30.28-compressed.movMacOS: Desktop |
|
@MrMuzyk Can you merge main because I cannot log in iOS rn? |
…12-followup-link-existing-account-on-paying
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
|
@dominictb Done |
srikarparsi
left a comment
There was a problem hiding this comment.
code looks good to me :)
|
✋ 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/srikarparsi in version: 9.2.20-0 🚀
|
|
Failing in Web, mWeb, Android and iOS #71602 |
|
@srikarparsi FYI this wasn't able to be verified on staging, see this issue Please can you follow up and make sure this is verified. |
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.2.20-4 🚀
|
|
Thanks @Julesssss, we ended up reverting this PR but I added a comment in the follow up PR to make sure this doesn't occur. |
Explanation of Change
Fixed Issues
$ #65912
PROPOSAL:
Tests
Same as QA steps
Offline tests
QA Steps
Precondition: Be on account that has connected business bank account
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))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-native.mp4
Android: mWeb Chrome
android-web.mp4
iOS: Native
ios-native.mp4
iOS: mWeb Safari
ios-web.mp4
MacOS: Chrome / Safari
web.mp4
MacOS: Desktop
desktop.mp4