trails/openspec/changes/archive/2026-05-17-journal-poi-details/tasks.md
Ullrich Schäfer faf2227896
Archive journal-poi-details change; sync journal-route-detail spec
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 23:33:37 +02:00

890 B

Tasks: Journal POI Details

  • Extend Waypoint type in packages/types/src/index.ts with osmId and poiTags fields
  • Extract osmId and poiTags from Yjs Y.Map in apps/planner/app/components/ExportButton.tsx
  • Extract osmId and poiTags from Yjs Y.Map in apps/planner/app/components/SaveToJournalButton.tsx
  • Encode POI fields as <trails:poi> extensions in packages/gpx/src/generate.ts
  • Parse <trails:poi> extensions back into waypoints in packages/gpx/src/parse.ts
  • Add unit tests for GPX POI encode/decode roundtrip in packages/gpx/src/
  • Pass parsed waypoints with POI data from the loader in apps/journal/app/routes/routes.$id.tsx
  • Render POI details (phone, website, opening hours, address) for waypoints in the Journal route detail page
  • Add i18n keys for POI section labels (phone, website, opening hours, address)