trails/openspec/specs/planner-journal-handoff/spec.md
Ullrich Schäfer a9f8ee61f0
Add GPX file import to planner + archive change
Two import entry points:
- Home page: "Import GPX" button next to "Start Planning"
- In-session: drag-and-drop GPX onto the map (with confirmation)

Parses GPX client-side, extracts waypoints (Douglas-Peucker) and
no-go areas from extensions. Non-GPX files show error toast.

Also:
- Fix spec drift: non-GPX drop now shows error toast (was silent)
- Add E2E tests for import button, invalid GPX, and session creation
- Archive gpx-import-planner change, sync specs

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 17:31:44 +01:00

505 B

MODIFIED Requirements

Requirement: Export Plan reimport

The "Export Plan" GPX can now be reimported directly in the planner via the file upload UI, completing the round-trip without needing the journal.

Scenario: Reimport exported plan

  • WHEN a user exports a plan and later imports it via the planner's GPX upload
  • THEN waypoints, no-go areas, and track data are restored from the GPX
  • AND BRouter re-routes between the imported waypoints with the imported no-go areas active