-
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
Scan - Clicking outside of the allow location modal submits the scan expense #47857
Comments
Triggered auto assignment to @muttmuure ( |
@muttmuure FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
Edited by proposal-police: This proposal was edited at 2024-08-22 13:08:20 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.What is the root cause of that problem?We call App/src/components/LocationPermissionModal/index.tsx Lines 66 to 69 in bf5d743
What changes do you think we should make in order to solve the problem?
onBackdropPress={() => {
setShowModal(false);
// setHasError(false);
resetPermissionFlow();
}}
NOTE: We shouldn't call What alternative solutions did you explore? (Optional)ResultMonosnap.screencast.2024-08-22.18-33-52.mp4 |
Edited by proposal-police: This proposal was edited at 2024-08-22 12:54:16 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Scan - Clicking outside of the allow location modal submits the scan expense What is the root cause of that problem?When we deny or click outside we still create the transaction
What changes do you think we should make in order to solve the problem?We can add new parameter to LocationPermissionModal like onCancel meaning clicking outside we can set the What alternative solutions did you explore? (Optional) |
Proposal Updated
|
ProposalPlease re-state the problem that we are trying to solve in this issue.When clicking outside the allow location modal the scan expense gets submitted What is the root cause of that problem?When we click outside, App/src/components/ConfirmModal.tsx Line 141 in d2eaf93
And then App/src/components/LocationPermissionModal/index.tsx Lines 66 to 70 in d2eaf93
What changes do you think we should make in order to solve the problem?We should separate
App/src/components/ConfirmModal.tsx Line 141 in d2eaf93
Then we will pass
What alternative solutions did you explore? (Optional) |
Proposal Updated
|
@muttmuure Eep! 4 days overdue now. Issues have feelings too... |
Unable to auto-create job on Upwork. The BZ team member should create it manually for this issue. |
Not overdue |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ikevin127 ( |
This comment was marked as outdated.
This comment was marked as outdated.
Thanks everyone for the proposals! 🚀 @Krishna2323's proposal is the most complete and detailed both in terms of RCA and most importantly solution, despite the many edits (which I'm not a fan of). The solution tests well according to the Expected result and takes into account details which the other proposals don't ( Note: I checked the timeline of edits and nothing is outstanding or "borrowed" from the other proposals (please let me know if you think otherwise). Given this, I think we should go with them for this issue. 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @neil-marcellini, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@neil-marcellini 👋 Friendly bump for assignment based on proposal review if it makes sense to you. |
Awesome |
📣 @raza1708! 📣
|
Maybe @Julesssss can review that approved proposal to keep this moving, as he has context on this feature? |
Yeah no worries, Neil I can take this one. The |
This comment was marked as off-topic.
This comment was marked as off-topic.
|
Yeah, looks ike this can be paid. |
@muttmuure, friendly bump |
Bumped for payments on Slack as well: https://expensify.slack.com/archives/C01GTK53T8Q/p1727218685162429?thread_ts=1724914803.531589&cid=C01GTK53T8Q |
Please apply to https://www.upwork.com/jobs/~021838979607891473449 |
@muttmuure Applied as C+ reviewer. |
@muttmuure, applied to the offer. |
Offer sent |
Paid |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.23-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): nathanmulugetatesting+1091@gmail.com
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
The Allow location modal closes and the app doesn't submit the scan expense
Actual Result:
When clicking outside the allow location modal the scan expense gets submitted
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6579103_1724318133318.bandicam_2024-08-22_11-48-23-544.mp4
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @ikevin127The text was updated successfully, but these errors were encountered: