trails/packages/gpx/src
Ullrich Schäfer 857100ef94
Fix overnight flag lost on Journal roundtrip
Three gaps in the Planner → Journal → Planner roundtrip:

1. SaveToJournalButton: wasn't including isDayBreak when building
   waypoints for GPX generation
2. PlannerMap GPX import: wasn't setting overnight on Y.Maps when
   importing waypoints with isDayBreak
3. use-yjs initial waypoints: wasn't setting overnight from isDayBreak

Also widened the waypoint type throughout the chain (api.sessions,
session.$id, SessionView, extractWaypoints) to carry isDayBreak.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 00:27:09 +02:00
..
compute-days.test.ts Add unit tests for computeDays and GPX overnight roundtrip 2026-04-11 00:05:54 +02:00
compute-days.ts Add multi-day data model, computeDays, and GPX roundtrip 2026-04-10 23:51:31 +02:00
daybreaks-extraction.test.ts Add per-day map coloring and remaining unit tests 2026-04-11 00:12:27 +02:00
generate.test.ts Add unit tests for computeDays and GPX overnight roundtrip 2026-04-11 00:05:54 +02:00
generate.ts Add multi-track GPX export option (splitByDay) 2026-04-11 00:04:48 +02:00
geom.test.ts Fix PostGIS geom population: use parseGpxAsync + raw SQL 2026-04-02 17:32:07 +01:00
index.ts Add multi-day data model, computeDays, and GPX roundtrip 2026-04-10 23:51:31 +02:00
nogo.test.ts Add unit tests for no-go area round-trip and waypoint extraction 2026-04-03 12:50:57 +01:00
parse.test.ts Remove sync parseGpx, use parseGpxAsync everywhere 2026-04-02 20:32:48 +01:00
parse.ts Add multi-day data model, computeDays, and GPX roundtrip 2026-04-10 23:51:31 +02:00
types.ts Add split export: Export Route vs Export Plan 2026-04-03 10:52:39 +01:00
waypoints.ts Fix overnight flag lost on Journal roundtrip 2026-04-11 00:27:09 +02:00