freshyo/docs/user-ui-vs-web-ui-parity.md
2026-10-25 10:30:05 +05:30

390 lines
57 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# user-ui ↔ web-ui parity audit
**Goal:** `apps/user-ui` (React Native / Expo) and `apps/web-ui` (React web) are meant to be mirrors of each other — same screens, same sections, same copy, same behaviour, same ordering. This file lists every deviation found.
**Method:** static read of both apps, screen by screen, by five parallel audit passes (home/browse, cart/checkout, me/account, stores/slots/flash, shell/auth/location). Line numbers are from this working tree; paths are shortened to the part that differs (`user-ui:` = `apps/user-ui/`, `web-ui:` = `apps/web-ui/`). No runtime testing was done.
**Types**
- `CONTENT` — user-visible text/value differs (labels, headings, copy, formatting, colours that read as meaning).
- `STRUCTURE` — a section/element is missing, extra, or in a different order.
- `BEHAVIOUR` — state, validation, action, navigation, availability or disabled logic differs.
- `PLATFORM` — inherent React-Native-vs-web difference (native aler/sheet/carousel vs DOM). These are expected; listed so they are not mistaken for bugs.
**Spot-verified by hand** (the rest is from the audit reads): web cart/checkout routing, missing coupon selection on web, web flash checkout not using `PaymentAndOrderComponent`, web login `choice` step rendering nothing, user-ui home search input that never updates, web ProductCard responsive "Add" label + commented-out delivery date, web "Load more" + auto-load in orders, missing status tracker on web order detail, no About screen in user-ui, `freezeTime` vs `deliveryTime` slot gating, thin web store/flash product pages, flash gate only on mobile, `LocationBar` on mobile tabs only.
---
## 1. Executive summary — the biggest gaps
1. **Coupons do not exist on the web cart/checkout.** Mobile: multi-select coupon dropdown, applied chips, "Applies to N products", per-product breakdown, and `couponIds` sent to `placeOrder`. Web: a card that just links to `/me/coupons` ("Add Coupons to account") and no coupon sent at all.
2. **The web bill is not the same bill.** Web cart shows "Item Total / Calculated at checkout / Total"; mobile shows Bill Details with Products discount, one row per coupon, Delivery Fee (Free/₹x with struck-through original), "To Pay", the free-delivery nudge and the "You saved ₹x on this order" banner.
3. **Web flash checkout is a different page.** It is bespoke (`flash.checkout.tsx`), so it has no Payment Method section ("Pay Online (Coming Soon)", "UPI accepted during COD"), no Delivery Instructions, no Bill Details, a different CTA ("Place Flash Order (COD)" vs "Place Order") and no coupon handling.
4. **Product detail is much thinner on web for store and flash routes.** `home.product.$id.tsx` (435 lines) is close to mobile's `ProductDetail.tsx` (875 lines), but `stores.$storeId.product.$productId.tsx` (88 lines) and `flash.product.$id.tsx` (87 lines) drop description, badges, market price/% OFF, Available Slots, About, Bulk Savings, combo "Included Items" and buy-now; adding to cart navigates straight to the cart instead.
5. **No address gate on web** (`CartAddressGate` on mobile vs only `RegionGate` on web), so a web user with no address reaches checkout with an unusable address block.
6. **No location bar on any web tab.** Region is only changeable from Me → "Delivery Region"; mobile shows "Deliver to …" on Home, Stores, Offers and Me and supports the device-location → address → region flow.
7. **Order status tracker missing on the web order detail**; mobile shows Placed → Packed → Delivered and the same tracker inside the Upcoming-order card.
8. **Flash availability gate missing on web** ("1 Hr Delivery Unavailable" + "Go to Scheduled Delivery" exists only on mobile, `flash-delivery/_layout.tsx`).
9. **Auth is materially different:** web register has no Confirm Password and no Terms acceptance; web login has no Terms checkbox, no username/password path, no mobile-style choice step — and its OTP "Back" button sets a `choice` step that renders nothing (blank form).
10. **Nav differs:** tab order Offers/Stores is swapped, "1 Hr Delivery" vs "1 Hr", "Me" vs "My Account", plus a desktop sidebar + mobile bar on web vs a single tab bar on mobile.
11. **Slot availability uses different clocks:** Add-to-cart filters slots by `freezeTime` on mobile but by `deliveryTime` on web (web can offer a slot whose order window has closed). Home's slot filter differs the same way.
12. **Duplicated/dead web routes** (`home.cart.tsx`, `home.checkout.tsx` are unreachable; `/cart` and `/checkout` are the live ones) and an orphan `me.about.tsx` — the parity target is ambiguous until these are removed or adopted.
---
## 2. App shell / navigation / auth / location
### Structure
- `user-ui: app/(drawer)/_layout.tsx:36` ↔ `web-ui: src/components/AppLayout.tsx:48,62` — shell model differs: one bottom tab bar (+ hidden drawer) on mobile vs desktop sidebar rail **plus** separate mobile bottom bar on web.
- `user-ui: app/(drawer)/_layout.tsx:53-114` ↔ `web-ui: src/components/BottomNavigation.tsx:18-54` — tab order differs: mobile Home → Offers → 1 Hr (centre) → Stores → Me; web Home → Stores → 1 Hr → Offers → Me (Offers/Stores swapped).
- `user-ui: app/_layout.tsx:85` ↔ `web-ui: src/components/AppLayout.tsx:16` — web hides the shell on `/login`, `/register`, `/checkout`, `/home/checkout`, `/flash/checkout`; mobile has no equivalent list.
- `user-ui: (none)` ↔ `web-ui: src/components/shell/Sidebar.tsx:67-69` — web sidebar brand block "Delivering Freshness"; mobile has none.
- `user-ui: (none)` ↔ `web-ui: src/components/shell/Topbar.tsx:64-77` — web has a persistent Cart button with badge in the topbar; mobile has no cart entry in the tab bar.
- `user-ui: components/LoginWall.tsx:22-62` ↔ `web-ui: src/components/ProtectedRoute.tsx:5-28` — gate style differs: inline wall ("Please log in" / "Log in to continue." / "Log In" / "Go Back") vs redirect to `/login`; web wires it only into `/checkout`.
- `user-ui: app/(drawer)/(tabs)/me/_layout.tsx:20` ↔ `web-ui: src/components/ProtectedRoute.tsx:14` — gated-area copy differs: "Log in to view your profile, orders and more." vs no message (stores `auth_redirect`, navigates).
### Content
- `user-ui: app/(drawer)/_layout.tsx:91` ↔ `web-ui: src/components/BottomNavigation.tsx:36` — "1 Hr Delivery" vs "1 Hr" (web Sidebar does say "1 Hr Delivery", `Sidebar.tsx:28` — so web is internally inconsistent too).
- `user-ui: app/(drawer)/_layout.tsx:109` ↔ `web-ui: src/components/shell/Sidebar.tsx:40` — "Me" vs "My Account" (web bottom nav uses "Me").
- `user-ui: components/LoginWall.tsx:54` ↔ `web-ui: src/components/shell/Sidebar.tsx:130` — "Log In" vs "Sign In".
- `user-ui: app/(drawer)/(tabs)/me/_layout.tsx:20` ↔ `web-ui: src/routes/me.tsx:65,67` — signed-out copy: "Please log in" / "Log in to view your profile, orders and more." / "Log In" vs "Please sign in" / "Sign In".
### Behaviour
- `user-ui: app/(drawer)/(tabs)/me/index.tsx:23-29` ↔ `web-ui: (none)` — mobile Me hub runs a focus effect that `router.replace()`s to a stored navigation target; web has no such redirect.
### Auth
- `user-ui: app/(auth)/login.tsx:274,277` ↔ `web-ui: src/routes/login.tsx:176,178,180` — "Welcome" / "Sign in to continue your journey" vs "Welcome Back" / "Sign in to continue" / "Enter your mobile number to receive a one-time password".
- `user-ui: app/(auth)/login.tsx:18,321-360` ↔ `web-ui: src/routes/login.tsx:228` — mobile has a real `choice` step ("Choose your login method for {mobile}", "Use Password" / "Use OTP", "Change Number"); web sets `step='choice'` from the OTP back link but has **no `choice` render branch** (blank form). *Verified.*
- `user-ui: app/(auth)/login.tsx:516-530,577-607` ↔ `web-ui: (none)` — mobile requires the terms checkbox ("I agree to the " / "Terms and Conditions") and a terms dialog ("Cancel"/"OK"); web has no terms acceptance.
- `user-ui: app/(auth)/login.tsx:197,205` ↔ `web-ui: src/routes/login.tsx:99` — mobile validation copy "Mobile number is required" / "Please enter a valid 10-digit mobile number" vs "Enter a valid 10-digit mobile number".
- `user-ui: app/(auth)/login.tsx:449-461,506` ↔ `web-ui: src/routes/login.tsx:246-259` — password step: mobile has "Username" + "Back to options"; web has only the password field.
- `user-ui: app/(auth)/login.tsx:430-435` ↔ `web-ui: src/routes/login.tsx:239` — OTP resend shows "Sending..." on mobile; web shows only "Resend OTP" / "Resend in {n}s".
- `user-ui: app/(auth)/login.tsx:566` ↔ `web-ui: (none)` — mobile "other ways to login" link; absent on web.
- `user-ui: app/(auth)/login.tsx:107,113,122,126` ↔ `web-ui: src/routes/login.tsx:34-41` — mobile alerts "Success" / "Failed to send OTP" / "Verification failed" / "Invalid OTP"; web surfaces nothing.
- `user-ui: (none)` ↔ `web-ui: src/routes/login.tsx:140,147-151,296-314` — web-only brand panel ("Butcher & Grocer" / "Fresh cuts, planned deliveries, zero queues") and download banner ("Get the FreshYo App" / "Download for exclusive offers & faster checkout" / "Get App").
- `user-ui: src/contexts/AuthContext.tsx:119-160` ↔ `web-ui: src/routes/login.tsx:38,116` — post-login: mobile restores a stored redirect (`AUTH_REDIRECT_KEY`) else `router.back()`; web always goes to `/home`.
- `user-ui: components/registration-form.tsx:246-412` ↔ `web-ui: src/routes/register.tsx:43-70` — register fields: mobile Full Name / Email / Mobile / Password / **Confirm Password** + terms checkbox; web Full Name / Email / Mobile / Password only.
- `user-ui: app/(auth)/register.tsx:38,42` ↔ `web-ui: src/routes/register.tsx:35,38` — "Create Account" / "Join us to start your journey" vs "Create Account" / "Join Freshyo today".
- `user-ui: components/registration-form.tsx:433` ↔ `web-ui: src/routes/register.tsx:76` — CTA "Create Account" ("Creating Account...") vs "Register" ("Creating...").
- `user-ui: app/(auth)/register.tsx:47-52` ↔ `web-ui: (none)` — mobile "Already have an account? / Sign in"; web has no sign-in link.
### Location / region
- `user-ui: src/components/LocationBar.tsx:57` + used at `home/index.tsx:707`, `stores/index.tsx:220`, `me/index.tsx:113`, `order-again/index.tsx:141` ↔ `web-ui: src/routes/me.tsx:214` (only) — mobile shows "Deliver to <address>" on every top-level tab; web has no location bar.
- `user-ui: src/components/LocationBar.tsx:74` ↔ `web-ui: src/routes/me.tsx:216`, `RegionSelector.tsx:65` — "Choose your address" vs "Choose your region".
- `user-ui: src/components/location/LocationFallbackFlow.tsx:235-237` ↔ `web-ui: src/components/RegionSelector.tsx:65-68` — "Delivery Address" / "Choose a saved address, or add a new one. Your region follows the address." vs "Choose your region" / "We deliver to one region at a time. Pick where you want your groceries delivered." (different concept presented).
- `user-ui: components/LocationTestWrapper.tsx:30,147-160` ↔ `web-ui: src/components/RegionGate.tsx:18,70-80` — startup gate: device fix/default address then address chooser vs a persisted region id and a plain region list.
- `user-ui: components/LocationTestWrapper.tsx:89-94`, `LocationFallbackFlow.tsx:260` ↔ `web-ui: (none)` — mobile permission/denied copy ("Location access is not granted…", "Your device location is turned off…", "We could not get your location…", "Open location settings"); web only has "Unable to load regions" / "Please check your connection and try again." / "Retry".
- `user-ui: src/components/location/LocationFallbackFlow.tsx:343,351` ↔ `web-ui: (none)` — signed-out state "Login to get existing addresses." + "Login"; absent on web.
- `user-ui: components/QuickDeliveryAddressSelector.tsx:224,67-68` ↔ `web-ui: src/components/RegionSelector.tsx:73,141-144,159` — region-switch copy: "Selected address is in another region. Tap to switch region (clears cart)." / "This address is in {name}. Switching will clear your entire cart and take you home." vs "Switching region clears your current cart." / "Switching to {name} will clear your entire cart (regular and 1-hour delivery). This cannot be undone." + "Switch & clear cart".
- `user-ui: components/QuickDeliveryAddressSelector.tsx:23` ↔ `web-ui: (none)` — the quick address/foreign-region switcher has no web counterpart.
- `user-ui: app/(drawer)/(tabs)/me/index.tsx:68-74` ↔ `web-ui: src/routes/me.tsx:202-222` — mobile "Delivery Address" sits inside "Saved Information"; web has no such row and instead puts "Delivery Region" **after** Logout.
- `user-ui: app/(drawer)/(tabs)/me/index.tsx:73` ↔ `web-ui: src/routes/me.tsx:216` — subtitle "Delivering in {region}" / "Choose or add an address" vs "Browsing {region}" / "Choose your region".
### Address form
- `user-ui: src/components/AddressForm.tsx:206` ↔ `web-ui: src/components/AddressForm.tsx:16` — phone validation: "Phone must be a 10-digit number starting with 6, 7, 8 or 9" (`/^[6-9]\d{9}$/`) vs "Phone must be 10 digits" (`/^\d{10}$/`).
- `user-ui: src/components/AddressForm.tsx:425-434` ↔ `web-ui: src/components/AddressForm.tsx:343-360` — mobile only offers "Attach Location in map"; web also offers "Use my current location" / "Fetching location…".
- `user-ui: src/components/AddressForm.tsx:477-527` ↔ `web-ui: src/components/AddressForm.tsx:334-350` — mobile first opens a "Select a region" dialog ("The map opens on the region you pick." / "Select in Map" / "Cancel"); web opens the map directly.
- `user-ui: src/components/AddressForm.tsx:246` ↔ `web-ui: src/components/AddressForm.tsx:214` — "Please attach your current location or select it on the map." vs "Please use your current location or select one on the map."
- `user-ui: src/components/AddressForm.tsx:130` ↔ `web-ui: src/components/AddressForm.tsx:58` — "Attach or pick a location inside this town." vs "Use your location or pick a point inside this town."
- `user-ui: src/components/AddressForm.tsx:264-283` ↔ `web-ui: (none)` — mobile supports adding an address while signed out (draft + `PendingAddressSync`); web has no draft path.
- `user-ui: src/components/AddressForm.tsx:463,471-474` ↔ `web-ui: (none)` — "Attach a location to add address" hint and a LoadingDialog ("Adding address..." / "Updating address..."); absent on web.
- `user-ui: (none)` ↔ `web-ui: src/components/AddressForm.tsx:190,204,358` — browser-geolocation copy only on web ("Location is not supported in this browser…", "Could not get your location…", "Fetching location…").
- `PLATFORM` `user-ui: src/components/AddressForm.tsx:452` ↔ `web-ui: src/components/AddressForm.tsx:380` — submit button `bg-indigo-600` vs `bg-brand-500`.
### App-wide notices (mobile-only, all absent on web)
- `user-ui: components/UpdateChecker.tsx:16,31-38` — "Update available" / "A new version of the app is available. Please restart to continue." / "Update & Restart".
- `user-ui: components/HealthTestWrapper.tsx:10,58-67,80-93` — "Service Unavailable" / "Please check your connection and try again." / "Retry"; "Update Available" / "Update Now".
- `user-ui: components/WebViewWrapper.tsx:10` — replaces the app with a closable WebView of `webviewHtml`.
- `user-ui: components/FirstUserWrapper.tsx:6,29-31` — first-run gate "Hello Happy Shopping" / "Next".
- `user-ui: components/TestingPhaseNote.tsx:6,17-26` (rendered in the cart) — "Testing Phase" / "This app is in testing phase until Jan 23, 2026" / "Actual delivery service has not started yet" / "Prices shown are not real" / "Any feedback or issues found? WhatsApp on +91 9676651496".
- `user-ui: components/FlashDeliveryNote.tsx:12,48-51` — "1 Hr Delivery Notice" / "Prices may differ for 1 Hr Delivery and not all products are available for flash delivery" (dismissible, auto-hides after 10s).
---
## 3. Home
### Structure
- `user-ui: home/index.tsx:707` ↔ `web-ui: home.index.tsx:233-244` — top block: LocationBar vs a "Welcome band" ("Smiles delivered with" / "The best harvest, delivered to your door" / "Chicken, mutton, fish and more, cut to order from our own stores. Reserve a delivery slot and we will bring it cold and clean.").
- `user-ui: (none)` ↔ `web-ui: home.index.tsx:247-272` — web-only "Get the FreshYo App" banner ("Download for exclusive offers & faster checkout" / "Get App" → `playStoreUrl`).
- `user-ui: home/index.tsx:710-724` ↔ `web-ui: home.index.tsx` (absent) — mobile has an in-page search bar; web's search lives in the topbar.
- `user-ui: home/index.tsx:396` ↔ `web-ui: (only on /me, me.tsx:162)` — "Upcoming Order" NextOrderGlimpse is a home section on mobile, absent from the web home.
- `user-ui: home/index.tsx:698-773` ↔ `web-ui: home.index.tsx:426-464` — section order: mobile LocationBar → SearchBar → NextOrderGlimpse → Explore → Our Stores → Upcoming Delivery Slots → All Available Products; web Welcome → Get-App → Explore Products → Shop by Store → Upcoming Delivery Slots → All Products.
- `user-ui: home/index.tsx:341,359-367` ↔ `web-ui: home.index.tsx:327-334,442-449` — card variants/props differ: mobile uses `variant="hero"` and `showDeliveryInfo={false}` for the grids; web uses the default variant.
### Content
- `user-ui: home/index.tsx:456,458` ↔ `web-ui: home.index.tsx:399-402` — slots heading: "Upcoming Delivery Slots" + "Plan your fresh deliveries ahead" vs eyebrow "Plan Ahead" + "Upcoming Delivery Slots" (no subtitle).
- `user-ui: home/index.tsx:432,435` ↔ `web-ui: home.index.tsx:361-371` — stores heading: "Our Stores" / "Fresh from our locations" (no link) vs "Our Outlets" / "Shop by Store" / "All stores →".
- `user-ui: (none)` ↔ `web-ui: home.index.tsx:279-282` — web-only Explore header: "Browse by Category" / "Explore Products".
- `user-ui: home/index.tsx:480,482` ↔ `web-ui: home.index.tsx:429-432` — "All Available Products" (no eyebrow) vs eyebrow "The Full Counter" + the same heading/subtitle.
- `user-ui: packages/ui/src/components/search-bar.tsx:25` ↔ `web-ui: src/components/shell/Topbar.tsx:50` — search placeholder "Search fresh meat..." vs "Search chicken, mutton, fish".
- `PLATFORM` `user-ui: home/index.tsx:250` ↔ `web-ui: home.index.tsx:305` — inactive tab colour slate-500 vs gray-500.
### Behaviour
- `user-ui: home/index.tsx:494,713,718-719` ↔ `web-ui: (Topbar search works)` — mobile's home search input is inert: `inputQuery` never updates (`onChangeText={() => {}}`), so the submit branch can't fire; tapping is the only path. *Verified.*
- `user-ui: home/index.tsx:566` ↔ `web-ui: home.index.tsx:210` — slot filter: mobile requires both `deliveryTime` and `freezeTime` in the future; web only checks `deliveryTime` (can show an already-closed slot). *Same class of bug as the add-to-cart dialog.*
- `user-ui: home/index.tsx:450` ↔ `web-ui: home.index.tsx:396-424` — empty slots: mobile hides the section; web renders an empty scroller with no message.
- `user-ui: (none)` ↔ `web-ui: home.index.tsx:374-376,405-406,436-438` — web-only per-section spinners "Loading stores...", "Loading slots...", "Loading products...".
- `user-ui: home/index.tsx:674-682` ↔ `web-ui: (none)` — mobile replaces the page with "Loading products..."; web keeps sections rendered.
- `user-ui: home/index.tsx:684-693` ↔ `web-ui: (none)` — mobile-only error state: icon + "Oops!" + "Failed to load products" / "Failed to load app settings".
- `user-ui: home/index.tsx:731` ↔ `web-ui: (none)` — "No products available" empty text only on mobile.
- `user-ui: home/index.tsx:585-599` ↔ `web-ui: home.index.tsx:151-165` — per-tag product list: web also appends `tag.productIds` extras sorted by availability; mobile builds strictly from `productIds`.
- `user-ui: home/index.tsx:80` ↔ `web-ui: home.index.tsx:382-388` — store tap: mobile sets `navigatedFromHome`/`selectedStoreId` and pushes the Stores tab; web goes straight to `/stores/$storeId`.
- `PLATFORM` `user-ui: home/index.tsx:698-773` ↔ `web-ui: home.index.tsx:440` — SectionList rows vs responsive 3/4/5-col CSS grid; pull-to-refresh vs hover.
- `PLATFORM` `user-ui: (none)` ↔ `web-ui: home.index.tsx:417-421` — web-only scroll-indicator dots for the slots row.
---
## 4. Product card (shared component)
- `CONTENT` `user-ui: components/ProductCard.tsx:234` ↔ `web-ui: src/components/ProductCard.tsx:180-181` — "Quantity: <unit>" vs "Qty: <unit>".
- `CONTENT` `user-ui: components/ProductCard.tsx:267` ↔ `web-ui: src/components/ProductCard.tsx:224-225` — add button always "Add to Cart" vs "Add" below `md` and "Add to Cart" from `md` up (mobile browsers see a different label). *Verified.*
- `STRUCTURE` `user-ui: components/ProductCard.tsx:238` ↔ `web-ui: src/components/ProductCard.tsx:184-198` — mobile renders a delivery-date badge when `showDeliveryInfo`; web's block is commented out ("Delivery date hidden for now"), so web cards never show the delivery window. *Verified.*
- `CONTENT` `user-ui: components/ProductCard.tsx:188-195` ↔ `web-ui: src/components/ProductCard.tsx:114-118` — image error: mobile shows the text "Image failed to load"; web shows only an ImageOff icon.
- `CONTENT` `user-ui: components/ProductCard.tsx:227` ↔ `web-ui: src/components/ProductCard.tsx:174` — price colour `text-brand500` vs `text-brand-600`.
- `BEHAVIOUR` `user-ui: components/ProductCard.tsx:142,148` ↔ `web-ui: src/components/ProductCard.tsx:72,81` — add feedback: titled alerts "Error" / "Added to Cart" vs bare `alert(...)`; same body text.
- `BEHAVIOUR` `user-ui: components/ProductCard.tsx:123` ↔ `web-ui: src/components/ProductCard.tsx:62` — out-of-stock: mobile waits for `isSlotsLoaded` before treating a missing slot as out of stock; web treats `!slotId` as out of stock immediately (can flash "Out of Stock" while slots load).
- `BEHAVIOUR` `user-ui: components/ProductCard.tsx:57-62` ↔ `web-ui: (none)` — mobile forces a 5s re-render interval; web has no such loop.
- `PLATFORM` `user-ui: components/ProductCard.tsx:196-201` ↔ `web-ui: src/components/ProductCard.tsx:136-142` — out-of-stock badge: red-500 pill over black/40 vs gray-900 pill over gray-900/50.
---
## 5. Product detail
### Home product page (`home.product.$id.tsx`)
- `STRUCTURE` `user-ui: components/ProductDetail.tsx:390-435` ↔ `web-ui: (absent)` — mobile "Included Items" combo section with per-item "OFFER" badge; web has none.
- `STRUCTURE` `user-ui: (none)` ↔ `web-ui: home.product.$id.tsx:167-175` — web-only floating back button.
- `CONTENT` `user-ui: components/ProductDetail.tsx:291-293` ↔ `web-ui: home.product.$id.tsx:235-237` — unit next to price: mobile hides it for combos; web always shows it.
- `CONTENT` `user-ui: components/ProductDetail.tsx:307-313` ↔ `web-ui: home.product.$id.tsx:250-255` — flash price line: mobile appends `/ {unit}` only for non-combos; web always.
- `CONTENT` `user-ui: components/ProductDetail.tsx:525` ↔ `web-ui: home.product.$id.tsx:387` — bulk savings row: "Buy {qty} • {unit}" (unit hidden for combos) vs "Buy {qty} {unit}".
- `BEHAVIOUR` `user-ui: components/ProductDetail.tsx:370-381` ↔ `web-ui: home.product.$id.tsx:287-301` — secondary CTA: mobile disables and relabels "Get in 1 Hour" → "No Slots" when no slots exist; web ignores slots entirely and toggles on out-of-stock only ("Out of Stock").
- `BEHAVIOUR` `user-ui: components/ProductDetail.tsx:337-353` ↔ `web-ui: home.product.$id.tsx:271-283` — add-to-cart disabled/label: mobile also disables ("Unavailable") in flash mode when `!isFlashAvailable`; web only uses `isOutOfStock`.
- `BEHAVIOUR` `user-ui: components/ProductDetail.tsx:100-106,133,694` ↔ `web-ui: home.product.$id.tsx:76-104` — add flow: mobile shows a "Processing..." dialog and no success alert; web alerts "Added {name} for delivery at {time}" and shows no dialog.
- `BEHAVIOUR` `user-ui: components/ProductDetail.tsx:145-149` ↔ `web-ui: home.product.$id.tsx:106-116` — buy-now: mobile seeds the flash cart and pushes the flash tab; web navigates to `/flash/cart`.
- `BEHAVIOUR` `user-ui: components/ProductDetail.tsx:323-328` ↔ `web-ui: home.product.$id.tsx:263-268` — quantity control: mobile `Quantifier` stepping by 1 vs web `MiniQuantifier` stepping by `incrementStep || 1`.
- `BEHAVIOUR` `user-ui: components/ProductDetail.tsx:667` ↔ `web-ui: home.product.$id.tsx:137` — after choosing a slot in the "All Delivery Slots" dialog, web closes it; mobile leaves it open.
- `STRUCTURE` `user-ui: components/ProductDetail.tsx:533-648` ↔ `web-ui: (absent)` — mobile contains a reviews form/list behind `{false && …}`; web has no review markup at all (both effectively hidden).
- `PLATFORM` `user-ui: components/ProductDetail.tsx:241-261,454-459` ↔ `web-ui: home.product.$id.tsx:178-207,308-309,325` — expo ImageCarousel vs custom carousel; MaterialIcons vs lucide icons.
### Store product page
- `STRUCTURE` `user-ui: stores/store-detail/product-detail/[id].tsx:14` (renders the full `ProductDetail`) ↔ `web-ui: stores.$storeId.product.$productId.tsx:41` (88 lines total) — web renders only image, name, unit, price, quantifier, Add to Cart. *Verified.*
- `CONTENT` `user-ui: components/ProductDetail.tsx:283` ↔ `web-ui: stores.$storeId.product.$productId.tsx:60` — mobile shows `shortDescription` and `/ {unit}`; web shows name + unit only.
- `CONTENT` `user-ui: components/ProductDetail.tsx:269` ↔ `web-ui: stores.$storeId.product.$productId.tsx:41` — mobile shows "1 Hr Delivery" / "Out of Stock" badges, market-price strike and "% OFF"; web shows none.
- `CONTENT` `user-ui: components/ProductDetail.tsx:437` ↔ `web-ui: stores.$storeId.product.$productId.tsx:41` — mobile shows "Available Slots", "About the Product", "Bulk Savings" and the combo section; web shows none.
- `CONTENT` `user-ui: components/ProductDetail.tsx:232` ↔ `web-ui: stores.$storeId.product.$productId.tsx:33` — error copy "Oops!" / "Product not found or error loading" vs "Product not found".
- `BEHAVIOUR` `user-ui: components/ProductDetail.tsx:346` ↔ `web-ui: stores.$storeId.product.$productId.tsx:26` — "Add to Cart" opens the slot dialog on mobile; web adds immediately and navigates to `/cart`.
### Flash product page
- `STRUCTURE` `user-ui: flash-delivery/product-detail/[id].tsx:8` (full `ProductDetail isFlashDelivery`) ↔ `web-ui: flash.product.$id.tsx:40` (87 lines) — same gap as above for the flash route. *Verified.*
- `CONTENT` `user-ui: components/ProductDetail.tsx:269` ↔ `web-ui: flash.product.$id.tsx:44` — mobile shows the pink "1 Hr Delivery" badge (+ "Out of Stock"); web shows a top "1 Hr Delivery" label row with a Zap icon.
- `CONTENT` `user-ui: components/ProductDetail.tsx:437` ↔ `web-ui: flash.product.$id.tsx:40` — mobile still renders "Available Slots" on the flash detail; web has no slots section.
- `CONTENT` `user-ui: components/ProductDetail.tsx:233` ↔ `web-ui: flash.product.$id.tsx:32` — error copy differs (as above).
- `BEHAVIOUR` `user-ui: components/ProductDetail.tsx:124` ↔ `web-ui: flash.product.$id.tsx:26` — mobile adds in place (loading dialog, stays on page); web navigates to `/flash/cart` on success.
---
## 6. Add-to-cart dialog
- `BEHAVIOUR` `user-ui: src/components/AddToCartDialog.tsx:107` ↔ `web-ui: src/components/AddToCartDialog.tsx:68` — slot availability: mobile filters `slot.freezeTime` in the future; web filters `slot.deliveryTime` (web can offer a slot whose ordering window has closed). *Verified.*
- `BEHAVIOUR` `user-ui: src/components/AddToCartDialog.tsx:52` ↔ `web-ui: src/components/AddToCartDialog.tsx:34` — flash row: mobile derives `isFlashDeliveryEnabled` from `constsData`; web hardcodes `const isFlashDeliveryEnabled = true`.
- `BEHAVIOUR` `user-ui: src/components/AddToCartDialog.tsx:142-143` ↔ `web-ui: src/components/AddToCartDialog.tsx:98-101` — flash option: mobile seeds the flash product store and pushes the flash products route; web just navigates to `/flash`.
- `BEHAVIOUR` `user-ui: src/components/AddToCartDialog.tsx:147-159` ↔ `web-ui: src/components/AddToCartDialog.tsx:103-121` — payloads: mobile `{itemId, quantity}` / `{skuId, quantity, slotId}`; web `{skuId, quantity, slotId, deliveryDate}` / `{skuId, quantity, storeId, slotId, deliveryDate}`.
- `STRUCTURE` `user-ui: (none)` ↔ `web-ui: src/components/AddToCartDialog.tsx:152-154` — web has a header "X" close button; mobile relies on the sheet handle.
- `STRUCTURE` `user-ui: src/components/AddToCartDialog.tsx:289-298` ↔ `web-ui: src/components/AddToCartDialog.tsx:249` — web's confirm button carries a ShoppingCart icon; mobile's doesn't.
- `PLATFORM` `user-ui: src/components/AddToCartDialog.tsx:26` ↔ `web-ui: src/components/AddToCartDialog.tsx:157` — sheet max-height 80%−70 vs slot list `max-h-[30vh]`; header icon schedule vs Truck.
---
## 7. Search
- `STRUCTURE` `user-ui: (none)` ↔ `web-ui: home.search.tsx:125-131` — web-only back button ("Back to home").
- `CONTENT` `user-ui: search-results/index.tsx:129-136` ↔ `web-ui: home.search.tsx:135` — placeholder: mobile falls back to "Search fresh meat..."; web "Search products...".
- `CONTENT` `user-ui: (none)` ↔ `web-ui: home.search.tsx:146` — web shows "{n} items" result count; mobile doesn't.
- `BEHAVIOUR` `user-ui: search-results/index.tsx:55` ↔ `web-ui: home.search.tsx:102-117` — mobile destructures `error` but renders no error UI; web shows SearchX + "Failed to load products" + "Retry".
- `STRUCTURE` `user-ui: search-results/index.tsx:108-112` ↔ `web-ui: home.search.tsx:91-100` — loading: inline "Loading products..." in `ListEmptyComponent` vs full-page Loader + same text.
- `STRUCTURE` `user-ui: search-results/index.tsx:95-103` ↔ `web-ui: home.search.tsx:167-174` — result cards: mobile full cards with Add-to-Cart vs web `miniView` cards.
- `STRUCTURE` `user-ui: search-results/index.tsx:90-149` ↔ `web-ui: home.search.tsx:120-182` — mobile renders a bare View + FloatingCartBar; web wraps in AppLayout and mounts AddToCartDialog.
- `PLATFORM` `user-ui: search-results/index.tsx:91-107` ↔ `web-ui: home.search.tsx:165` — 2-col list vs responsive 2/3/4/5 grid; search-off icon vs SearchX.
---
## 8. Offers / Combos (`order-again` on mobile, `offers` on web)
- `STRUCTURE` `user-ui: order-again/index.tsx:141` ↔ `web-ui: (absent)` — mobile renders the LocationBar on top; web has none.
- `STRUCTURE` `user-ui: (none)` ↔ `web-ui: offers.tsx:99-105` — web page header "Deals & Bundles" / "Offers" / "Great prices on select items"; mobile jumps straight to the sections.
- `CONTENT` `user-ui: order-again/index.tsx:125-127` ↔ `web-ui: offers.tsx:90` — error copy "Oops!" / "Failed to load offers" vs "Failed to load offers. Please try again.".
- `BEHAVIOUR` `user-ui: order-again/index.tsx:135` ↔ `web-ui: offers.tsx:71` — product tap: mobile pushes `order-again/product-detail/[id]` (full detail); web goes to `/home/product/$id`.
- `STRUCTURE` `user-ui: order-again/index.tsx:68` ↔ `web-ui: offers.tsx:33-40` — mobile uses `variant="hero"` cards; web uses the default variant.
- `PLATFORM` `user-ui: order-again/index.tsx:41,74,58` ↔ `web-ui: offers.tsx:20,45,31` — section-title styling, "Show More" pill (brand rounded-full) vs bordered white button, 3-col grid vs responsive 2→5.
---
## 9. Cart (regular + flash) and the floating cart bar
> Web has **two** cart routes. `/cart` (`src/routes/cart.tsx`) is the live one (FloatingCartBar + Topbar link to it); `/home/cart` (`src/routes/home.cart.tsx`) is unreachable. The same is true for `/checkout` vs `/home/checkout`. Treat `cart.tsx`/`checkout.tsx` as the web side here.
### Structure / content
- `CONTENT` `user-ui: components/cart-page.tsx:917` ↔ `web-ui: cart.tsx:35-38` — heading "Scheduled Delivery Cart" vs eyebrow "Review Before Delivery" + "Your Cart".
- `CONTENT` `user-ui: components/cart-page.tsx:941,947` ↔ `web-ui: cart.tsx:47,52` — empty state: "Looks like you haven't added anything to your cart yet." / "Start Shopping" vs "Fresh cuts are waiting at the counter" / "Browse Products".
- `CONTENT` `user-ui: components/cart-page.tsx:1453,1541` ↔ `web-ui: cart.tsx:120-133` — summary: "Bill Details" with Item Total / Products discount / one row per coupon / Delivery Fee / "To Pay" (+ savings banner) vs "Bill Summary" with Item Total / Delivery Fee / "Total".
- `CONTENT` `user-ui: components/cart-page.tsx:1520` ↔ `web-ui: cart.tsx:128` — delivery fee value: computed "Free"/"₹{charge}" (struck-through original) vs "Calculated at checkout".
- `CONTENT` `user-ui: components/cart-page.tsx:1531,1550` ↔ `web-ui: (absent)` — "Add products worth ₹{x} for free delivery" nudge and "You saved ₹{x} on this order" banner are mobile-only.
- `STRUCTURE` `user-ui: components/cart-page.tsx:1339-1346,528,1681` ↔ `web-ui: cart.tsx:100-112` — coupons: mobile has the "Offers & Coupons" multi-select dropdown, applied chips with remove, "Applies to N product(s)", the "Applied Coupons" dialog and the per-product breakdown dialog; web has one card ("Offers & Coupons" / "Add Coupons to account") that links to `/me/coupons`. *Verified.*
- `STRUCTURE` `user-ui: components/cart-page.tsx:1431` ↔ `web-ui: (absent)` — "Delivery Instructions" notes field on the cart (mobile); web has none.
- `STRUCTURE` `user-ui: components/cart-page.tsx:1442` ↔ `web-ui: (absent)` — mobile renders the delivery-address selector on the cart; web keeps address on the checkout page.
- `STRUCTURE` `user-ui: components/cart-page.tsx:1089` ↔ `web-ui: (absent)` — per-item slot picker ("Select Delivery Slot" / "Change"), the "Deliver All items at …" merge action and the per-slot items dialog are mobile-only.
- `CONTENT` `user-ui: components/cart-page.tsx:1563` ↔ `web-ui: cart.tsx:145` — actions: "Shop More" + "Checkout" vs "Proceed to Checkout" + "Continue Shopping" (order inverted).
- `CONTENT` `user-ui: components/cart-page.tsx:1021` ↔ `web-ui: cart.tsx:75` — unit label: bare `unitNotation` vs `unitNotation` + " per unit".
- `CONTENT` `user-ui: components/cart-page.tsx:1240` ↔ `web-ui: (absent)` — availability badges "Out of Stock" / "Not available for flash delivery. Please remove" / "No delivery slots available" are mobile-only; web only drops unknown products.
- `BEHAVIOUR` `user-ui: components/cart-page.tsx:1032` ↔ `web-ui: cart.tsx:88` — remove: mobile confirms ("Remove Item" / "Are you sure you want to remove this item from your cart?", "Remove {name} from cart?"); web removes immediately.
- `BEHAVIOUR` `user-ui: components/cart-page.tsx:688` ↔ `web-ui: (absent)` — mobile blocks checkout with "Some items in your cart are no longer available for delivery. Please remove them to continue." / "The delivery slot for some items has closed. Please pick a new slot to continue."; web has no blocker.
- `BEHAVIOUR` `user-ui: components/cart-page.tsx:851,860` ↔ `web-ui: cart.tsx:31` — mobile's "Log in to view your cart and continue to checkout." wall and "Loading cart..." / "Oops!" / "Failed to load your cart" states have no web equivalent.
- `BEHAVIOUR` `user-ui: components/cart-page.tsx:1649` ↔ `web-ui: cart.tsx:136` — mobile passes `?slots=…&coupons=…&deliveryPrice=…` to checkout; web passes nothing.
- `BEHAVIOUR` `user-ui: components/cart-page.tsx:1072` ↔ `web-ui: cart.tsx:80` — cart mutations keyed by `itemId` vs `skuId`.
- `CONTENT` `user-ui: components/cart-page.tsx:917,938,947,1324,1453` ↔ `web-ui: flash.cart.tsx:32-51,55,102` — flash cart: "1 Hr Delivery Cart" vs "Flash Cart" (eyebrow "1 Hr Delivery"), empty copy "Your cart is empty"/"Looks like you haven't added anything to your cart yet."/"Start Shopping" vs "Your flash cart is empty"/"Pick something from 1 hr delivery"/"Browse Flash Products", and the mobile flash cart keeps Offers & Coupons, Delivery Instructions and Delivery Address while the web flash cart has none.
- `CONTENT` `user-ui: floating-cart-bar.tsx:251` ↔ `web-ui: FloatingCartBar.tsx:92` — expanded header "{n} Items" vs "{n} Item/Items" (pluralised).
- `CONTENT` `user-ui: floating-cart-bar.tsx:275` ↔ `web-ui: FloatingCartBar.tsx:122` — free-delivery hint "Needed" / "+₹{x}" vs "Add ₹{x} more for free delivery".
- `CONTENT` `user-ui: floating-cart-bar.tsx:219` ↔ `web-ui: FloatingCartBar.tsx:207` — unlocked badge "Free Delivery Unlocked" (verified icon) vs "Free Delivery" (package icon).
- `CONTENT` `user-ui: floating-cart-bar.tsx:223` ↔ `web-ui: FloatingCartBar.tsx:240` — collapsed empty hint: mobile adds "Shop for ₹{threshold}+ for free shipping"; web doesn't.
- `CONTENT` `user-ui: floating-cart-bar.tsx:288` ↔ `web-ui: FloatingCartBar.tsx:135` — expanded sheet empty state: mobile renders nothing; web shows "No flash items yet"/"Your cart is empty" + "Pick something from 1 hr delivery"/"Add fresh products to get started".
- `CONTENT` `user-ui: floating-cart-bar.tsx:237,416` ↔ `web-ui: FloatingCartBar.tsx:217,248` — CTA/pill labels "Go to Cart"/"Go to cart" vs "View"/"Go to Cart".
- `BEHAVIOUR` `user-ui: floating-cart-bar.tsx:327` ↔ `web-ui: FloatingCartBar.tsx:159` — mobile lets the user change a line's slot inline ("Select Delivery Slot", alert "Delivery Updated" / "Scheduled for {x}"); web shows a read-only time pill.
- `BEHAVIOUR` `user-ui: floating-cart-bar.tsx:136` ↔ `web-ui: FloatingCartBar.tsx:49` — mobile reconciles lines whose slot vanished (removes and re-adds at the nearest slot); web only syncs quantities.
- `PLATFORM` `user-ui: floating-cart-bar.tsx:242` ↔ `web-ui: FloatingCartBar.tsx:254` — bottom sheet vs desktop slide-over + mobile bar.
---
## 10. Checkout and payment/bill
- `CONTENT` `user-ui: checkout-page.tsx:345` ↔ `web-ui: checkout.tsx:82` (and `flash.checkout.tsx:108`) — header "Scheduled Delivery Checkout" / "1 Hr Delivery Checkout" vs "Checkout" / "Flash Checkout".
- `CONTENT` `user-ui: checkout-page.tsx:300` ↔ `web-ui: checkout.tsx:51` — empty state: mobile has four messages ("Your cart is empty"/"No items to checkout", "Add some delicious items to your cart before checking out", "None of your cart items are available for flash delivery", "Please select delivery slots for your items"); web only has the first two.
- `STRUCTURE` `user-ui: checkout-page.tsx:356` ↔ `web-ui: checkout.tsx:89` — mobile renders an "Items" card grouped by delivery slot; the web checkout has no items block (its dead `home.checkout.tsx:138` variant shows a flat "Order Summary").
- `STRUCTURE` `user-ui: checkout-page.tsx:402-436` ↔ `web-ui: (absent)` — mobile's "Coupon" section (applied + dropped with "Not applied" and the reason, plus the per-product "i") has no web equivalent. *Verified.*
- `STRUCTURE` `user-ui: checkout-page.tsx:448` ↔ `web-ui: checkout.tsx:90` — address: mobile shows a read-only card ("No address selected" fallback at `CheckoutAddressDisplay.tsx:69`); web shows the editable selector.
- `CONTENT` `user-ui: PaymentAndOrderComponent.tsx:245-253` ↔ `web-ui: PaymentAndOrderComponent.tsx:198` — mobile has "Total Savings" and "Product Discount" rows; web omits both.
- `CONTENT` `user-ui: PaymentAndOrderComponent.tsx:239,305` ↔ `web-ui: PaymentAndOrderComponent.tsx:201,248` — amounts: `₹{Math.trunc(totalPrice)}` vs `₹{totalPrice}`; "To Pay" truncated integer vs `toFixed(2)`.
- `CONTENT` `user-ui: PaymentAndOrderComponent.tsx:313` ↔ `web-ui: PaymentAndOrderComponent.tsx:257` — banner "You saved ₹{x} on this order" (shown when discount > 0 OR free delivery OR savings > 1) vs "You saved ₹{x} on delivery" (only when the delivery fee is 0).
- `CONTENT` `user-ui: PaymentAndOrderComponent.tsx:121,143,126` ↔ `web-ui: PaymentAndOrderComponent.tsx:86,96,292` — alert copy: "Please select an address" vs "Please select a delivery address"; "No valid items to order" vs "No items in cart"; "Please select a delivery region before placing an order" (alert only) vs an inline amber banner "Please choose a delivery region to place order" **plus** an alert.
- `STRUCTURE` `user-ui: PaymentAndOrderComponent.tsx:338` ↔ `web-ui: PaymentAndOrderComponent.tsx:124` — mobile shows "Back to Cart" under the CTA as well as in the header; web only in the header.
- `STRUCTURE` `user-ui: PaymentAndOrderComponent.tsx:324` ↔ `web-ui: PaymentAndOrderComponent.tsx:263-272` — web-only "Coupons & Offers" card ("Download our app to unlock exclusive coupons and special offers!" / "Download App").
- `BEHAVIOUR` `user-ui: PaymentAndOrderComponent.tsx:289` ↔ `web-ui: PaymentAndOrderComponent.tsx:229` — free-delivery nudge compares post-discount `finalTotal` (mobile) vs pre-discount `totalPrice` (web).
- `BEHAVIOUR` `user-ui: PaymentAndOrderComponent.tsx:265` ↔ `web-ui: PaymentAndOrderComponent.tsx:212` — struck-through delivery fee guarded by `constsData?.deliveryCharge > 0` (mobile) vs rendered whenever the fee is 0 (web).
- `BEHAVIOUR` `user-ui: PaymentAndOrderComponent.tsx:344` ↔ `web-ui: PaymentAndOrderComponent.tsx:310` — Place Order disabled on `!selectedAddress || isPending` vs `!selectedAddress || !selectedRegionId || isPending`.
- `BEHAVIOUR` `user-ui: PaymentAndOrderComponent.tsx:118` ↔ `web-ui: PaymentAndOrderComponent.tsx:114` — mobile has a synchronous double-submit guard (`submittingRef`); web has none.
- `BEHAVIOUR` `user-ui: PaymentAndOrderComponent.tsx:161-162` ↔ `web-ui: PaymentAndOrderComponent.tsx:102-109` — mobile sends `couponIds` and `boundId`; web sends neither. *Verified.*
- `BEHAVIOUR` `user-ui: PaymentAndOrderComponent.tsx:156` ↔ `web-ui: PaymentAndOrderComponent.tsx:106` — regular slot from the `selectedSlots` prop vs `item.slotId` on web.
- `BEHAVIOUR` `user-ui: PaymentAndOrderComponent.tsx:86` ↔ `web-ui: (none)` — mobile invalidates `user.order.getOrders` after placing; web doesn't.
- `BEHAVIOUR` `user-ui: PaymentAndOrderComponent.tsx:108` ↔ `web-ui: PaymentAndOrderComponent.tsx:77` — failure surfacing: titled "Error" alert vs bare alert.
- `BEHAVIOUR` `user-ui: PaymentAndOrderComponent.tsx:91` ↔ `web-ui: PaymentAndOrderComponent.tsx:66` — post-place navigation: mobile routes flash to `flash-delivery/order-success` with the server-summed amount; web always goes to `/home/order-success` with the locally computed amount.
- `STRUCTURE` `user-ui: checkout-page.tsx:452` ↔ `web-ui: flash.checkout.tsx:105-168` — **web flash checkout is a separate page**: no Payment Method section (so no "Pay Online (Coming Soon)" / "UPI accepted during COD"), no Delivery Instructions, no Bill Details; CTA "Place Flash Order (COD)" vs "Place Order"; loading "Placing flash order..." vs "Placing your order..."; flat "Order Summary" instead of the slot-grouped items card; sends `selectedItems`/`addressId`/`regionId` only. *Verified.*
- `PLATFORM` `user-ui: PaymentAndOrderComponent.tsx:212` ↔ `web-ui: PaymentAndOrderComponent.tsx:169` — the six payment strings themselves match on both sides ("Pay Online (Coming Soon)", "UPI, Cards, Netbanking", "Cash on Delivery", "Pay when you receive", "UPI accepted during COD", "Cash payment"); only the icons differ (FontAwesome vs lucide).
---
## 11. Order success
- `CONTENT` `user-ui: home/order-success.tsx:30,34,38,45` ↔ `web-ui: home.order-success.tsx:22-25` — "Order Placed Successfully!" + "Thank you for your order" + "Your order will be delivered as per your selected slot" + "Order #{id}" vs "Order Placed" + "Order ID: #{id}" (the two copy lines are missing on web).
- `CONTENT` `user-ui: flash-delivery/order-success.tsx:30,34,38,45` ↔ `web-ui: flash.order-success.tsx:22-24` — "1 Hr Order Placed!" + "Lightning-fast delivery on the way!" + "Your order will be delivered in just within 1 hour" + "1 Hr Order #{id}" vs "1 Hr Order Placed" + "Order ID: #{id}".
- `PLATFORM` `user-ui: home/order-success.tsx:59` ↔ `web-ui: home.order-success.tsx:31` — exit path: tab-stack dismiss vs navigate to `/home` and `/me/orders`.
---
## 12. Stores (list and detail)
- `CONTENT` `user-ui: stores/index.tsx:220` ↔ `web-ui: stores.tsx:66` — mobile leads with the LocationBar ("Deliver to"); web has no location control. *Verified pattern (same as Home).*
- `CONTENT` `user-ui: stores/index.tsx:47,89` ↔ `web-ui: stores.tsx:119,146` — mobile shows halal/preserves hero images for stores whose name contains "meat" and stacks the count above "Items"; web shows neither (count and "Items" inline).
- `BEHAVIOUR` `user-ui: stores/index.tsx:72` ↔ `web-ui: stores.tsx:126` — image fallback: mobile `signedImageUrl` only; web `signedImageUrl || imageUrl`.
- `BEHAVIOUR` `user-ui: stores/index.tsx:200` ↔ `web-ui: stores.tsx:50` — "Retry": refetch vs `window.location.reload()`.
- `CONTENT` `user-ui: stores/store-detail/[id].tsx:144` ↔ `web-ui: stores.$storeId.tsx:86` — web-only back link "All Stores".
- `STRUCTURE` `user-ui: stores/store-detail/[id].tsx:162` ↔ `web-ui: stores.$storeId.tsx:84` — header: centred card with pink store icon vs left-aligned band with image.
- `CONTENT` `user-ui: stores/store-detail/[id].tsx:147` ↔ `web-ui: stores.$storeId.tsx:50` — mobile renders meat hero images; web computes `isMeatStore` and never uses it.
- `STRUCTURE` `user-ui: stores/store-detail/[id].tsx:188` ↔ `web-ui: stores.$storeId.tsx:124` — web prepends an "All" tag chip; mobile shows only the store's tags.
- `CONTENT` `user-ui: stores/store-detail/[id].tsx:31` ↔ `web-ui: stores.$storeId.tsx:201` — tag chip colours differ for the selected state.
- `CONTENT` `user-ui: stores/store-detail/[id].tsx:124` ↔ `web-ui: stores.$storeId.tsx:180` — product empty state exists only on web ("No products in this category" / "No products available").
- `BEHAVIOUR` `user-ui: stores/store-detail/[id].tsx:54` ↔ `web-ui: stores.$storeId.tsx:22` — web preloads central stores (`usePopulateCentralStores`); mobile doesn't.
- `PLATFORM` `user-ui: stores/index.tsx:212` ↔ `web-ui: stores.tsx:77` — vertical list vs responsive grid.
---
## 13. Slot view and flash landing
- `CONTENT` `user-ui: components/SlotSpecificView.tsx:394` ↔ `web-ui: slot-view.tsx:164` — no-slot heading "Quick Delivery" vs "Slot View" (body "No delivery slot available." matches).
- `CONTENT` `user-ui: components/SlotSpecificView.tsx:372,383` ↔ `web-ui: slot-view.tsx:159` — mobile has "Loading slot delivery..." and "Oops!" / "Failed to load slot delivery"; web has neither state.
- `CONTENT` `user-ui: (none)` ↔ `web-ui: slot-view.tsx:253` — web shows "No products available for this slot." for the All case; mobile renders nothing.
- `STRUCTURE` `user-ui: components/SlotSpecificView.tsx:412` ↔ `web-ui: slot-view.tsx:225` — web shows a products heading (store name / "All Products") + "{n} items"; mobile shows neither. (Web also uses "Store Products" as the unresolved-store fallback, `slot-view.tsx:229`.)
- `CONTENT` `user-ui: components/SlotSpecificView.tsx:322-323` ↔ `web-ui: slot-view.tsx:471` — "Quantity:" vs "Qty:", and mobile hides the quantity/unit line for combos.
- `CONTENT` `user-ui: components/FlashDeliveryNote.tsx:47` ↔ `web-ui: flash.tsx:112` — notice: "1 Hr Delivery Notice" / "Prices may differ for 1 Hr Delivery and not all products are available for flash delivery" (dismissible, auto-hide 10s) vs "Get these products delivered within 1 hour! Only available for select items." (static).
- `CONTENT` `user-ui: components/QuickDeliveryAddressSelector.tsx:165` ↔ `web-ui: flash.tsx:102` — header "Delivery in within 1 hour" vs eyebrow "Express Counter" + "Delivery within 1 hour".
- `STRUCTURE` `user-ui: components/SlotSpecificView.tsx:527` ↔ `web-ui: (absent)` — mobile has a product search bar on the flash screen ("Search products in this store..."); web has none.
- `CONTENT` `user-ui: components/SlotSpecificView.tsx:554,466` ↔ `web-ui: flash.tsx:184,88` — empty copy "No 1 Hr Delivery products available." vs "No flash delivery products available."; add toast "Added {name} for delivery in 1hr" vs "Added {name} for 1 Hr Delivery".
- `CONTENT` `user-ui: components/SlotSpecificView.tsx:475,487` ↔ `web-ui: (absent)` — mobile has "Loading 1 Hr Delivery..." and "Oops!" / "Failed to load 1 Hr Delivery"; web has neither.
- `STRUCTURE` `user-ui: components/SlotSpecificView.tsx:520` ↔ `web-ui: flash.tsx:153` — web shows a store-name heading + item count above the grid; mobile doesn't.
- `STRUCTURE` `user-ui: components/SlotSpecificView.tsx:197` ↔ `web-ui: flash.tsx:119` — store selector: permanent drawer/sidebar with an "ALL" item vs a horizontal tab row.
- `STRUCTURE` `user-ui: flash-delivery/_layout.tsx:23-34` ↔ `web-ui: (absent)` — mobile gates the flash section on `isFlashDeliveryEnabled` with "1 Hr Delivery Unavailable" / "1 Hr Delivery is not available at the moment. Please opt for a scheduled delivery." + "Go to Scheduled Delivery"; web has no gate. *Verified.*
---
## 14. Me hub, orders, coupons, complaints, profile
- `STRUCTURE` `user-ui: me/index.tsx:68-74` ↔ `web-ui: me.tsx:202-222` — see §2 location rows: "Delivery Address" inside Saved Information vs "Delivery Region" after Logout.
- `STRUCTURE` `user-ui: components/NextOrderGlimpse.tsx:92-98` ↔ `web-ui: src/components/me/NextOrderGlimpse.tsx:50-96` — mobile renders an OrderStatusTracker in the card; web has no tracker and instead shows up to 3 thumbnails, a "+N" chip and a "Track Order" label.
- `BEHAVIOUR` `user-ui: components/NextOrderGlimpse.tsx:26,84-88` ↔ `web-ui: src/components/me/NextOrderGlimpse.tsx:57-61` — mobile hides the status badge for `confirmed`/`packaged`; web always shows it.
- `CONTENT` `user-ui: components/NextOrderGlimpse.tsx:57,28,34-36,38-40` ↔ `web-ui: src/components/me/NextOrderGlimpse.tsx:45,68,25` — "FLASH" vs "Flash"; "1-Hour" vs "1-Hour Delivery"; delivery window "hh:mm - hh:mm A" vs "DD MMM, hh:mm A - hh:mm A"; mobile's secondary label ("Delivery"/"DD MMM") has no web equivalent.
- `BEHAVIOUR` `user-ui: components/NextOrderGlimpse.tsx:162-165` ↔ `web-ui: src/components/me/NextOrderGlimpse.tsx:165-167` — card tap: mobile writes a nav target then `router.replace()`s to /me; web navigates straight to the order detail.
- `BEHAVIOUR` `user-ui: me/my-orders/index.tsx:501` ↔ `web-ui: me.orders.tsx:326-330,409-411` — pagination: mobile auto-loads on `onEndReached`; web has an auto-load effect **and** a manual "Load more" button. *Verified.*
- `CONTENT` `user-ui: me/my-orders/index.tsx:114,246` ↔ `web-ui: me.orders.tsx:93,227` — "FLASH" vs "Flash"; "⚡ FAST" vs "⚡ Fast".
- `PLATFORM` `user-ui: me/my-orders/_layout.tsx:5` ↔ `web-ui: me.orders.tsx:334` — native stack title vs in-page MeScreenHeader (both "My Orders").
- `PLATFORM` `user-ui: me/my-orders/index.tsx:456-462` ↔ `web-ui: me.orders.tsx:336-340` — spinner above "Loading your orders..." vs text only.
- `STRUCTURE` `user-ui: me/my-orders/[id].tsx:186-190` ↔ `web-ui: (absent)` — mobile's "Order Status" card with the Placed/Packed/Delivered tracker; web has none. *Verified.*
- `STRUCTURE` `user-ui: me/my-orders/[id].tsx:133-168` ↔ `web-ui: me.orders.$id.tsx:126-168` — double header on mobile (stack title + in-page back + "Order #…") vs a single in-page header on web.
- `BEHAVIOUR` `user-ui: me/my-orders/[id].tsx:41,55` ↔ `web-ui: me.orders.$id.tsx:40,52` — post-action alerts titled "Success" vs bare messages.
- `BEHAVIOUR` `user-ui: me/my-orders/[id].tsx:95` ↔ `web-ui: me.orders.$id.tsx:89` — failed-load "Go Back": `router.back()` vs navigate to `/me/orders`.
- `BEHAVIOUR` `user-ui: components/OrderMenu.tsx:113-116,145-148,27,55` ↔ `web-ui: src/components/me/MeOrderMenu.tsx:142-146,167-170,63,91` — mobile delays 300 ms before opening the edit/cancel dialogs and uses titled alerts; web opens immediately with bare alerts.
- `STRUCTURE` `user-ui: me/coupons/index.tsx:119-129,181-189` ↔ `web-ui: (absent)` — mobile supports a `from=cart` mode (back chevron, hides tab bar); web has no cart-origin mode.
- `BEHAVIOUR` `user-ui: me/coupons/index.tsx:135-146` ↔ `web-ui: me.coupons.tsx:102-107` — redeem feedback: mobile alerts "Coupon added successfully!" + an error alert; web's mutation has no success/error handling.
- `PLATFORM` `user-ui: me/coupons/index.tsx:103` ↔ `web-ui: me.coupons.tsx:89` — empty-state icon (MaterialIcons local-offer vs lucide Ticket).
- `PLATFORM` `user-ui: me/complaints/index.tsx:83-87,148-150` ↔ `web-ui: (absent)` — mobile's `useManualRefresh`/`useMarkDataFetchers` refresh-on-event plumbing has no web equivalent (complaints and coupons).
- `CONTENT` `user-ui: me/complaints/index.tsx:117` ↔ `web-ui: me.complaints.tsx:106` — support header background brand500 vs brand-600.
- `STRUCTURE` `user-ui: components/ComplaintForm.tsx:100-104` ↔ `web-ui: src/components/ComplaintForm.tsx:106-147` — image input: shared `ImageUploaderNeo` vs a hand-rolled picker with "Add images (optional)" and "No images selected" (strings that don't exist on mobile).
- `BEHAVIOUR` `user-ui: components/ComplaintForm.tsx:67,72,111-115` ↔ `web-ui: src/components/ComplaintForm.tsx:76,81,157-164` — feedback: titled alerts "Success"/"Error" and a spinner-only button vs bare alerts and "Uploading..."/"Submitting..." text.
- `BEHAVIOUR` `user-ui: components/registration-form.tsx:98,106` ↔ `web-ui: me.edit-profile.tsx:67` — email: optional in edit mode on mobile (validated only when non-empty) vs hard-required on web.
- `CONTENT` `user-ui: components/registration-form.tsx:248,274` ↔ `web-ui: me.edit-profile.tsx:175,189` — placeholders "Enter your full name"/"Enter your email address" vs "Enter your name"/"Enter your email".
- `CONTENT` `user-ui: me/edit-profile/index.tsx:130-131` ↔ `web-ui: me.edit-profile.tsx:309` — delete modal heading "⚠️ Delete Account Permanently" vs "Delete Account Permanently" (+ an icon).
- `BEHAVIOUR` `user-ui: me/edit-profile/index.tsx:53-65,127,166-172` ↔ `web-ui: me.edit-profile.tsx:51-55,304,345-359` — mobile confirms "Account Deleted" / "Your account and all data have been successfully deleted." and the modal is non-dismissable; web closes silently, can be dismissed, and disables "Delete Forever" until a mobile number is typed (mobile validates on tap).
- `PLATFORM` `user-ui: me/terms/index.tsx:15-25` ↔ `web-ui: me.terms.tsx:12` — header: in-page bar (arrow-back + "Terms & Conditions") vs MeScreenHeader hidden on desktop (body text identical).
- `STRUCTURE` `user-ui: (none)` ↔ `web-ui: me.about.tsx:1-64` — web-only "About Freshyo" page (4 mission cards + "Sourcing & Quality"), and it is unlinked from every menu/sidebar. *Verified.*
---
## 15. Dead routes, orphans and naming
- `web-ui: src/routes/home.cart.tsx` — unreachable duplicate of `/cart`; also missing the "Offers & Coupons" card that `cart.tsx:100` has.
- `web-ui: src/routes/home.checkout.tsx` — unreachable duplicate of `/checkout` (AppLayout even treats `/home/checkout` as a shell-hidden route).
- `web-ui: src/routes/me.about.tsx` — orphan (no entry point).
- `user-ui: app/(drawer)/(tabs)/order-again/**` — the folder name says "order-again" but the tab and screen are Offers/Combos (`order-again/index.tsx:88`); web calls it `offers.tsx`. There is no "Order Again"/reorder feature on either side.
- `web-ui: cart.tsx` vs `flash.cart.tsx`, `checkout.tsx` vs `flash.checkout.tsx` — regular and flash flows are duplicated per route on web, while mobile shares `cart-page.tsx`/`checkout-page.tsx` with an `isFlashDelivery` flag; this is the root cause of most §9/§10 flash-row deviations.
---
## 16. Platform-inherent (expected — do not "fix")
- Alerts: `Alert.alert(title, body)` vs `alert(body)` / toasts.
- Sheets: BottomDialog/bottom sheets vs desktop slide-over/Dialog.
- Lists: FlatList/SectionList + pull-to-refresh vs CSS grids, scroll indicators, hover states.
- Maps: native WebView bridge (`LocationMapStep.tsx`) vs same-origin iframe (`AddressForm.tsx:385-390`).
- Icons: `@expo/vector-icons` (MaterialIcons/FontAwesome) vs lucide-react.
- Responsive layout: fixed 2–3 column mobile grids vs 2→5 column breakpoints (also changes which label variant is rendered, e.g. "Add" vs "Add to Cart").
- Native stack headers vs in-page headers/MeScreenHeader.
---
## 17. Suggested fix order
1. **Coupons on web cart + checkout** (selection, chips, "Applies to N products", breakdown, `couponIds` on `placeOrder`) — the largest functional gap.
2. **Web bill parity** in cart, checkout and the flash pages (Products discount, per-coupon rows, Delivery Fee Free/₹x, "To Pay", savings banner, free-delivery nudge, rounding).
3. **Web flash checkout**: reuse the shared `PaymentAndOrderComponent` (Payment Method, Delivery Instructions, Bill Details, "Place Order") instead of the bespoke page.
4. **Slot gating**: use `freezeTime` on web (`AddToCartDialog`, home slots) and `deliveryTime` nowhere for availability.
5. **Product detail on web store/flash routes**: render the same sections as `home.product.$id.tsx` (or extract one shared web component).
6. **Order status tracker + order-success copy** on web; store-summed amount and flash success route.
7. **Address gate + location bar on web** (or consciously drop them from mobile).
8. **Auth parity**: register confirm-password + terms, login terms/choice/password options, OTP feedback, and fix the web `choice` blank screen.
9. **Copy sweep** for the label list (`Quantity:`/`Qty:`, "Our Stores"/"Our Outlets", "FLASH"/"Flash", "1 Hr Delivery"/"1 Hr", "Me"/"My Account", "Start Shopping"/"Browse Products", "Go to Cart"/"View", "Order Placed Successfully!"/"Order Placed", etc.).
10. **Delete or adopt** the dead web routes (`home.cart.tsx`, `home.checkout.tsx`, `me.about.tsx`) and decide whether mobile's mobile-only notices (Testing Phase, 1 Hr Delivery Notice, first-run gate, update/health gates, WebView) should exist on web.