-
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
[HOLD for payment 2024-07-10][$250] 'You location' button is displayed on distance request thumbnail #43330
Comments
Triggered auto assignment to @lschurr ( |
@lschurr 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 |
We think that this bug might be related to #wave-collect - Release 1 |
ProposalPlease re-state the problem that we are trying to solve in this issue.'You location' button is displayed on distance request thumbnail What is the root cause of that problem?The button is always displayed. App/src/components/MapView/MapView.tsx Lines 241 to 257 in 4176e95
App/src/components/MapView/MapView.website.tsx Lines 255 to 271 in 4176e95
What changes do you think we should make in order to solve the problem?We can use the Bug 2: User location (blue dot) is also shown in the thumbnail ( App/src/components/MapView/MapView.website.tsx Lines 231 to 237 in 6044241
Bug 3: On confirmation page (also in money request preview), the map focuses on the users current location first and then animates to the waypoints. This happens because
App/src/components/MapView/MapView.website.tsx Lines 95 to 97 in 6044241
const shouldPanMapToCurrentPosition = useCallback(() => !userInteractedWithMap && (!waypoints || waypoints.length === 0), [userInteractedWithMap, waypoints]);
const [currentPosition, setCurrentPosition] = useState(shouldPanMapToCurrentPosition() && cachedUserLocation ? cachedUserLocation : initialLocation); What alternative solutions did you explore? (Optional)
|
Job added to Upwork: https://www.upwork.com/jobs/~015e9f59317ae04047 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hungvu193 ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
and use it in this logic instead:
What alternative solutions did you explore? (Optional)Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
Proposal updated
|
Reviewing shortly |
@truph01 Can you explain why we should only show markers (routes) when |
@hungvu193 That marker is to display the blue dot, not the routes: App/src/components/MapView/MapView.website.tsx Lines 231 to 237 in e66ae37
So I mean that we just display the blue dot if |
Oops, my bad I was chasing wrong mentioned code 🥶 . Thanks for proposals everyone. I believe we want to hide that blue dot along with You location button. (cc @lschurr for confirming this one) |
Triggered auto assignment to @mountiny, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@hungvu193, what do you think about my proposal? My proposal covers all three issues and the other issues are not part of original issues, so I don't think the proposal should be selected based on that. Hiding the blue dot will be same as hiding the your location button so I don't think the selected proposal is different from mine. |
Hey @Krishna2323, I chose @truph01 proposal because it has more detail about RCA and solution.
or
is detail enough. I know that contributors are always under pressure when posting proposals, but please keep them clear and more understandable 🙏 |
@hungvu193, I don't see any detailed RCA(same as mine) in the selected proposal and the solution is straight forward so I don't think I have to mention each and every component. I already mentioned we can create a new prop and can be passed similarly to interactive prop. What more details are you looking for? |
@hungvu193, If we address the second issue, why not also tackle the third one? I apologize for the argument 🙏🏻, but I believe it is very unfair to assign someone else’s proposal, which uses a similar approach to mine, especially when it is based on something that wasn't part of the original issue. I humbly request a re-evaluation. cc: @mountiny |
Sorry to let you down, but if you read selected proposal, you can see the different right?
This's what I'm looking for. And I don't think it's straight forward enough to put in that short explanation, as I mentioned here. Anyway, I'll let @mountiny decide. |
@hungvu193, I believe the original issue cares is not showing the Thanks for your responses, I'll wait for @mountiny's views here. |
I think my above answer is clear enough. However, that's just my thoughts. Since then I raised an internal discussion here: https://app.slack.com/client/E047TPA624F/C02NK2DQWUX |
📣 @truph01 You have been assigned to this job! |
@hungvu193 PR #43630 is ready for review. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.1-19 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-07-02. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Payment summary:
|
@truph01 - Are you paid via NewDot or is the automation on the comment incorrect? |
@lschurr The automation looks incorrect, I usually get paid via Upwork. My Upwork profile link is https://www.upwork.com/freelancers/~01c880ca813fdd85ec Can you send me the offer? |
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.3-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-07-10. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
@lschurr Offer accepted TY! |
This is complete :) |
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: 1.4.80-16
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):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:
Action Performed:
Expected Result:
There shouldn't be 'Your location' button on the thumbnail
Actual Result:
There is 'Your location' button on the thumbnail
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6506112_1717844094622.Screen_Recording_2024-06-08_at_1.52.06_in_the_afternoon.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @lschurrThe text was updated successfully, but these errors were encountered: