trails/openspec/changes/multi-day-routes
Ullrich Schäfer efdb3c1973
Add multi-day data model, computeDays, and GPX roundtrip
- overnight.ts: Yjs helpers to set/clear/check overnight flag on waypoints
- compute-days.ts: Pure function splitting routes into DayStage[] at day breaks
- use-days.ts: Reactive hook mapping Yjs state into computeDays() input
- GPX generate: emit <type>overnight</type> for isDayBreak waypoints
- GPX parse: recognize <type>overnight</type> and set isDayBreak on waypoints

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 23:51:31 +02:00
..
specs/multi-day-routes Fix all OpenSpec validation failures (36/36 passing) 2026-04-06 22:17:52 +02:00
.openspec.yaml Break up route-features into focused specs, add new changes 2026-03-29 09:53:41 +02:00
design.md Expand multi-day-routes spec to include Journal integration 2026-04-10 22:44:03 +02:00
proposal.md Expand multi-day-routes spec to include Journal integration 2026-04-10 22:44:03 +02:00
tasks.md Add multi-day data model, computeDays, and GPX roundtrip 2026-04-10 23:51:31 +02:00