project-nomad/admin/inertia/lib
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
..
api.ts feat(maps): persist markers to database instead of localStorage 2026-04-03 19:13:22 +00:00
builderTagWords.ts feat(benchmark): Require full benchmark with AI for community sharing (#99) 2026-01-25 00:24:31 -08:00
classNames.ts feat: initial commit 2025-06-29 15:51:08 -07:00
collections.ts feat: curated content system overhaul 2026-02-11 15:44:46 -08:00
icons.ts fix(UI): manual import map for DynamicIcon to avoid huge bundle of Tabler icons 2026-04-02 19:03:39 +00:00
navigation.ts fix: service name defs and ollama ui location 2026-02-01 05:46:23 +00:00
util.ts feat: improve global error reporting with user notifs 2026-02-04 22:58:21 -08:00