project-nomad/admin/app/controllers
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
..
benchmark_controller.ts fix(Benchmark): improved error reporting and fix sysbench race condition 2026-02-11 22:09:31 -08:00
chats_controller.ts fix: improve type-safety for KVStore values 2026-03-03 20:51:38 -08:00
collection_updates_controller.ts fix(security): path traversal and SSRF protections from pre-launch audit 2026-03-11 14:08:09 -07:00
docs_controller.ts fix(Docs): fix doc rendering 2025-07-11 15:31:07 -07:00
downloads_controller.ts feat(downloads): rich progress, friendly names, cancel, and live status (#554) 2026-04-01 23:54:16 -07:00
easy_setup_controller.ts feat(AI): enable remote AI chat host 2026-04-01 23:54:16 -07:00
home_controller.ts fix(OSM): osm installation 2025-08-20 23:05:19 -07:00
maps_controller.ts feat(maps): persist markers to database instead of localStorage 2026-04-03 19:13:22 +00:00
ollama_controller.ts feat(AI): enable remote AI chat host 2026-04-01 23:54:16 -07:00
rag_controller.ts feat(AI): enable remote AI chat host 2026-04-01 23:54:16 -07:00
settings_controller.ts feat(AI): enable flash_attn by default and disable ollama cloud (#616) 2026-04-01 23:54:16 -07:00
system_controller.ts fix: surface actual error message when service installation fails 2026-03-25 16:30:35 -07:00
zim_controller.ts feat(downloads): rich progress, friendly names, cancel, and live status (#554) 2026-04-01 23:54:16 -07:00