feat: Refactor FullStep components#80354
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] |
|
@dukenv0307 While testing Ive noticed a bug where for non USD account after submitting data in Step 2 steps 3 and 4 were being skipped. This is a bug. |
|
@MrMuzyk Good catch, I can also reproduce this bug on staging, and it's fixed in this PR |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2026-01-29.at.00.04.17.movAndroid: mWeb ChromeScreen.Recording.2026-01-28.at.23.56.26.moviOS: HybridAppScreen.Recording.2026-01-29.at.00.05.37.moviOS: mWeb SafariScreen.Recording.2026-01-28.at.23.58.32.movMacOS: Chrome / SafariScreen.Recording.2026-01-28.at.23.51.25.mov |
| } | ||
|
|
||
| if (reimbursementAccount?.isSuccess === true) { | ||
| if (reimbursementAccount?.isSuccess === true && isSubmittingRef.current) { |
There was a problem hiding this comment.
Can we add a comment explaining why the isSubmittingRef is necessary in each file?
|
@arosiclair Done |
|
🚀 Deployed to staging by https://github.com/arosiclair in version: 9.3.11-31 🚀
|
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.3.12-1 🚀
|
Explanation of Change
Fixed Issues
$ #79047
PROPOSAL:
Tests
Same as QA steps
Offline tests
QA Steps
Precondition:
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
fullStep.mp4