trails/apps/planner/app/components
Ullrich Schäfer 40e541fcce Implement Planner-Journal handoff (Group 9)
JWT-based handoff between Journal and Planner:

Journal side:
- JWT token generation scoped to route_id with 7-day expiry (jose)
- "Edit in Planner" button on route detail page — generates JWT,
  redirects to Planner /new with callback URL, token, and GPX
- Callback endpoint (POST /api/routes/:id/callback) validates JWT
  and creates new route version from received GPX

Planner side:
- /new route accepts callback, token, returnUrl, gpx params
- Creates session with callback metadata, initializes with GPX
- "Save to Journal" button POSTs GPX with Bearer token to callback
- "Return to Journal" link shown after successful save

All 6 Group 9 tasks complete.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 20:22:58 +00:00
..
ClientOnly.tsx Fix SSR and automerge timing 2026-03-23 00:49:54 +01:00
ElevationChart.tsx Fix waypoint icons and add elevation chart scrubbing 2026-03-23 07:04:04 +01:00
ExportButton.tsx Complete Planner UI: profile selector, elevation chart, GPX export 2026-03-23 00:57:39 +01:00
PlannerMap.tsx Fix waypoint drag, host election, segment routing, debug panel 2026-03-23 08:52:52 +01:00
ProfileSelector.tsx Complete Planner UI: profile selector, elevation chart, GPX export 2026-03-23 00:57:39 +01:00
SaveToJournalButton.tsx Implement Planner-Journal handoff (Group 9) 2026-03-24 20:22:58 +00:00
SessionView.tsx Implement Planner-Journal handoff (Group 9) 2026-03-24 20:22:58 +00:00
WaypointSidebar.tsx Fix waypoint drag, host election, segment routing, debug panel 2026-03-23 08:52:52 +01:00
YjsDebugPanel.tsx Fix waypoint drag, host election, segment routing, debug panel 2026-03-23 08:52:52 +01:00