[No QA] Throw errors for duplicate bank accounts#82750
Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@MelvinBot can you please review this PR. Are there any regressions this could cause? |
PR Review: Regression AnalysisWhat this PR doesThis PR adds
This adds three Onyx side effects that were previously absent:
This is a well-established pattern — 6+ other VBBA API calls in the same file already use Regression risks1. Error visibility gap on the BankInfo page (Low risk — pre-existing) The BankInfo page ( However, this is a pre-existing architectural gap that affects all VBBA steps using 2. Server-side error overwriting (Medium risk — worth verifying) The Onyx update order in
If the server returns a specific error message for duplicate bank accounts (e.g., in 3. New loading state where there was none (Low risk — improvement) Previously these calls had no loading feedback. Now VerdictThe change is minimal, follows an established pattern, and the regression risk is low. The main item to verify is whether the server-side handling for duplicate bank accounts sends specific error messages in |
|
@youssef-lr 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] |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: dff1689c22
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb Safari |
|
🚧 @youssef-lr has triggered a test Expensify/App build. You can view the workflow run here. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/youssef-lr in version: 9.3.32-0 🚀
|
|
🚀 Deployed to production by https://github.com/blimpich in version: 9.3.32-3 🚀
|


Explanation of Change
We want to show server side errors for the connect bank accounts flows (manually and plaid). This is in conjunction with this Web E PR which throws an error when adding a duplicate bank account.
Fixed Issues
$ #68134 (comment)
PROPOSAL:
Tests
Tested in conjunction with this Web E PR
Offline tests
N/A
QA Steps
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