Fix BBA PENDING state validation#92773
Conversation
|
@codex review |
|
Codex Review: Didn't find any major issues. Nice work! ℹ️ 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". |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
PENDING state validation
|
@dukenv0307 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] |
JmillsExpensify
left a comment
There was a problem hiding this comment.
I was part of the discussion on the related issue. LGTM
|
Kind bump @dukenv0307 🙂 |
|
on it now |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2026-06-08.at.22.03.33.movAndroid: mWeb ChromeScreen.Recording.2026-06-08.at.21.57.27.moviOS: HybridAppScreen.Recording.2026-06-08.at.22.01.15.moviOS: mWeb SafariScreen.Recording.2026-06-08.at.21.58.31.movMacOS: Chrome / SafariScreen.Recording.2026-06-08.at.21.54.49.mov |
|
@VickyStash conflicts |
# Conflicts: # src/pages/ReimbursementAccount/USD/USDVerifiedBankAccountFlowPage.tsx
9b47d4c
|
cc @joekaufmanexpensify in case you want to review this PR as well. |
|
🚧 @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.
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚧 @arosiclair 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, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/arosiclair in version: 9.4.2-0 🚀
Bundle Size Analysis (Sentry): |
|
🚀 Deployed to staging by https://github.com/arosiclair in version: 9.4.4-1 🚀
Bundle Size Analysis (Sentry): |
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.4.4-3 🚀
|
Explanation of Change
This PR fixes bank account navigation for accounts in the
PENDINGstate, which regressed with the per-step routing refactor in #88193.Before #88193, opening a USD bank account in the
PENDINGstate rendered the Validate transactions step. After the refactor, each step became its own own route, so the existing condition inReimbursementAccountPageno longer produced a correct navigation state.With current setup we can't fully skip
ReimbursementAccountPagebecause it fetches the main reimbursement account data first — only once that data loads, we know which step the user should be on. Rather than automatically re-navigate user to the Validate transactions step directly, this PR shows the Continue setup step first, from which the user proceeds into Validate transactions. Pressing back from Validate transactions returns the user right back to the previous screen.Fixed Issues
$ #79048
PROPOSAL: N/A
Slack thread: https://expensify.slack.com/archives/C05LX9D6E07/p1780507170988739
Tests
Offline tests
Same, as in the Tests section
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
Same, as in the Tests section
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))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_web.mp4
iOS: Native
ios.mov
iOS: mWeb Safari
ios_web.mov
MacOS: Chrome / Safari
web.mp4