-
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
[HOLD for payment 2024-02-15] [$500] Distance-By adding 2nd add stop user can delete empty location #35644
Comments
Job added to Upwork: https://www.upwork.com/jobs/~0196d67f3a0a23173a |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh ( |
Triggered auto assignment to @kevinksullivan ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Distance-By adding 2nd add stop user can delete empty location What is the root cause of that problem?The main problem with issue is that we check only waypoint count and regardless of the fullness of the input
What changes do you think we should make in order to solve the problem?To fix this issue we can update this const and add waypointAddress
What alternative solutions did you explore? (Optional)NA |
ProposalPlease re-state the problem that we are trying to solve in this issue.When a second stop is added the user see the three dots button and can delete it . What is the root cause of that problem?We only check for the number of waypoints and show the button when there are more than 2 waypoints.
What changes do you think we should make in order to solve the problem?I would check if there are more than two waypoints and if a current waypoint is already available e.g. the user wants to edit a waypoint. I think it doesnt makes sense to delete a waypoint which isnt saved.
Additionally we could also test if it is a stop waypoint. I think it doesnt makes sense to be able to delete start and finish endpoints. Editing should be enough for them.
What alternative solutions did you explore? (Optional)
|
@ZhenjaHorbach Proposal looks good to me. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @Beamanator, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
This is an interesting point -> If there are 3 points, and you delete the start one -> Does the 2nd one become the start? Similarly, if there are 3 points and you delete the end one, does the 2nd become the end? If so, I think we're good to go here 👍 @fedirjh does my question make sense? If so, do you mind answer that before I approve the proposal as well? |
this is the current behavior ) Screen.Recording.2024-02-05.at.15.17.43.mov
|
@Beamanator Yes, that is correct. Similarly, if you add a new stop, it will be pushed to the end of the list.
I don't quite agree with this one. What will you do if you mistakenly add a new waypoint? It will be pushed to the bottom, and you won't be able to delete it. The current behavior is such that you can't delete the start and finish endpoints only if you have just two waypoints. |
📣 @fedirjh 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @ZhenjaHorbach 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Groovy, i think it's an easy decision now to hire @ZhenjaHorbach 👍 |
PR will be ready today or tomorrow |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.38-6 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-02-15. 🎊 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:
|
@Beamanator, @kevinksullivan, @fedirjh, @ZhenjaHorbach Eep! 4 days overdue now. Issues have feelings too... |
Oh ) |
True :D Bump @kevinksullivan for payout & @fedirjh for checklist 🙏 |
BugZero Checklist:
|
All set on payment |
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.35
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
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:
When adding first add stop, after adding location only 3 dots on top to delete waypoint displayed. Same behaviour must be displayed while user adding another stop point and before adding location 3dots to delete waypoint must not be shown and user must not be able to delete empty location.
Actual Result:
When adding first add stop, after adding location only 3 dots on top to delete waypoint displayed but when user add another stop point before adding location 3dots to delete waypoint shown and user can delete empty location.
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6364419_1706848809407.stop.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: