fix: Do not display errors in the Start screen of USD VBA flow#57776
Conversation
|
@QichenZhu 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: Nativeandroid-native.mp4Android: mWeb Chromeandroid-web.mp4iOS: Nativeios-native.mp4iOS: mWeb Safariios-web.mp4MacOS: Chrome / Safarimac-web.movMacOS: Desktopmac-desktop.mov |
|
Hi @MrMuzyk, I saw the plan to update this PR tomorrow. Please ping me once it’s ready. Thanks! |
|
Hi @QichenZhu. PR is ready for the review |
|
Thanks @MrMuzyk! The code looks good and works well. Just a few suggestions as required by the checklist:
|
I believe it's only shown when your freshly created workspace has different currency than USD. This step doesn't matter when it comes to final outcome. I've changed the QA steps to create USD workspace straight away and removed mention of the
I will add recordings from other platforms soon. |
|
I've updated description and title and uploaded recordings for all the platforms but android mWeb. I hope we can skip this one as I'm having some issues running this atm (swapped to new laptop recently) and I'm about to finish my day. I can see that you've provided recording from that platform so it's all working well. |
|
I've finally managed to run the mweb version on android too. Added a recording |
|
@MrMuzyk thanks for your time and patience! |
neil-marcellini
left a comment
There was a problem hiding this comment.
I asked a question about the proposal on the issue. I want to understand it before we go ahead with this.
| )} | ||
| {shouldShowContinueSetupButton === true ? ( | ||
| <OfflineWithFeedback | ||
| errors={getLatestError(errors)} |
There was a problem hiding this comment.
I have a small concern with this function call. Since it relies on timestamps and one error comes from the client and the other from the server, if the client's clock is one second ahead, the order will be reversed.
There was a problem hiding this comment.
I don't think we need to worry about such an extreme edge case. If you can find a flow which is causing that error somewhat regularly then you can report it as a separate bug.
| )} | ||
| {shouldShowContinueSetupButton === true ? ( | ||
| <OfflineWithFeedback | ||
| errors={getLatestError(errors)} |
There was a problem hiding this comment.
I don't think we need to worry about such an extreme edge case. If you can find a flow which is causing that error somewhat regularly then you can report it as a separate bug.
|
✋ 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/neil-marcellini in version: 9.1.11-1 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.1.12-7 🚀
|


Explanation of Change
ContinuescenarioFixed Issues
$ #57768
PROPOSAL:
#57768 (comment)
Tests
Same as QA steps
Offline tests
QA Steps
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))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.native.mov
Android: mWeb Chrome
android.mweb.mov
iOS: Native
ios.native.mov
iOS: mWeb Safari
ios.web.mov
MacOS: Chrome / Safari
Screen.Recording.2025-03-05.at.09.24.40.mov
MacOS: Desktop
desktop.mov