Commit Graph
23 Commits
Author SHA1 Message Date
Christian Vidal Wolf 1fc494fc3f Fix: consolidate stock badges and update WOC calculation to include internal warehouse stock 2026-04-27 11:40:36 +02:00
Christian Vidal Wolf 99e4b2c34b Fix: restore Top50 ranking badges (white/gradient) next to inventory badges across all views 2026-04-27 11:33:07 +02:00
Christian Vidal WolfandClaude Sonnet 4.6 eadbaf3492 Feat: add hover tooltip on TOTALS row in Weekly Sales with WoW and YoY comparison
Shows previous week and same week prior year values (Units, Revenue, Ads Spend, GV) with % change indicators when hovering any week cell in the TOTALS row.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-04-27 11:22:53 +02:00
Christian Vidal WolfandClaude Sonnet 4.6 3e3975cd2b feat: add BSR vs Units correlation chart to Vendor tab
New BSRUnitsCorrelationChart component added to the Vendor tab showing:
- Per-marketplace tabs (DE, ES, FR, IT, UK) with market accent colors
- Dual-axis combo chart: bars (units sold, right axis) + line (BSR rank, left axis)
- Inverted BSR axis by default (lower rank = top) with toggle to flip
- Pearson r correlation calculated and displayed with strength interpretation
- Wired to existing combinedAdsData (filtered) and filteredBsrData

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-09 10:58:01 +01:00
Christian Vidal WolfandClaude Sonnet 4.6 07461031b8 fix(VendorDataView): assign distinct color per market in all three charts
Each market line (DE/ES/FR/IT/UK) now renders with its own color across
Top Level BSR, Detail Level BSR, and Average Rating charts, along with
per-market legend entries. Removes hardcoded single-color approach.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-04 09:06:05 +01:00
Christian Vidal WolfandClaude Sonnet 4.6 1d0ea2f485 fix(vendor): abbreviate large BSR numbers on Y-axis (500000 → 500K, 1.2M)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-04 08:57:49 +01:00
Christian Vidal WolfandClaude Sonnet 4.6 c49b331e82 fix(vendor): remove duplicate 'Altro' key in category translation map
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-04 08:52:00 +01:00
Christian Vidal WolfandClaude Sonnet 4.6 110ec13ac4 feat(vendor): translate BSR category names to English
Add translateCategory() with a full DE/FR/IT/ES → EN map covering
all top-level and detail categories found in the BSR data.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-04 08:50:15 +01:00
Christian Vidal WolfandClaude Sonnet 4.6 9af2296a9b fix(vendor): remove gradient fill from BSR and rating charts
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-04 08:42:20 +01:00
Christian Vidal Wolf 8d849dfb63 feat: show category names next to BSR chart headers when single ASIN selected 2026-03-04 08:40:46 +01:00
Christian Vidal Wolf 5eb42f5e33 feat: show X and Y axis values on Vendor charts 2026-03-04 08:35:00 +01:00
Christian Vidal Wolf bdd65d16d1 fix: perfectly match Vendor tab UI to reference screenshot 2026-03-04 08:29:20 +01:00
Christian Vidal Wolf 8ad1f908b1 feat: redesign Vendor tab with premium AreaCharts and updated UI 2026-03-03 17:15:02 +01:00
Christian Vidal WolfandQwen-Coder 0a2b15615d feat(vendor): update to modern bar charts
- Use BarChart with rounded corners for modern look
- Remove vertical grid lines for cleaner appearance
- Add hover cursor effect on tooltip
- Y-axis reversed for BSR charts (lower = better)
- Normal Y-axis for Rating chart (higher = better)

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-03 16:21:08 +01:00
Christian Vidal WolfandQwen-Coder 4fa8b0f45e feat(vendor): use modern area charts with gradient fills
Replace bar charts with area charts featuring:
- Gradient fill effects for modern look
- Smooth monotone curves
- Proper Y-axis orientation (reversed for BSR where lower is better)
- Color-coded by market with transparency

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-03 16:16:52 +01:00
Christian Vidal WolfandQwen-Coder 4025cb69a3 feat(vendor): change charts from lines to bars for weekly data
Convert Top Level BSR, Detail Level BSR, and Average Rating charts
from LineChart to BarChart for better week-over-week comparison.
Each market now displays as colored bars per week instead of lines.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-03 16:12:56 +01:00
Christian Vidal WolfandQwen-Coder 2814d68716 feat: mostrar detalles del producto en Vendor tab cuando hay un solo ASIN
- Agregar tarjeta con SKU, ASIN y título al inicio de los gráficos
- Incluir Buy Box Warning Badge si el producto tiene issues
- Solo se muestra cuando hay un único ASIN seleccionado

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-03 11:21:14 +01:00
Christian Vidal Wolf 98ba0d1708 feat: sync vendor tab filters with global header filters 2026-03-03 10:52:35 +01:00
christian.vidalandClaude Sonnet 4.6 a6b7503c82 fix(vendor): replace ASIN text input with MultiSelectDropdown for proper filtering
The free-text ASIN search was unclear and not working as expected.
Replace it with a proper MultiSelectDropdown (same as Market/Category
filters) — selecting an ASIN now strictly filters chart data to that
ASIN only.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-02 20:16:27 +01:00
christian.vidalandClaude Sonnet 4.6 7f5aa1b812 feat(vendor): switch BSR charts to daily resolution for smoother trend lines
- Add date? field to BSRRecord (ISO string YYYY-MM-DD)
- processBSRExcel now extracts and stores the Date column as an ISO date
  (handles both Excel serial numbers and string dates)
- VendorDataView groups chart data by date (daily) when dates are available,
  falling back to weekly buckets — eliminates straight-line charts caused
  by only 2 weekly data points

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-02 18:53:45 +01:00
Christian Vidal Wolf 243c44c7f7 feat: replace Vendor tab with BSR tracker 2026-03-02 15:22:12 +01:00
Christian Vidal WolfandQwen-Coder a4919691b2 Fix Vendor filters: add year, date range, and ASIN search
- Add year filter with multi-select dropdown
- Add date range pickers (from/to)
- Fix tags filter using ilike for partial matching
- Add clear filters button
- Update supabase service with proper year filtering

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-20 14:01:05 +01:00
Christian Vidal WolfandClaude Opus 4.6 2bce0a839b feat: add Supabase vendor data integration (BSR, ratings, buy box)
- Create vendor_daily_data table schema and Supabase client service
- Add upload API route for Vendor Central CSV parsing and upsert
- Add VendorDataView with BSR trend, ratings, and buy box charts
- Integrate new Vendor tab into app navigation (desktop + mobile)
- Add vendor CSV upload card to FileUpload modal

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 13:19:25 +01:00