[Internal QA]: Unshare bank account#76294
Conversation
|
Hey, I noticed you changed If you want to automatically generate translations for other locales, an Expensify employee will have to:
Alternatively, if you are an external contributor, you can run the translation script locally with your own OpenAI API key. To learn more, try running: npx ts-node ./scripts/generateTranslations.ts --helpTypically, you'd want to translate only what you changed by running |
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
# Conflicts: # src/pages/settings/Wallet/WalletPage/WalletPage.tsx
|
All looking great! |
# Conflicts: # src/pages/settings/Wallet/WalletPage/index.tsx
|
We still waiting BE logic for unshare and PR for share (to test end-2-end). But code could be ready for initial review |
src/pages/settings/Wallet/UnshareBankAccount/UnshareBankAccount.tsx
Outdated
Show resolved
Hide resolved
# Conflicts: # src/languages/fr.ts # src/languages/it.ts # src/languages/ja.ts # src/languages/pl.ts # src/languages/zh-hans.ts
NikkiWines
left a comment
There was a problem hiding this comment.
Sorry for the delay, was OOO for the holidays. @narefyev91 could you merge main here please? Then we should be good to move this forward 🙇
|
✋ 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/NikkiWines in version: 9.2.97-0 🚀
|
|
🚀 Deployed to staging by https://github.com/NikkiWines in version: 9.2.99-0 🚀
|
BUG: Unshare message shown in concierge chat from user side, but not supportSteps
Expected behaviorYou see the unshare message. This is important so agents can effectively support customers. Actual behaviorThe unshare message isn't shown on the support agent version of the chat. This doesn't happen when a bank account is shared. Only unshared. 2026-01-12_10-29-31.mp4cc @NikkiWines as I suspect this is a backend issue. |
This comment was marked as resolved.
This comment was marked as resolved.
|
I don't think either of these are blockers. Testing one more case before checking this off. |
|
The second of the two issues above is actually all set, per this. I marked it as resolved. 👍 |
BUG: Missing frontend error when unsharing Expensify Card settlement accountSteps:Precondition: Admin A and B have copies of a business bank acocunt. Admin B provisioned the Expensify Card with their bank account copy.
Expected behavior:We show a bottom drawer (mobile) / center state (web) modal explaining the bank account can't be unshared bcause it's being used as an Expensify Card settlement account.
Actual behavior:We show a generic error. Logs show we are correctly throwing on the backend.
|
|
Given we are throwing on the backend and this is a rare action, IDT we need to block on that either. Marking the PR as all set for QA purposes! |
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.2.99-8 🚀
|
@joekaufmanexpensify could you please send onyx data with such error - i would make a follow up PR to reflect these changes |
@narefyev91 Is there any specific onyx data you need to do this, and is it from the account trying to unshare the bank account or the account from which the bank account is being unshared and failing? |
i think onyx data when you try to unshare and error is shown (generic one - instead of drawer) |
|
Got it. But just the onyx data for the failed API response, or any specific keys? |
@joekaufmanexpensify This might be a limitation of queueing the unshare message in Auth (as opposed to Web, like we do for the share message). I'll look into fixing it (or moving it, if necessary) |
|
TY! |
yeah i think the whole onyx data - when result is failed. Generally needs to understand "based on what" we should show not standard red line with error - but drawer. |
|
Just to be 100% sure, the full onyx state for the account, via the |
yeah - that works as well :-) |
|
Looks like the onyxData would've been: "onyxData": [
{
"onyxMethod": "merge",
"key": "bankAccountList",
"value": {
"<bankAccountID>": {
"errors": {
"1768234530396601": "This bank account can't be deleted because it is used for Expensify Card payments. If you would still like to delete this account, please reach out to Concierge."
}
}
}
}
], |
hmmm - seems like we need to check if inside error text we have "Expensify Card" words... i do not see any other options - to trigger drawer |
|
Got it. Is that an issue? |








Explanation of Change
Implement release 2: Unshare bank account from the bank account sharing in NewDot design doc: https://docs.google.com/document/d/1l8ODiSIiEIE-a9zjj69ACqCHGHeLPwf4c-H5SJn3uHg/edit?tab=t.0#bookmark=id.ypt7upd0fqea
Fixed Issues
$ #73251
PROPOSAL:
Tests
Precondition has shared bank account with some admins
Offline tests
Precondition has shared bank account with some admins
QA Steps
Precondition has shared bank account with some admins
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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari