Spaces:
Sleeping
Sleeping
Commit History
-
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
-
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
-
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