-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[Due for payment 2025-02-26] [$250] Distance - Distance label is not positioned within the map view #56531
Comments
Triggered auto assignment to @abekkala ( |
Triggered auto assignment to @mjasikowski ( |
💬 A slack conversation has been started in #expensify-open-source |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Not a blocker - minor UI issue. Caused by #55517 @truph01 @shubham1206agra can you look into that please? |
I’m currently investigating the issue. The problem arises because determining the correct position for the distance label is challenging. I’ll look into improving this. |
This issue is already known, as we mentioned during the implementation of PR #55517. In that PR, we encountered the issue and here’s our perspective on it:
|
Thanks @truph01. @Expensify/design is it OK if we consider this a mild UX inconvenience that is very difficult to fix and just learn to live with it? |
It would be nice for it to at least show up inside the view... But I'm not sure how strongly I feel. Let's see what @dubielzyk-expensify thinks. |
Yeah agree, I think ideally we should display it within the overall map view if we can. |
Yeah this feels worth solving. No point having the label if we can't guarantee it showing up |
Thanks all! @truph01 try to improve the label positioning as much as you can. Let's aim to display it reliably. |
I'm currently looking into the issue, but the visibility of the distance label depends on the zoom level. As shown in the video below, the visibility changes according to the zoom value: Screen.Recording.2025-02-12.at.17.57.26.movEnsuring the distance label stays visible at all zoom levels is difficult. In my opinion, the only solution is to anchor the distance label to a fixed position on the map, such as the bottom left corner. @dannymcclain |
I don't think it needs to stay visible at ALL zoom levels—it just needs to be visible on the initial zoom level. So basically, when you first land on the map you should be able to see it in the view, and after that, if you go messing with the map/zoom level, that's on you. cc @Expensify/design for a gut check on that. |
Yeah, that's my thinking too. Is there a way to just try to center it up within the map view? In the latest example it seems like it's anchored to the middle stop, instead of just trying to be vertically and horizontally centered to the map line/view. |
Agree with both the designers here. I think if you want a good reference, then open Google Maps and look up directions from A -> B and use set it to Driving. They might have more complicated calculations that we might not want or Mapbox might not provide, so like the above said it mostly just needs to look deliberate for the first zoom level |
I hope you're doing well. I recently submitted a proposal for your job on Upwork and wanted to check if it has been reviewed. I am available and ready to assist in resolving this issue efficiently. Please let me know if you need any further details from my end. Looking forward to your response! Best regards, |
📣 @muimsd! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
@muimsd Welcome to Expensify! First, please take some time to read through the guidelines on how to contribute to this project. This will help you understand the process and expectations for contributing effectively. |
@suneox Thank you for the reply. I will look further into the guidelines. meanwhile if you have any questions for me let me know? |
Sorry for the late reply but given we changed the background to better differentiate between the polyline and the distance marker I think what is being suggested here works well 👍 |
A label can be placed at the corner of a polyline if the road remains parallel after a turn. Thank you! |
@suneox I have read the guidelines. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.0-2 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 2025-02-26. 🎊 For reference, here are some details about the assignees on this issue:
|
@suneox / @parasharrajat @abekkala @suneox / @parasharrajat The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
PAYMENT SUMMARY FOR FEB 26
|
@suneox, please complete the checklist above so that payment can be issued tomorrow. Thanks! |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
|
PAYMENT SUMMARY FOR FEB 26
|
Payment requested as per #56531 (comment) |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.0.95-0
Reproducible in staging?: Yes
Reproducible in production?: Unable to check
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: Exp
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Device used: Mac 15.0 / Chrome
App Component: Money Requests
Action Performed:
Start - 88 Kearny Street
First Stop - Golden Gate Bridge
Second stop - Telegraph Hill
Expected Result:
The distance label will be positioned within the map view.
Actual Result:
The distance label is not positioned within the map view.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6736043_1738920872146.20250207_173156.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @abekkalaThe text was updated successfully, but these errors were encountered: