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
-
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 -
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 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 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