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 |
| ); | ||
| const isPolicyExpenseChat = useMemo(() => ReportUtils.isPolicyExpenseChat(ReportUtils.getRootParentReport(report)), [report]); | ||
| let formHasBeenSubmitted = false; | ||
|
|
There was a problem hiding this comment.
Shouldn't we be disabling the button?
There was a problem hiding this comment.
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 |
|
@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
gpsPointsas part of the payloadOffline tests
None, this requires network requests to be made.
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.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 so 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
MacOS: Desktop
NA