Refactor add personal bank account to use useSubPage#81333
Conversation
|
@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] |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3406d257a4
ℹ️ 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".
src/pages/settings/Wallet/InternationalDepositAccount/InternationalDepositAccountContent.tsx
Outdated
Show resolved
Hide resolved
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.
|
@bernhardoj can we add more unit tests? |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2026-02-04.at.11.09.45.movAndroid: mWeb ChromeScreen.Recording.2026-02-04.at.10.47.15.moviOS: HybridAppScreen.Recording.2026-02-04.at.10.44.08.moviOS: mWeb SafariScreen.Recording.2026-02-04.at.10.41.29.movMacOS: Chrome / SafariScreen.Recording.2026-02-04.at.09.35.59.mov |
|
@dukenv0307 hmm, this is just a refactoring PR, also we don't need unit test for ROUTES and CONST |
arosiclair
left a comment
There was a problem hiding this comment.
LGTM, waiting on other refactors to deploy first
|
@bernhardoj I think we can remove the hold label |
arosiclair
left a comment
There was a problem hiding this comment.
Can we fix the country page sliding in from the left after the spinner here? It should slide in from the right
Screen.Recording.2026-02-25.at.10.57.49.AM.mov
|
Half of the background is transparent after selecting the country Screen.Recording.2026-02-26.at.09.35.46.mov |
|
The rest looks good |
If we don't replace the current page, then it will slide in from the right. App/src/hooks/useSubPage/index.tsx Line 35 in 24fd24e I think we should create a new issue and fix this replace behavior.
Fixed |
|
Fixed web.mp4 |
|
@bernhardoj can you please fix the lint error? |
Screen.Recording.2026-02-27.at.23.19.41.movScreen.Recording.2026-02-27.at.23.29.42.movScreen.Recording.2026-02-27.at.23.36.21.mov |
|
Looks good |
|
@dukenv0307 Fixed |
|
✋ 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.3.28-0 🚀
|
|
@bernhardoj This PR is failing because of a regression issue #83978 The issue is reproducible in: Web Bug7092397_1772506915518.ExpensifyWrongRedirection.mp4 |
|
🚀 Deployed to staging by https://github.com/arosiclair in version: 9.3.30-0 🚀
|
|
🚀 Deployed to production by https://github.com/blimpich in version: 9.3.30-3 🚀
|
Explanation of Change
Fixed Issues
$ #79041
Part of #59245
PROPOSAL:
Tests
Same as QA Steps
Offline tests
Same as QA Steps
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
android.mweb.mp4
iOS: Native
iOS: mWeb Safari
ios.mweb.mp4
MacOS: Chrome / Safari
web.mp4