Vitron-Front/app/routes
Arda Samadi bac93568f5 feat(upload): convert HEIC/HEIF to JPEG on the client before preview/upload
Most browsers (everything but Safari/WebKit) can't decode HEIC in <img> or
canvas, so picking an iPhone HEIC photo broke the preview and the crop editor,
and could reach the backend in a format it couldn't process. Convert HEIC/HEIF
to JPEG right after selection via heic2any (dynamically imported, browser-only).

- new util app/utils/convert-heic.ts: isHeic() detection (MIME or extension
  when iOS reports no type) + convertHeicToJpeg()/convertHeicFiles(); never
  throws — falls back to the original file on failure.
- wired into the product image picker (store.add.manual) and the store
  logo picker (StoreForm).
- adds heic2any dependency.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-23 16:43:30 +03:30
..
_index.tsx fix(ios): respect safe-area insets so chrome clears the notch/home bar 2026-06-18 13:42:51 +03:30
$.tsx first 2026-04-29 01:44:16 +03:30
cart._index.tsx Desktop responsive: search page, cart list, masonry grid 2026-06-14 21:06:34 +03:30
cart.$cartId.tsx Desktop: cart checkout two-column + profile account grid 2026-06-16 11:19:55 +03:30
collection.$id.tsx Desktop fixes: product seller + actions, collection cover, masonry skeleton 2026-06-14 22:59:24 +03:30
collections.tsx Desktop polish: seller header contrast, collection image crop, infinite scroll 2026-06-14 22:19:40 +03:30
explore.tsx Desktop: explore page (category grid + contained layout) 2026-06-16 11:11:46 +03:30
login.tsx Login: 6-digit OTP + desktop layout 2026-06-14 21:36:42 +03:30
logout.tsx first 2026-04-29 01:44:16 +03:30
product.$id.tsx Security fixes: session hardening, open redirect, SSR path injection 2026-06-14 19:02:11 +03:30
profile._index.tsx Profile hard-guard: redirect /profile to /login when logged out 2026-06-16 15:00:53 +03:30
profile.about.tsx Desktop header: login/profile state + theme toggle; hide about/faq header 2026-06-16 13:59:34 +03:30
profile.bookmarks.tsx first 2026-04-29 01:44:16 +03:30
profile.faq.tsx Desktop header: login/profile state + theme toggle; hide about/faq header 2026-06-16 13:59:34 +03:30
profile.following.tsx first 2026-04-29 01:44:16 +03:30
profile.location._index.tsx Desktop: inline the fixed-bottom buttons on account pages 2026-06-16 12:58:51 +03:30
profile.location.add.tsx first 2026-04-29 01:44:16 +03:30
profile.location.edit.$id.tsx first 2026-04-29 01:44:16 +03:30
profile.orders.tsx feat(notifications): web push opt-in + unread nav badges 2026-06-17 14:02:56 +03:30
profile.sets._index.tsx first 2026-04-29 01:44:16 +03:30
profile.sets.$id.tsx first 2026-04-29 01:44:16 +03:30
profile.setting.tsx feat(notifications): web push opt-in + unread nav badges 2026-06-17 14:02:56 +03:30
profile.threads._index.tsx first 2026-04-29 01:44:16 +03:30
profile.threads.$threadId.tsx first 2026-04-29 01:44:16 +03:30
profile.tsx feat(notifications): web push opt-in + unread nav badges 2026-06-17 14:02:56 +03:30
profile.wallet._index.tsx Desktop: inline the fixed-bottom buttons on account pages 2026-06-16 12:58:51 +03:30
profile.wallet.payment.tsx first 2026-04-29 01:44:16 +03:30
resources.manifest[.]webmanifest.ts first 2026-04-29 01:44:16 +03:30
robots[.]txt.tsx first 2026-04-29 01:44:16 +03:30
search.$query.tsx Desktop responsive: search page, cart list, masonry grid 2026-06-14 21:06:34 +03:30
seller.$sellerId._index.tsx Desktop polish: seller header contrast, collection image crop, infinite scroll 2026-06-14 22:19:40 +03:30
sellers.tsx Desktop: account area (shared sidebar) + brands list 2026-06-16 12:46:22 +03:30
sitemap[.]xml.tsx first 2026-04-29 01:44:16 +03:30
store.$storeId._index.tsx Desktop: seller dashboard shell + gate carousel arrows to product gallery 2026-06-17 12:28:59 +03:30
store.$storeId.edit.tsx first 2026-04-29 01:44:16 +03:30
store.$storeId.financial-dashboard._index.tsx feat(seller-dashboard): desktop-friendly layouts for list and hub pages 2026-06-17 13:00:18 +03:30
store.$storeId.financial-dashboard.cash-funds.tsx first 2026-04-29 01:44:16 +03:30
store.$storeId.financial-dashboard.reports.tsx first 2026-04-29 01:44:16 +03:30
store.$storeId.financial-dashboard.transactions.tsx first 2026-04-29 01:44:16 +03:30
store.$storeId.orders._index.tsx feat(seller-dashboard): desktop-friendly layouts for list and hub pages 2026-06-17 13:00:18 +03:30
store.$storeId.orders.$orderId.tsx first 2026-04-29 01:44:16 +03:30
store.$storeId.product.$id.tsx Security fixes: session hardening, open redirect, SSR path injection 2026-06-14 19:02:11 +03:30
store.$storeId.products.tsx feat(seller-dashboard): desktop-friendly layouts for list and hub pages 2026-06-17 13:00:18 +03:30
store.$storeId.setting.tsx feat(notifications): web push opt-in + unread nav badges 2026-06-17 14:02:56 +03:30
store.$storeId.shipping-method.tsx first 2026-04-29 01:44:16 +03:30
store.$storeId.threads._index.tsx first 2026-04-29 01:44:16 +03:30
store.$storeId.threads.$threadId.tsx first 2026-04-29 01:44:16 +03:30
store.$storeId.tsx feat(notifications): web push opt-in + unread nav badges 2026-06-17 14:02:56 +03:30
store.add.manual.$storeId.tsx feat(upload): convert HEIC/HEIF to JPEG on the client before preview/upload 2026-06-23 16:43:30 +03:30
store.authenticate.instagram.$storeId.tsx first 2026-04-29 01:44:16 +03:30
store.create.tsx first 2026-04-29 01:44:16 +03:30