Keep 20260324_add_route_segments, remove the timestamped duplicate
20260324000000_add_route_segments that was accidentally added.
DB migration record updated to match the canonical name.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The maplibre-gl webpack alias in next.config.mjs was intercepting CSS
sub-path imports, causing 'Module not found' for maplibre-gl/dist/maplibre-gl.css.
Removed the alias entirely (not needed for Next.js 14) and moved the CSS
import to layout.tsx so it resolves directly from node_modules.
Also adds the prisma migration file for RouteSegment table
(20260324000000_add_route_segments).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Convert demo page from static server component to interactive client
component with live data fetching and graceful static fallbacks
- Add /api/trips/by-slug/[slug] for slug-based trip lookup
- Add /api/trips/[id]/packing/[itemId] PATCH for toggling packed status
- Add proxy routes for rNotes, rVote, rCart (server-side, no CORS needed)
- Add demo trip seed script (prisma/seed-demo.ts)
- Packing checkboxes are now interactive with optimistic updates
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>