Show the new bank account statuses on Workflows for every workspace - #98026
Show the new bank account statuses on Workflows for every workspace#98026marufsharifi wants to merge 3 commits into
Conversation
|
@mkhutornyi 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] |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppios.moviOS: mWeb SafariMacOS: Chrome / Safariweb.mov |
ReviewLGTM — the fix is correct and the logic is sound. 🟢 The root cause matches your description: Verification details
One thing worth confirming manually, since it's a behavior change (not just the gating fix): for a non-Submit workspace on the beta, verify the bank account row is now interactive while offline and pressing it opens the bank account flow as expected — this path was previously offline-disabled. I couldn't run a live web check this pass: sign-in on the CI test session is blocked by a Cloudflare bot-mitigation challenge (403 on the dev server's |
|
Codex Review: Didn't find any major issues. You're on a roll. Reviewed commit: ℹ️ 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". |
Regression scanNo code-level regressions found. The diff is a clean gating swap plus a documented offline-behavior change. The two behaviors that genuinely change should get a manual check, though — they're the real regression surface. What actually changes behavior (verify these)
Why I don't expect hidden regressionsDetails
I couldn't run a live web pass to confirm scenarios 1 & 2 dynamically — sign-in on the CI test session is blocked by a Cloudflare bot-mitigation challenge (403 on the dev server's |
|
@marufsharifi please fix offline delete pending case. Screen.Recording.2026-08-13.at.5.14.14.PM.movAnd check potential regressions: 1. "Unlock" button lies to non-reimburser admins (Collect/Control)
Before this PR these workspaces just showed a plain Repro
2. Read-only viewers get a red dead-end
Repro: as an auditor on a Control workspace with a These happen only when beta enabled so not blockers but keep them in mind. |
|
Switching @joekaufmanexpensify in for product review. P.S - what is this? I don't see that in betaify at all.
|
It's pure frontend beta permission. Will be removed after #91300 (comment) is done. |
|
Mhm, but @joekaufmanexpensify said in that comment those are "post-launch" bugs so I'm curious for his take on if they are blockers. |
It's post-"beta launch" bugs. Non-beta users still see legacy layout in production. |
|
Two of the three bugs I found are polish. This one is the only one I would consider holding the release on. It shows a non-U.S. business bank account that's in the process of being set up in the totally incorrect state. We say it's "pending" and test transactions are needed, even though it's in the process of being set up and there's no test transaction step for non-US bank accounts. I feel like that has real potential to confuse people. Is that one in progress @marufsharifi @mkhutornyi? If that one was done, I think we could release this and finish the others after. |
@joekaufmanexpensify that one's fixed in #98023 — it was still in draft, just marked it ready for review and linked it to the issue. Thanks! |
|
Awesome, thank you! |
|
🚧 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, and Web. Happy testing! 🧪🧪
|
|
Testing well! Can't approve because GH is down, but will do so later |
joekaufmanexpensify
left a comment
There was a problem hiding this comment.
good for product
|
Conflicts @marufsharifi |
Explanation of Change
The Workflows payment account row gated the new bank account statuses on
canAccessSubmitWorkspaceFeatures, which isisSubmitPolicy(policy) && beta, so only Submit workspaces got them and everyone else kept the oldAction requiredbadge. It now gates on thewalletConnectionStatusbeta alone, matching the Wallet page.Fixed Issues
$ #91300
PROPOSAL:
Tests
Precondition:
Workspaces > [workspace] > WorkflowsIncomplete,Finish adding bank accountand aFinishbutton, instead of the oldAction requiredbadgeAccount > Wallet > Bank accountsshows the same account in the same styleOffline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, 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.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
Screen.Recording.2026-08-12.at.11.52.34.AM.mov
Android: mWeb Chrome
Screen_Recording_20260812_120303_Chrome.mp4
iOS: Native
Screen.Recording.2026-08-12.at.12.11.05.PM.mov
iOS: mWeb Safari
Screen.Recording.2026-08-12.at.12.12.56.PM.mov
MacOS: Chrome / Safari
Screen.Recording.2026-08-12.at.11.32.51.AM.mov