feat: 79048 restore reverted usd flow#88193
Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@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] |
|
@arosiclair 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: 95b7b1b053
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| if (pageIndex === 0) { | ||
| if (isEditingCreatedBeneficialOwner) { | ||
| Navigation.goBack(buildRoute(SUB_PAGE_NAMES.UBOS_LIST)); | ||
| } else { | ||
| Navigation.goBack(buildRoute(SUB_PAGE_NAMES.IS_USER_UBO)); |
There was a problem hiding this comment.
Return to the immediate previous UBO question
Pressing back on the first page of a new beneficial-owner details form always sends users to is-user-ubo, even when they entered the form from is-anyone-else-ubo/are-there-more-ubos. That skips intermediate state and makes back navigation inconsistent with the prior flow, so users can be bounced to the start of the UBO questionnaire instead of the step they just came from.
Useful? React with 👍 / 👎.
| verifyIdentityForBankAccount(Number(bankAccountID), {...onfidoData, applicantID: onfidoApplicantID}, policyID); | ||
| updateReimbursementAccountDraft({isOnfidoSetupComplete: true}); | ||
| onSubmit?.(); | ||
| }, |
There was a problem hiding this comment.
Wait for identity verification result before advancing
This advances to the next major page immediately after dispatching verifyIdentityForBankAccount, without waiting for the request outcome. If that call fails (e.g., transient backend/network failure), the user is still moved to Company info despite identity verification not being completed, which can produce confusing downstream errors and an invalid step sequence.
Useful? React with 👍 / 👎.
|
Not ready just yet, had to put out of draft to test something |
|
@arosiclair Unfortunately the fix that I thought I had didn't work as expected so Im still fighting with flickering bug I have one platform specific workaround in the works but it still needs some tweaks. I have some other issues that require my attention too so I'll pause here (for tomorrow at least). I'll try to get back to it ASAP 🤞 |
joekaufmanexpensify
left a comment
There was a problem hiding this comment.
Good for product
cc5b30d to
6567db3
Compare
|
Im back on it today |
|
I think Ive finally managed to find a fix. I'll conclude testing next week and we will proceed here finally 🤞 |
…/79048-restore-reverted-usd-flow
|
Decided to disable animations in USD and non USD reimbursement account flows as per comment It is ready for review now @dukenv0307 |
…/79048-restore-reverted-usd-flow
…/79048-restore-reverted-usd-flow
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2026-05-06.at.22.52.54.movAndroid: mWeb ChromeScreen.Recording.2026-05-06.at.22.46.00.moviOS: HybridAppScreen.Recording.2026-05-06.at.22.49.56.moviOS: mWeb SafariScreen.Recording.2026-05-06.at.22.43.47.movMacOS: Chrome / SafariScreen.Recording.2026-05-06.at.22.41.31.mov |
|
Looks good to me and tests well |
|
Alright I created #89915 to track the disabled animations. If we find a better approach, we can re-enable it there. |
|
🚧 @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! 🧪🧪
|
|
✋ 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/arosiclair in version: 9.3.69-0 🚀
Bundle Size Analysis (Sentry): |
|
Deploy Blocker #90144 was identified to be related to this PR. |
|
🚀 Deployed to production by https://github.com/Beamanator in version: 9.3.69-18 🚀
|
Explanation of Change
Fixed Issues
$ #79048
$ #87658
PROPOSAL:
Tests
Same as QA steps
Offline tests
QA Steps
Prerequisites: being an admin of at least one workspace, the workspace tested should have USD as the workspace currency
Partially setup bank accounts
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.mweb.mp4
iOS: Native
ios-native.mp4
iOS: mWeb Safari
ios-web.mp4
MacOS: Chrome / Safari
web.mp4