From cd180bc13b157bf2188f486071cb909c5a18c58e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ullrich=20Sch=C3=A4fer?= Date: Sat, 11 Apr 2026 00:28:51 +0200 Subject: [PATCH] Fix exported plan GPX missing overnight waypoint metadata ExportButton.getWaypoints() wasn't reading the overnight flag from Yjs Y.Maps, so exported plan GPX was missing overnight. Co-Authored-By: Claude Opus 4.6 (1M context) --- apps/planner/app/components/ExportButton.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/planner/app/components/ExportButton.tsx b/apps/planner/app/components/ExportButton.tsx index f143c09..94e757c 100644 --- a/apps/planner/app/components/ExportButton.tsx +++ b/apps/planner/app/components/ExportButton.tsx @@ -23,6 +23,7 @@ function getWaypoints(yjs: YjsState) { lat: yMap.get("lat") as number, lon: yMap.get("lon") as number, name: yMap.get("name") as string | undefined, + isDayBreak: yMap.get("overnight") === true ? true : undefined, })); }