project-nomad/admin/inertia/components/maps
Chris Sherwood c46a673812 Merge PR #813 (kennethbrewer3) - feat(maps): Several user experience improvements
Resolved 2 conflicts. PR #813 was based on dev (pre-#786/#802 merges) so it
re-introduced overlapping changes:

ScaleUnitToggle.tsx:
  - PR #813 used inline `cursor: 'pointer'`. Kept HEAD's `cursor-pointer`
    Tailwind class to match codebase convention. Functionally identical.

MapComponent.tsx:
  - Took PR #813's full file as the base (it includes #786 + #802 work
    plus #813's new MapCommand prop, getMapLocationParams URL helper,
    targetIndicator state, fly-to/marker command useEffect, handleMapLoad).
  - Preserved one HEAD-only addition: `.maplibregl-popup` selector inclusion
    in both `target?.closest()` calls (handleMouseMove + onMouseMoveCapture).
    PR #813 takes a different approach (passing `onMouseEnter={hideCoordinates}`
    as a prop to ViewMapMarkerPopup and MapMarkerFormPopup), but adding the
    popup selector is belt-and-suspenders coverage and harmless.
2026-04-30 14:51:29 -07:00
..
CoordinateOverlay.tsx Moved the scale unit control to its own component file for easier maintenance. Enhanced the behavior of the coordinate display on the map to not display when over the on screen controls, and the navigation bar. Added a toggle to turn off the coordinate display if the user doesn't wish to see it. Intentionally left the coordinate display when over a map marker so that the coordinates of the map marker can be estimated. In the future I intend to add the coordinates of a map marker when the map marker is clicked so that behavior may change in the future. 2026-04-25 04:18:49 -04:00
MapComponent.tsx Merge PR #813 (kennethbrewer3) - feat(maps): Several user experience improvements 2026-04-30 14:51:29 -07:00
MapMarkerFormPopup.tsx Added a temporary marker when the user flies to a location. It will disappear when the add map marker button is clicked. 2026-04-30 03:21:40 -04:00
MarkerPanel.tsx Addressed PR comments about the textarea auto growing, the in flight notes changes asking for confirmation, and updated the hue sort to sort by lightness and then hue so that grayscale values will not collide with red 2026-04-29 02:13:43 -04:00
MarkerPin.tsx Map markers are now their own SVG that have an accurate point to the coordinate. Also the map marker accepts an icon parameter for future UI improvement. Currently the default map icon is a white circle. 2026-04-29 13:55:36 -04:00
ScaleUnitToggle.tsx Merge PR #802 (kennethbrewer3) - feat(maps): add details on marker 2026-04-30 14:48:13 -07:00
ViewMapMarkerPopup.tsx Added a temporary marker when the user flies to a location. It will disappear when the add map marker button is clicked. 2026-04-30 03:21:40 -04:00