-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Add GPS coordinates to smartscanned images #35428
Conversation
Looks like the blocking PR got deployed to prod! |
Co-authored-by: Ionatan Wiznia <ionatan@expensify.com>
Sometimes, the right hand panel does not get dismissed immediately after clicking gpsChrome.mp4 |
@c3024 thanks for pointing that out. I'll get that fixed in the next couple of hours (right after lunch). |
@c3024 I have updated the branch |
@@ -228,6 +229,13 @@ function IOURequestStepConfirmation({ | |||
(selectedParticipants) => { | |||
const trimmedComment = lodashGet(transaction, 'comment.comment', '').trim(); | |||
|
|||
// Don't let the form be submitted multiple times while the navigator is waiting to take the user to a different page | |||
if (formHasBeenSubmitted) { |
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.
Shouldn't we be disabling the button?
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.
The button is about 5-6 nested components deep and would need a new prop. This problem isn't unique to this form (but getting the user's location doesn't help since it adds a little delay). so I didn't feel that adding a new disabled prop, and drilling it down, just for this form would be very valuable.
@c3024 please complete checklist when ready!! |
Reviewer Checklist
Screenshots/VideosMacOS: Chrome / SafarigpsChrome.mp4 |
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.
Tests well
@johnmlee101 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] |
I'll go ahead and merge this since an internal engineer has already approved it. |
✋ 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/tgolen in version: 1.4.38-0 🚀
|
🚀 Deployed to staging by https://github.com/tgolen in version: 1.4.38-0 🚀
|
🚀 Deployed to production by https://github.com/marcaaron in version: 1.4.38-6 🚀
|
Details
When requesting money using the "Scan" method, the user's location information will be requested and added to the payload as part of the confirmation step.
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/362628
Tests
gpsPoints
as part of the payloadOffline tests
None, this requires network requests to be made.
QA Steps
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)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label 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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop
NA