Skip to content

refactor: simplify image location loading#31

Open
lawvs wants to merge 11 commits into
mainfrom
refactor/image-location-reader
Open

refactor: simplify image location loading#31
lawvs wants to merge 11 commits into
mainfrom
refactor/image-location-reader

Conversation

@lawvs

@lawvs lawvs commented Jul 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add independent image location reader using exifr and raw GPS tag fallback.
  • Add selection location loader so Eagle selection state no longer owns file reading or EXIF parsing.
  • Make useEagleSelection race-safe with abort/generation guards while preserving the existing UI-facing return shape.
  • Remove legacy piexif-ts/exif-reader/buffer parser path and dependencies.

Verification

  • pnpm test
  • pnpm run type-check
  • pnpm run lint:check
  • pnpm run build

Note: build still emits the existing Vite chunk-size warning for maplibre-gl.

@lawvs lawvs changed the title Refactor image location loading refactor: simplify image location loading Jul 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant