project-nomad/admin/inertia
Chris Sherwood 866a6d5625
feat(maps): persist markers to database instead of localStorage
Moves map marker storage from browser localStorage to a server-side database
table so pins survive cache clears, browser changes, and device switches.

Backend:
- New `map_markers` table with future-proofed columns for routing (marker_type,
  route_id, route_order, notes) to avoid a migration when routes are added later
- CRUD endpoints: GET/POST /api/maps/markers, PATCH/DELETE /api/maps/markers/:id
- VineJS validation on create/update
- MapMarker Lucid model

Frontend:
- useMapMarkers hook now fetches from API instead of localStorage
- Marker IDs changed from string (UUID) to number (DB auto-increment)
- API client methods added for all marker operations

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 19:13:22 +00:00
..
app fix(ui): reduce SSE reconnect churn and polling overhead on navigation 2026-03-20 11:46:10 -07:00
components feat(maps): persist markers to database instead of localStorage 2026-04-03 19:13:22 +00:00
context feat: container controls & convienience scripts 2025-08-08 15:07:32 -07:00
css feat(maps): add scale bar, location markers with color selection 2026-04-03 19:13:22 +00:00
hooks feat(maps): persist markers to database instead of localStorage 2026-04-03 19:13:22 +00:00
layouts fix: cache docker list requests, aiAssistantName fetching, and ensure inertia used properly 2026-04-02 22:45:00 +00:00
lib feat(maps): persist markers to database instead of localStorage 2026-04-03 19:13:22 +00:00
pages fix: cache docker list requests, aiAssistantName fetching, and ensure inertia used properly 2026-04-02 22:45:00 +00:00
providers feat(UI): add Night Ops dark mode with theme toggle 2026-03-20 11:46:10 -07:00
tsconfig.json fix(Docs): documentation renderer fixes 2025-12-23 16:00:33 -08:00