Spaces:
Sleeping
Sleeping
Commit History
-
feat: Migrate frontend from static HTML to Next.js 16 App Routerβ
eeshaAI- All 16 buyer pages: home, login, product, cart, checkout, payment, categories, search, seller-profile, profile, orders, wishlist, videos, live, live-watch, group-buy, ai-chat, link-account, telegram - 7 seller dashboard pages with shared sidebar layout - 22 API route proxies to existing Supabase Edge Functions - Suspense boundaries for useSearchParams pages - Standalone output build for Docker deployment - Dockerfile (multi-stage Node 20 alpine, port 7860) - README with HF Space YAML frontmatter - .hfignore for lean Docker context Backend unchanged: 27 Supabase Edge Functions, Render bot, OpenWA, PalmPay payment verifier β all remain in place.a09d2a4 -
feat: Migrate frontend from static HTML to Next.js 16 App Routerβ
eeshaAI- All 16 buyer pages: home, login, product, cart, checkout, payment, categories, search, seller-profile, profile, orders, wishlist, videos, live, live-watch, group-buy, ai-chat, link-account, telegram - 7 seller dashboard pages with shared sidebar layout - 22 API route proxies to existing Supabase Edge Functions - Suspense boundaries for useSearchParams pages - Standalone output build for Docker deployment - Dockerfile (multi-stage Node 20 alpine, port 7860) - README with HF Space YAML frontmatter - .hfignore for lean Docker context Backend unchanged: 27 Supabase Edge Functions, Render bot, OpenWA, PalmPay payment verifier β all remain in place.bea55e2
-
feat: upgraded account page + settings + become-a-seller flow
eeshaAId20e8cb -
feat: Google-style top bar + smart FAB visibility
eeshaAI61e536d
-
security: fix open redirect + add auth rate limiting
eeshaAIf896714 -
fix: categories page β All tab + empty category + subcategory search
eeshaAIf33b315 -
fix: no transition on reload + AI search fix + skeletons everywhere + hide search btn
eeshaAI03fda90 -
feat: slower transition + seller settings & academy pagesβ
eeshaAI- Transition: 0.45s tween ease (swag, not sluggish) - Seller settings page (/seller/settings) - Seller academy page (/seller/academy) - Both added to seller sidebarb58fb59 -
fix: iOS nav stack β complete swipe-back + skeleton loader + nav fixβ
eeshaAI- Swipe-back now completes fully (manual touch handlers, no framer-motion drag) - No more black screen on back navigation (delayed stack cleanup) - Skeleton loading screen (shimmer animation) - Mobile nav: no duplicate home button, Categories replaces Chat, Discover β /videos2490428 -
feat: true iOS-style navigation stack with parallaxβ
eeshaAI- IOSStack (src/components/ios-stack.tsx): maintains a history array of pages so the previous page stays alive in the DOM. Detects push vs. pop by comparing the new pathname against the item below the top. Only renders the top 2 screens (memory optimization). Bug fixes vs. original spec: removed useSearchParams (infinite re-renders + breaks static export), added same-path check so children updates don't push duplicates. - Screen (src/components/screen.tsx): interactive view layer. TOP page is draggable (swipe right to go back, 35% threshold or 400px/s velocity). BEHIND page follows via shared MotionValue (parallax: 0 β -30%). Dark overlay dims the behind page, fades as top page is dragged away. Spring physics: stiffness=350, damping=40. - nav-shell.tsx: wraps page content in <IOSStack>. Navbar + MobileNav stay OUTSIDE the stack (fixed chrome, like iOS Safari). - template.tsx: passthrough (IOSStack handles all transitions). - globals.css: body overflow:hidden, overscβ¦c92b696
-
fix: larger icons, better spacing, bigger Buy Now button, readable FOMO text
eeshaAI6c0d14d -
security: remove hardcoded NVIDIA API key β use env var
eeshaAI698bbca -
feat: Capacitor + Capgo OTA setup β config, build scripts, API_BASE auto-detect
eeshaAI38dd284 -
fix: real seller names + lower FOMO threshold + interleaved feed (video/product alternating)
eeshaAIaa6c85a -
feat: Instagram-style social feed homepage + Discover nav β home
eeshaAIcaaae09 -
fix: show products immediately (setLoading false after products, not after AI)
eeshaAI89320ee -
fix: restore fast search (Promise.all parallel) + playable skeleton loader (draggable C + cards)
eeshaAI5230d54 -
fix: search shows products immediately (AI loads in background) + more dramatic page transitions
eeshaAIaa1f0fd -
fix: NavShell as client component (fixes usePathname in layout)
eeshaAI4d91720 -
fix: MobileNav outside SwipeBack transform + remove duplicate import
eeshaAIb8dd496 -
feat: premium UX β spotlight search (glassmorphic+stagger), physics loader (draggable C), spring swipe-back, magnetic buttons, optimistic UI bursts, framer-motion page transitions
eeshaAI02e775b -
feat: pure white design (no cyan) + AI-powered search + animations + page transitions + skeleton loaders
eeshaAIe188cf3 -
feat: fast AI via Llama-3.1-8B direct (1-3s), vision relay via Llama-3.2-11B, product search in parallel
eeshaAIf580c68 -
fix: close results area div before follow-up bar
eeshaAIb01ae33 -
feat: conversational AI mode search (Alibaba-style) with thought process toggle, embedded product grid, follow-up chat
eeshaAI1c6db69 -
fix: map edge function response field names (response β reply)
eeshaAIc3927bd -
feat: Migrate frontend from static HTML to Next.js 16 App Routerβ
eeshaAI- All 16 buyer pages: home, login, product, cart, checkout, payment, categories, search, seller-profile, profile, orders, wishlist, videos, live, live-watch, group-buy, ai-chat, link-account, telegram - 7 seller dashboard pages with shared sidebar layout - 22 API route proxies to existing Supabase Edge Functions - Suspense boundaries for useSearchParams pages - Standalone output build for Docker deployment - Dockerfile (multi-stage Node 20 alpine, port 7860) - README with HF Space YAML frontmatter - .hfignore for lean Docker context Backend unchanged: 27 Supabase Edge Functions, Render bot, OpenWA, PalmPay payment verifier β all remain in place.c096778 -
feat: Migrate frontend from static HTML to Next.js 16 App Routerβ
eeshaAI- All 16 buyer pages: home, login, product, cart, checkout, payment, categories, search, seller-profile, profile, orders, wishlist, videos, live, live-watch, group-buy, ai-chat, link-account, telegram - 7 seller dashboard pages with shared sidebar layout - 22 API route proxies to existing Supabase Edge Functions - Suspense boundaries for useSearchParams pages - Standalone output build for Docker deployment - Dockerfile (multi-stage Node 20 alpine, port 7860) - README with HF Space YAML frontmatter - .hfignore for lean Docker context Backend unchanged: 27 Supabase Edge Functions, Render bot, OpenWA, PalmPay payment verifier β all remain in place.025f320 -
feat: Migrate frontend from static HTML to Next.js 16 App Routerβ
eeshaAI- All 16 buyer pages: home, login, product, cart, checkout, payment, categories, search, seller-profile, profile, orders, wishlist, videos, live, live-watch, group-buy, ai-chat, link-account, telegram - 7 seller dashboard pages with shared sidebar layout - 22 API route proxies to existing Supabase Edge Functions - Suspense boundaries for useSearchParams pages - Standalone output build for Docker deployment - Dockerfile (multi-stage Node 20 alpine, port 7860) - README with HF Space YAML frontmatter - .hfignore for lean Docker context Backend unchanged: 27 Supabase Edge Functions, Render bot, OpenWA, PalmPay payment verifier β all remain in place.5ac7518 -
feat: Migrate frontend from static HTML to Next.js 16 App Routerβ
eeshaAI- All 16 buyer pages: home, login, product, cart, checkout, payment, categories, search, seller-profile, profile, orders, wishlist, videos, live, live-watch, group-buy, ai-chat, link-account, telegram - 7 seller dashboard pages with shared sidebar layout - 22 API route proxies to existing Supabase Edge Functions - Suspense boundaries for useSearchParams pages - Standalone output build for Docker deployment - Dockerfile (multi-stage Node 20 alpine, port 7860) - README with HF Space YAML frontmatter - .hfignore for lean Docker context Backend unchanged: 27 Supabase Edge Functions, Render bot, OpenWA, PalmPay payment verifier β all remain in place.2454ba7 -
feat: Migrate frontend from static HTML to Next.js 16 App Routerβ
eeshaAI- All 16 buyer pages: home, login, product, cart, checkout, payment, categories, search, seller-profile, profile, orders, wishlist, videos, live, live-watch, group-buy, ai-chat, link-account, telegram - 7 seller dashboard pages with shared sidebar layout - 22 API route proxies to existing Supabase Edge Functions - Suspense boundaries for useSearchParams pages - Standalone output build for Docker deployment - Dockerfile (multi-stage Node 20 alpine, port 7860) - README with HF Space YAML frontmatter - .hfignore for lean Docker context Backend unchanged: 27 Supabase Edge Functions, Render bot, OpenWA, PalmPay payment verifier β all remain in place.3627684 -
feat: Migrate frontend from static HTML to Next.js 16 App Routerβ
eeshaAI- All 16 buyer pages: home, login, product, cart, checkout, payment, categories, search, seller-profile, profile, orders, wishlist, videos, live, live-watch, group-buy, ai-chat, link-account, telegram - 7 seller dashboard pages with shared sidebar layout - 22 API route proxies to existing Supabase Edge Functions - Suspense boundaries for useSearchParams pages - Standalone output build for Docker deployment - Dockerfile (multi-stage Node 20 alpine, port 7860) - README with HF Space YAML frontmatter - .hfignore for lean Docker context Backend unchanged: 27 Supabase Edge Functions, Render bot, OpenWA, PalmPay payment verifier β all remain in place.3df146a -
feat: Migrate frontend from static HTML to Next.js 16 App Routerβ
eeshaAI- All 16 buyer pages: home, login, product, cart, checkout, payment, categories, search, seller-profile, profile, orders, wishlist, videos, live, live-watch, group-buy, ai-chat, link-account, telegram - 7 seller dashboard pages with shared sidebar layout - 22 API route proxies to existing Supabase Edge Functions - Suspense boundaries for useSearchParams pages - Standalone output build for Docker deployment - Dockerfile (multi-stage Node 20 alpine, port 7860) - README with HF Space YAML frontmatter - .hfignore for lean Docker context Backend unchanged: 27 Supabase Edge Functions, Render bot, OpenWA, PalmPay payment verifier β all remain in place.8458d8f -
feat: Migrate frontend from static HTML to Next.js 16 App Routerβ
eeshaAI- All 16 buyer pages: home, login, product, cart, checkout, payment, categories, search, seller-profile, profile, orders, wishlist, videos, live, live-watch, group-buy, ai-chat, link-account, telegram - 7 seller dashboard pages with shared sidebar layout - 22 API route proxies to existing Supabase Edge Functions - Suspense boundaries for useSearchParams pages - Standalone output build for Docker deployment - Dockerfile (multi-stage Node 20 alpine, port 7860) - README with HF Space YAML frontmatter - .hfignore for lean Docker context Backend unchanged: 27 Supabase Edge Functions, Render bot, OpenWA, PalmPay payment verifier β all remain in place.2919e34 -
feat: Migrate frontend from static HTML to Next.js 16 App Routerβ
eeshaAI- All 16 buyer pages: home, login, product, cart, checkout, payment, categories, search, seller-profile, profile, orders, wishlist, videos, live, live-watch, group-buy, ai-chat, link-account, telegram - 7 seller dashboard pages with shared sidebar layout - 22 API route proxies to existing Supabase Edge Functions - Suspense boundaries for useSearchParams pages - Standalone output build for Docker deployment - Dockerfile (multi-stage Node 20 alpine, port 7860) - README with HF Space YAML frontmatter - .hfignore for lean Docker context Backend unchanged: 27 Supabase Edge Functions, Render bot, OpenWA, PalmPay payment verifier β all remain in place.e4d922a
-
feat: Migrate frontend from static HTML to Next.js 16 App Routerβ
eeshaAI- All 16 buyer pages: home, login, product, cart, checkout, payment, categories, search, seller-profile, profile, orders, wishlist, videos, live, live-watch, group-buy, ai-chat, link-account, telegram - 7 seller dashboard pages with shared sidebar layout - 22 API route proxies to existing Supabase Edge Functions - Suspense boundaries for useSearchParams pages - Standalone output build for Docker deployment - Dockerfile (multi-stage Node 20 alpine, port 7860) - README with HF Space YAML frontmatter - .hfignore for lean Docker context Backend unchanged: 27 Supabase Edge Functions, Render bot, OpenWA, PalmPay payment verifier β all remain in place.f023c69 -
feat: Migrate frontend from static HTML to Next.js 16 App Routerβ
eeshaAI- All 16 buyer pages: home, login, product, cart, checkout, payment, categories, search, seller-profile, profile, orders, wishlist, videos, live, live-watch, group-buy, ai-chat, link-account, telegram - 7 seller dashboard pages with shared sidebar layout - 22 API route proxies to existing Supabase Edge Functions - Suspense boundaries for useSearchParams pages - Standalone output build for Docker deployment - Dockerfile (multi-stage Node 20 alpine, port 7860) - README with HF Space YAML frontmatter - .hfignore for lean Docker context Backend unchanged: 27 Supabase Edge Functions, Render bot, OpenWA, PalmPay payment verifier β all remain in place.1cf1f51 -
feat: Migrate frontend from static HTML to Next.js 16 App Routerβ
eeshaAI- All 16 buyer pages: home, login, product, cart, checkout, payment, categories, search, seller-profile, profile, orders, wishlist, videos, live, live-watch, group-buy, ai-chat, link-account, telegram - 7 seller dashboard pages with shared sidebar layout - 22 API route proxies to existing Supabase Edge Functions - Suspense boundaries for useSearchParams pages - Standalone output build for Docker deployment - Dockerfile (multi-stage Node 20 alpine, port 7860) - README with HF Space YAML frontmatter - .hfignore for lean Docker context Backend unchanged: 27 Supabase Edge Functions, Render bot, OpenWA, PalmPay payment verifier β all remain in place.6842bbb -
feat: Migrate frontend from static HTML to Next.js 16 App Routerβ
eeshaAI- All 16 buyer pages: home, login, product, cart, checkout, payment, categories, search, seller-profile, profile, orders, wishlist, videos, live, live-watch, group-buy, ai-chat, link-account, telegram - 7 seller dashboard pages with shared sidebar layout - 22 API route proxies to existing Supabase Edge Functions - Suspense boundaries for useSearchParams pages - Standalone output build for Docker deployment - Dockerfile (multi-stage Node 20 alpine, port 7860) - README with HF Space YAML frontmatter - .hfignore for lean Docker context Backend unchanged: 27 Supabase Edge Functions, Render bot, OpenWA, PalmPay payment verifier β all remain in place.3f4c55d -
fix: Flatten nested src/src/ and public/public/, remove invalid eslint config key
eeshaAI4a70912 -
fix: Use npm install instead of npm ci (repo has bun.lock, not package-lock.json)
eeshaAI5aa58c3 -
feat: Migrate frontend from static HTML to Next.js 16 App Routerβ
eeshaAI- All 16 buyer pages: home, login, product, cart, checkout, payment, categories, search, seller-profile, profile, orders, wishlist, videos, live, live-watch, group-buy, ai-chat, link-account, telegram - 7 seller dashboard pages with shared sidebar layout - 22 API route proxies to existing Supabase Edge Functions - Suspense boundaries for useSearchParams pages - Standalone output build for Docker deployment - Dockerfile (multi-stage Node 20 alpine, port 7860) - README with HF Space YAML frontmatter - .hfignore for lean Docker context Backend unchanged: 27 Supabase Edge Functions, Render bot, OpenWA, PalmPay payment verifier β all remain in place.94c9882 -
fix: Rewrite videos.html β broken by aggressive regex, now clean with navbar
Z Userf8e9acc -
fix: Remove old topbar from videos.html + clean up categories.html old nav JSβ
Z Uservideos.html: - Removed the old .topbar div (Back to home bar) that was overlapping with the shared navbar - Removed the .topbar CSS - The shared navbar already provides navigation (logo links to home, mobile bottom nav has Home/Category/Discover/Cart/Account) categories.html: - Replaced old checkAuthState() that referenced removed elements (accountBtn, mobileAccountBtn, loggedInCheck, mobileLoggedInCheck) - These elements were part of the old inline nav which was removed - Auth state is now handled by the shared navbar's initNavbar() function456ed3d -
fix: Remove duplicate inline mobile navs from ai-chat.html and search-result.htmlβ
Z UserBoth pages had their OWN inline mobile bottom nav IN ADDITION to the shared navbar. This caused them to show the OLD nav (Home/Shops/Cart/Account with 'AI Shop' center button) instead of the NEW shared nav (Home/Category/Discover/Cart/Account). Now ALL pages with the navbar use ONLY the shared navbar.html β no duplicates. The mobile bottom nav is identical across index.html, ai-chat.html, categories.html, videos.html, and all other pages: Home | Category | Discover (centered) | Cart | Accountcbd6709 -
fix: Mobile bottom nav β Home | Category | Discover (centered) | Cart | Accountβ
Z User- Changed 'Shops' to 'Category' in both desktop nav and mobile bottom nav - Added 'Discover' as the CENTER item in mobile bottom nav - Links to videos.html (social ecommerce discovery page) - Prominent cyan circle icon with compass icon - Slightly larger (scale 1.15) to stand out - Cyan glow shadow - Order: Home | Category | Discover | Cart | Account - Discover is centered between the other 4 items - Same navbar used on all pages (index, ai-chat, categories, videos, etc.)ee268fe -
fix: Remove navbar from utility pages, fix categories nav, AI chat colors, seller profile tabsβ
Z User1. Removed top navbar from utility pages: - cart.html, checkout.html, wishlist.html, orders.html, profile.html, settings.html, order-confirmation.html - These pages don't need the category bar (AI Mode, Explore, etc.) - They're transactional pages, not browsing pages 2. Categories page: removed old duplicate inline header - Now uses only the universal navbar (same as index.html) - No more extra buttons or different nav items 3. AI chat page: fixed all old orange/amber colors β cyan - Brand palette in tailwind config updated - All orange gradients, icons, buttons β cyan - Removed old inline header (now uses universal navbar) 4. Seller profile tabs: changed from Shop/Reviews/About to All/Videos/Products - All tab: mixed grid of products AND videos (sorted by date) - Videos tab: shows seller's product videos with video thumbnails - Products tab: shows only products - Video cards show view count and 'βΆ Video' badge - Product prices now show β¦ β¦09e8793 -
fix: Universal cyan/white theme + smaller fonts + β¦ currency + navbar everywhereβ
Z UserCOLOR FIXES (30 files updated): - Replaced ALL orange/amber/red/gold/purple/violet/teal/rose/indigo/pink colors with cyan (#00d4ff / #0891b2) across every HTML, CSS, and JS file - All gradients now use cyan - All badges, buttons, text accents β cyan - All borders, focus rings, backgrounds β cyan - No more yellow/orange/amber anywhere FONT SIZES (Temu/AliExpress/Amazon style): - Base font: 14px (was 16px) - Body text: 13px - H1: 20px (was 40px), H2: 18px, H3: 16px - Meta/badges: 10px - Mobile: base 13px (even denser) - Added !important overrides for Tailwind text-xs/sm/base/lg/xl/2xl/3xl CURRENCY: - All prices now show β¦ instead of $ (cart, checkout, product, orders, etc.) - All 'USD' β 'NGN' - All locale 'en-US' β 'en-NG' NAVBAR: - Added universal navbar to 18 pages that were missing it: cart, categories, checkout, product, profile, orders, wishlist, settings, search-result, ai-chat, order-confirmation, videos, live-watch, whatsapp, telegram - All pages now have the same navβ¦00611f0 -
feat: Background payment verifier thread on HF Spaceβ
Z UserInstead of an on-demand HTTP endpoint (which times out due to IMAP latency), the payment verifier now runs as a daemon thread inside the HF Space web server. It checks Gmail every 30 seconds for PalmPay emails matching awaiting_verification orders. Flow: 1. Buyer clicks 'I've sent it' β order status set to 'awaiting_verification' 2. Background thread (running every 30s) detects the order 3. Thread connects to Gmail via IMAP (Python imaplib β proven to work) 4. Fetches 10 most recent unread PalmPay emails 5. Parses amounts + matches against pending orders 6. On match: updates order to 'matched', marks email as read 7. Frontend polls check_status every 5s β detects 'matched' β shows success The thread uses Python's imaplib (not Deno's raw TLS) which we verified works from both our environment AND the HF Space. Also updated /api/verify-payments to use run_in_executor (for on-demand checks from the frontend, in case the background thread hasn't run yet).29663cc -
fix: run Gmail IMAP check in thread pool (was blocking async event loop)β
Z Userimaplib is synchronous β calling it directly in an async FastAPI handler blocks the entire event loop, causing the /api/verify-payments endpoint to time out. Fixed by wrapping the IMAP check in a synchronous function and running it via loop.run_in_executor(None, do_gmail_check).fd035cb