project-nomad/admin/inertia/components/maps
Chris Sherwood f41027ca39 fix(Maps): render notes in marker popup when populated
Closes #796.

The maps API has accepted and persisted `notes` on map markers since
PR #770, but the marker popup component still rendered name only and
ignored the field. Now the popup shows a notes block beneath the name
when it's populated, with whitespace preserved and long text wrapped.

Threaded `notes` through the read path:
- `api.listMapMarkers` / `api.createMapMarker` response types
- `MapMarker` interface in `useMapMarkers` and the data.map projection
- `MapComponent`'s selectedMarker popup

The create/update UI is unchanged — users still set notes via the API
or DB directly, matching the issue's stated scope. A marker entry with
empty/whitespace-only notes renders the same as before.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-20 10:16:00 -07:00
..
CoordinateOverlay.tsx feat(maps): show map coordinates on mouse move (#786) 2026-05-20 10:16:00 -07:00
MapComponent.tsx fix(Maps): render notes in marker popup when populated 2026-05-20 10:16:00 -07:00
MarkerPanel.tsx feat(maps): add scale bar and location markers (#636) 2026-04-03 14:26:50 -07:00
MarkerPin.tsx feat(maps): add scale bar and location markers (#636) 2026-04-03 14:26:50 -07:00
ScaleUnitToggle.tsx feat(maps): show map coordinates on mouse move (#786) 2026-05-20 10:16:00 -07:00