Spaces:
Sleeping
Sleeping
Commit History
-
long-run: track state, evidence, lockfile
c1a9a77 -
outfit modal: palette strip + per-pick rationale + style summaryβ
- Palette swatches show outfit's merged dominant colors at top of modal - StyleSummary chips: Scandi-fit, axes count, scandi percent - Each complement tile shows rationale ("adds softness Β· scandi-fit") - types.ts: full Outfit shape including palette / axes / rationale fields Verified: bun run build (tsc + vite) cleanb4e0778
-
outfit modal: cleaner subtitle copy
0e81e03 -
add Shop the look outfit compositionβ
- taste/outfits.py: pairing rules per anchor bucket (dressβshoes+bag+outerwear, topβbottom+shoes+bag, etc.) picks top-scored in-stock complement per bucket, deduped by (brand, name) to avoid variant spam - GET /api/products/outfit?url= returns anchor + complements + total - frontend OutfitModal: hover "Shop the look" pill on each pairable card, opens a dark modal with the curated edit and run-totala9fc7b2
-
add 5 new store scrapers, category filtering, per-category taste scoringβ
Scrapers: Zalando (hydration data), COS (Centra/__NEXT_DATA__), & Other Stories (__NEXT_DATA__), Ellos (Nuxt 3 payload), Nelly (Voyado Elevate API). All use curl_cffi or httpx as needed. Expand all stores to full women's clothing categories (dresses, tops, jackets, trousers, skirts, knitwear, shoes, bags). Add category filter UI with multilingual pattern matching backend and pill bar in browse page. Implement per-category taste scoring: build separate centroids per category, score products against their own category's centroids, fall back to unified for unseen categories. Experimentally validated 1.3-2.3x better within-category discrimination.7dcb597 -
standardize data collection: new schema, rewrite scrapers, lifecycle trackingβ
Schema: added color, material, category, external_id, original_price, currency, on_sale, in_stock, sizes, first/last_seen_at, updated_at. Score is now nullable (NULL = unscored). Auto-migration from v1. Scrapers: all 4 rewritten for full field capture: - Boozt: 5 images, color, stock, sizes, sale pricing - Miinto: UUID external_id, category, sizes, sale detection - NA-KD: switched to CURRENT_PAGE extraction, fixed brand/price (was 0) - Wakakuu: fixed price extraction (was 0), color, stock, sizes Store: new sync() method β idempotent upsert + marks missing products as out-of-stock. Running twice produces same result. Frontend: sale badges, sold-out overlay, color display, original price with strikethrough.0fba372 -
add browse filters: brand, price range, quick presetsβ
Backend: min_price/max_price params, /brands and /price-range endpoints. Frontend: collapsible filter panel with brand dropdown, price range inputs, quick price preset pills, and clear-all button.1a74100 -
deduplicate color variants + multi-image supportβ
Products: group by (brand, name, store) using ROW_NUMBER window, pick highest-scoring variant. Reduces ~1766 duplicates to unique models. Multi-image: scrapers now collect all image URLs (Boozt media array, NA-KD image list, Miinto photos, Wakakuu imageUrls). Full stack: schema image_urls column, Product model, API, TypeScript types. UI: Discover card has tap-to-navigate image zones with dot indicators. Browse cards cycle images on hover with zone-based navigation.bf6e8ac
-
show absolute match % in browse, not per-page normalizedβ
Scores were normalized within each page (min-max of current page), so page 5 products showed 95% match. Now shows raw score * 100 matching what Discover page already does.aff4ca6 -
Fix discover ratings not persisting + smoother swipe animationβ
- Download product image from image_url when rating if local file missing (fixes deployed version where image_path pointed to local machine) - Updates image_path in DB so rescore can find images - Fixes Profile page not showing discover likes/dislikes - Fixes taste model not updating after swipes - Remove behind-card flash during swipe, add scale-in for new card0e3696c -
Add Docker/HF Spaces deployment and fix security issuesβ
- Dockerfile: multi-stage build (bun frontend + Python backend), CPU-only torch, serves everything on port 7860 for HF Spaces - FastAPI serves built frontend via StaticFiles + SPA catchall - Security: remove server filesystem paths from API responses, sanitize filenames on upload/image serving, prevent path traversal - Add fastapi, uvicorn, python-multipart to pyproject.toml deps - Support TASTE_DATA_DIR env var for container data directory34727e8 -
Add mobile responsive layout with bottom tab barβ
Bottom tab bar for mobile navigation (replaces hidden sidebar), viewport- fitted Discover page so card + buttons show without scrolling, and responsive tweaks for all pages (grid, spacing, typography).88e0098 -
Improve Discover page interactions and taste feedbackβ
- Card click opens store page (no more click-to-swipe) - Drag gesture only triggers on actual movement (>5px threshold) - Added undo button (+ Ctrl+Z keyboard shortcut) - Match % badge on each card (green/blue/amber by score) - Store badge and "tap to view" hint - Backend: undo endpoint reverts rating + taste model - Backend: dislikes now saved to taste model (was likes-only) - Backend: startup sync ensures all discover ratings reflected - Backend: rescore now rescores ALL products (not just low scores)1607a5a -
Add Discover swipe page with async taste model updatesβ
Backend: - /api/discover/next β fetch unrated products sorted by score - /api/discover/rate β like/dislike/skip with DB persistence - /api/discover/stats β rating statistics - Liked products auto-added as taste references - Async taste model rebuild after 3+ new likes Frontend: - Tinder-style swipe cards with drag gestures - Like/dislike/skip buttons + keyboard shortcuts (βββ) - Animated card transitions - Live stats counter - Next card preview behind current Also fixes: Product type (price_text/price_nok), image endpoint path resolution, sidebar Discover nav link6241e51 -
Add web app: FastAPI backend + React/TS frontendβ
Backend (FastAPI): - /api/products β paginated, filterable, sortable product browsing - /api/ratings β CRUD for reference images (like/dislike/remove/upload) - /api/stats β dashboard stats - /api/scan β trigger scan with background polling - /api/images β serve reference images Frontend (React + TypeScript + Vite + Bun): - Browse page: product grid with store filters, search, sort, pagination - Profile page: manage reference images, upload, like/dislike/remove - Dashboard: stats cards, per-store table, scan trigger - Dark theme matching existing design language8d87873