-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Reintroduce receipt recovery skipping distance requests #32562
Conversation
@0xmiroslav 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] |
Hey @0xmiroslav if you haven't got the capacity to review this, can you please speak up so we can find another volunteer? Thanks! |
I can do quick review if needed |
@situchan go ahead. thanks |
Perfect, assigned you @situchan. Thanks! |
@Gonals please merge main as 1.7k commits are behind |
Done |
@situchan bump! |
It's strange. |
Maybe just some backend downtime? 🤷 |
No, it already happened optimistically (before api call) |
Huh. Weird. |
@situchan, bump! |
I am trying to reproduce #31834 in the case of split distance request which is not handled in this PR. But the error doesn't come from backend so not able to test. split.distance.mov |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid.movAndroid: mWeb ChromeiOS: Nativeios.moviOS: mWeb Safarimsafari.movMacOS: Chrome / Safariweb-manual.movweb-scan.movweb-split-manual.movweb-split-scan.movMacOS: Desktopdesktop.mov |
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.
Approving in case above issues are out of scope
@NikkiWines 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] |
Yep. I don't think they are related |
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.
Looks good 👍
✋ 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/NikkiWines in version: 1.4.22-0 🚀
|
🚀 Deployed to staging by https://github.com/NikkiWines in version: 1.4.22-0 🚀
|
🚀 Deployed to production by https://github.com/thienlnam in version: 1.4.22-6 🚀
|
Details
Fixed Issues
$ #28884
PROPOSAL:
Tests
Open a chat in NewDot and click
+
->Request Money
->Scan
and upload a file that will fail in the backend. This corrupt file works:CORRUPT.pdf
Open the Money Request report chat. After a second or two, the request should fail and you should see this message:
Click on it and confirm you can download the file (Note that. refreshing or closing the app will make the file unavailable)
Go offline.
Create a Distance Money request through > + > Request money > Distance.
Enter vague addresses - SF for Start and LA for Finish point.
Create the Distance expense.
Go online.
Confirm the error is not the receipt-related one:
Offline tests
No changes
QA Steps
Same as tests
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop