trails/apps/planner/app/components
Ullrich Schäfer c2abb64ee0
Add per-waypoint notes and nearby POI snap to Planner
- `note` field on Waypoint type, stored in Yjs Y.Map and exported as
  `<desc>` inside `<wpt>` in GPX
- Inline textarea note editing in WaypointSidebar with auto-resize,
  character counter (500 max), save-on-blur, Escape cancel
- Note indicator dot on map markers; note tooltip on hover
- `useNearbyPois` hook: fetches POIs within 500m of selected waypoint
  via Overpass proxy, 500ms debounce, AbortController, 60s rate-limit
  suppression
- NearbyPoiMarkers component: renders POI markers on map for selected
  waypoint with snap-to-POI on click
- Nearby section in WaypointSidebar: list with snap buttons, spinner,
  empty/rate-limited states, "Show more" toggle (5 → all)
- Unit tests for fetchNearbyPois bbox geometry and snap-to-POI Yjs
  transaction behaviour

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 23:58:21 +02:00
..
ClientOnly.tsx Fix SSR and automerge timing 2026-03-23 00:49:54 +01:00
ColoredRoute.tsx Extract @trails-cool/map-core package from Planner 2026-04-12 22:28:14 +02:00
DayBreakdown.tsx Fix i18n: use planner namespace in sidebar components 2026-04-10 23:59:27 +02:00
ElevationChart.tsx Split ElevationChart + PlannerMap into deep modules; add visual regression testing 2026-05-10 16:41:23 +02:00
ExportButton.tsx Show POI details (phone, website, opening hours) on Journal route detail page 2026-05-17 23:32:38 +02:00
MapHelpers.tsx Split ElevationChart + PlannerMap into deep modules; add visual regression testing 2026-05-10 16:41:23 +02:00
MidpointHandles.tsx Add route interactions: click-to-split, drag-to-reshape, colored route rendering 2026-03-26 21:15:55 +01:00
NearbyPoiMarkers.tsx Add per-waypoint notes and nearby POI snap to Planner 2026-05-17 23:58:21 +02:00
NoGoAreaLayer.tsx Add undo/redo to planner 2026-04-04 10:04:01 +01:00
NotesPanel.tsx Fix notes not loading on session reload 2026-04-11 03:00:51 +02:00
ParticipantList.tsx Fix mobile header layout: hide secondary items on small screens 2026-04-12 19:39:19 +02:00
PlannerMap.tsx Add per-waypoint notes and nearby POI snap to Planner 2026-05-17 23:58:21 +02:00
PoiPanel.tsx Extract @trails-cool/map-core package from Planner 2026-04-12 22:28:14 +02:00
ProfileSelector.tsx Change default routing profile to fastbike, move hiking to end 2026-04-11 02:17:46 +02:00
RouteInteraction.tsx Extract @trails-cool/map-core package from Planner 2026-04-12 22:28:14 +02:00
SaveToJournalButton.tsx Show POI details (phone, website, opening hours) on Journal route detail page 2026-05-17 23:32:38 +02:00
SessionView.tsx Add per-waypoint notes and nearby POI snap to Planner 2026-05-17 23:58:21 +02:00
WaypointContextMenu.tsx Replace right-click behavior with context menu on waypoints 2026-04-11 02:42:43 +02:00
WaypointSidebar.tsx Add per-waypoint notes and nearby POI snap to Planner 2026-05-17 23:58:21 +02:00
YjsDebugPanel.tsx Session-bind /api/route and /api/overpass 2026-04-21 22:18:45 +02:00