-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Do not display errors in the Start screen of USD VBA flow #57776
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! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
Explanation of Change
Continue
scenarioFixed Issues
$ #57768
PROPOSAL:
#57768 (comment)
Tests
Same as QA steps
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.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