trails/apps/planner/app/routes
Ullrich Schäfer cc90c32a0e
Extract shared extractWaypoints into @trails-cool/gpx
Both new.tsx and api.sessions.ts had duplicated track-segment
waypoint extraction logic. Moved to packages/gpx as
extractWaypoints(gpxData) — uses <wpt> elements when present,
falls back to start of each track segment + end of last.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 20:47:17 +01:00
..
api.route.ts Add route error toasts with waypoint rollback 2026-03-29 14:09:20 +02:00
api.sessions.ts Extract shared extractWaypoints into @trails-cool/gpx 2026-04-02 20:47:17 +01:00
home.tsx Add planner landing page with features and CTAs 2026-03-25 04:03:06 +01:00
new.tsx Extract shared extractWaypoints into @trails-cool/gpx 2026-04-02 20:47:17 +01:00
session.$id.tsx Add withDb() helper for graceful DB error handling 2026-03-24 23:39:33 +01:00