You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[LOW] Distance: Handle errors with geocoding for offline distance requests #22719
Check out the original plan in the design doc: Handling errors with geocoding.
Since then, we've updated the desired UX as outline in this Slack conversation. Here's the current desired UX.
Here is how the flow currently works
Go offline
Request money > Distance
Enter invalid start and finish addresses
Click next
Choose a workspace
Click request
Go online
Lots of issues
Here's how it should work after going online
The problematic request appears in the LHN as unread, with a red dot indicator. This matches the wave9 violations UX.
There is a red dot on the distance row on the transaction report page
Going back up the hierarchy, red dot also appears on the request preview in the expense report, and on the expense report preview in the workspace chat
We must be able to open all reports that potentially failed to create. Workspace chat, expense report, distance transaction report
After clicking on the distance row you are navigated to the distance request page and error messages are displayed under each invalid waypoint, instructing the user to edit them. When a waypoint is clicked the user can update the address and must use the suggestions which are now shown since they are online
When a new address is saved we clear any errors on the waypoint
When the save button is clicked we first make sure that all waypoints errors have been cleared, then call CreateDistanceRequest to try creating the request again instead of editing an existing request. We can identify that the request hasn’t been created yet because it doesn’t have a receipt.
❗ Note, this feels a bit sketchy. Is this going to work? Are we ok with the data only existing optimistically? Can we open all the chats without the request existing?
When the request is successfully created, clear all errors and make sure all optimistic data is updated or replaced.
Prior to retrying creation, the error messages can not be dismissed. If the user wants to give up they can delete the optimistic request with the normal delete flow and we must clean up all optimistic data.
This issue has not been updated in over 15 days. eroding to Monthly issue.
P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!
changed the title [-][HOLD 22718] Handle errors with geocoding for offline distance requests[/-][+]Handle errors with geocoding for offline distance requests[/+]on Aug 28, 2023
changed the title [-]Handle errors with geocoding for offline distance requests[/-][+][HOLD 22126] Handle errors with geocoding for offline distance requests[/+]on Aug 29, 2023
This issue has not been updated in over 15 days. eroding to Monthly issue.
P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!
This issue has not been updated in over 15 days. eroding to Monthly issue.
P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!
Activity
melvin-bot commentedon Aug 4, 2023
This issue has not been updated in over 15 days. eroding to Monthly issue.
P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!
[-][HOLD 22718] Handle errors with geocoding for offline distance requests[/-][+]Handle errors with geocoding for offline distance requests[/+][-]Handle errors with geocoding for offline distance requests[/-][+][HOLD 22126] Handle errors with geocoding for offline distance requests[/+]neil-marcellini commentedon Aug 29, 2023
On hold for Fix error handling when creating a request fails because we'll need to use a lot of that functionality.
neil-marcellini commentedon Sep 13, 2023
Still holding
85 remaining items
melvin-bot commentedon Mar 4, 2024
This issue has not been updated in over 15 days. eroding to Monthly issue.
P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!
melvin-bot commentedon Apr 8, 2024
This issue has not been updated in over 15 days. eroding to Monthly issue.
P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!
melvin-bot commentedon Jun 21, 2024
@neil-marcellini, this Monthly task hasn't been acted upon in 6 weeks; closing.
If you disagree, feel encouraged to reopen it -- but pick your least important issue to close instead.