WFDASHDRIVER-APP/lib
Dave 48e081a080 fix: convert iPhone HEIC photos to JPEG before upload
compressPhoto skipped HEIC on purpose (Chrome can't decode it), so an
iPhone driver's photos went up as HEIC. WFDASH's AI check can't read
HEIC and most desktop browsers can't show it — Thabo's first two invoice
photos on 2026-10-20 went unread.

Now HEIC/HEIF is always re-encoded to JPEG (downscaled to 2000px) when
the browser can decode it (Safari on iOS/macOS can). Where it can't, the
original is uploaded as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 07:07:12 +02:00
..
hooks.ts feat: popover stays above footer, partial collections must be justified 2026-08-02 22:58:08 +02:00
image.ts fix: convert iPhone HEIC photos to JPEG before upload 2026-10-20 07:07:12 +02:00
itemsCache.ts feat: add pickup proof photos, improve performance and UX 2026-07-07 20:43:17 +02:00
pocketbase.ts feat: keep stock pickup photos on the stock order 2026-10-19 17:02:06 +02:00
poDocs.ts feat: keep stock pickup photos on the stock order 2026-10-19 17:02:06 +02:00
pwa.ts Add PWA support and UI redesign 2026-05-27 00:34:50 +02:00
theme.ts feat: add complete dark mode support with settings toggle 2026-07-07 18:28:19 +02:00
types.ts feat: keep stock pickup photos on the stock order 2026-10-19 17:02:06 +02:00
utils.ts feat(grouping): add area grouping, refine UI and cleanup 2026-07-10 02:01:57 +02:00