trails/apps/planner/app/components
Ullrich Schäfer 267c2fb8b7
fix(planner): nearby-POI lookup sends the real session (was 401)
fetchNearbyPois defaulted sessionId to the placeholder "nearby", which
/api/pois's requireSession rejects (401 Unauthorized) — so the nearby-POI
lookup for a selected waypoint always failed on real deployments. Thread
the live planner sessionId through useNearbyPois → fetchNearbyPois →
queryPois (same session the main POI markers already use), and make
sessionId a required arg so the placeholder can't silently return.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-16 23:37:31 +02:00
..
ClientOnly.tsx Fix SSR and automerge timing 2026-03-23 00:49:54 +01:00
ColoredRoute.tsx perf(planner): group colored route into color runs, not 1 polyline/coord 2026-07-16 08:32:36 +02:00
DayBreakdown.tsx feat(planner): restyle sidebar on tokens (waypoints, notes, days) 2026-07-16 00:39:12 +02:00
ElevationChart.tsx feat(planner): collapsible elevation chart with summary bar 2026-07-16 01:39:01 +02:00
ExportButton.tsx fix(planner): distinct aria-label for export dropdown toggle 2026-07-16 00:43:30 +02:00
MapHelpers.tsx remove the map and ui shim packages 2026-06-10 07:47:59 +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 poi-index: map-core selectors, planner.pois schema, /api/pois route + client, metrics 2026-07-12 22:38:03 +02:00
NoGoAreaLayer.tsx feat(planner): restyle map markers + route on tokens 2026-07-16 07:20:17 +02:00
NotesPanel.tsx feat(planner): restyle sidebar on tokens (waypoints, notes, days) 2026-07-16 00:39:12 +02:00
ParticipantAvatars.tsx feat(planner): redesign topbar with tokens + primitives, presentational 2026-07-15 23:51:27 +02:00
PlannerMap.tsx fix(planner): nearby-POI lookup sends the real session (was 401) 2026-07-16 23:37:31 +02:00
PoiPanel.tsx chore(ts): replace 7 \as unknown as\ shims with proper types 2026-05-26 01:02:25 +02:00
ProfileSelector.tsx feat(ui): Select primitive; restyle ProfileSelector on tokens 2026-07-16 00:12:23 +02:00
RouteInteraction.tsx feat(planner): restyle map markers + route on tokens 2026-07-16 07:20:17 +02:00
SaveToJournalButton.tsx feat(planner): restyle Export + SaveToJournal buttons on tokens 2026-07-16 00:42:37 +02:00
SessionView.tsx fix(planner): nearby-POI lookup sends the real session (was 401) 2026-07-16 23:37:31 +02:00
Topbar.tsx feat(planner): move "computing route" from topbar to a map overlay 2026-07-16 01:01:08 +02:00
WaypointContextMenu.tsx Replace right-click behavior with context menu on waypoints 2026-04-11 02:42:43 +02:00
WaypointSidebar.tsx fix(planner): nearby-POI lookup sends the real session (was 401) 2026-07-16 23:37:31 +02:00
YjsDebugPanel.tsx planner: give the Yjs document a typed schema seam 2026-06-10 01:35:04 +02:00