Skip to content

[Due for payment 2026-08-07] Add GPS route editing before creation #95060

Description

@neil-marcellini

Problem

The parent issue to this one broadly covers GPS route editing Add stop address editing for GPS mileage. This issue is specifically about supporting route editing before an expense is created, and not after. The latter will be handled in the parent issue as it requires saving gps coordinates on expenses.

Solution

Implement GPS route editing during the in app creation flow and ensure the expense is saved as edited by the backend.

This comment contains an explanation of the plan for how this should be implemented, which is roughly as follows:

  1. The user drags a slider to trim the GPS route in-app.
  2. The waypoints are edited to discard any after the edited stop point
  3. Update the last waypoint to be exactly the stop point
  4. Trim the GPS coordinates to exclude all after the stop point.
  5. Add the last waypoint to the GPS coordinates
  6. The backend should generate the route from the exact edited GPS points.

I would also like to note that we should save a copy of the original GPS coordinates and send them to the backend so that they can be saved on the expense in the future when that is built out. Saving the original will allow users to both trim and un-trim the route, which will be a nice feature to have.

Issue OwnerCurrent Issue Owner: @GCyganek

Metadata

Metadata

Labels

DailyKSv2InternalRequires API changes or must be handled by Expensify staffNewFeatureSomething to build that is a new item.Overdue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions