Commit Graph
199 Commits
Author SHA1 Message Date
Michael 1458700cb7 feat: Implement 'dead stock' detection and override inter-product consistency rules in the AI analysis engine. 2026-03-11 17:00:46 +01:00
Michael 49e1dd9d9b feat: Implement v3 context profiler for multi-store product normalization and an AI analysis engine. 2026-03-11 16:41:01 +01:00
Michael cfbf293104 feat: Implement a composite weighted score engine and update the task markdown with a master plan and progress log. 2026-03-11 16:25:22 +01:00
Michael 12809b9924 Merge branch 'main' of https://github.com/R0m1k3/CollectFlow 2026-03-11 14:45:49 +01:00
Michael 6529b2fe15 feat: Add saveDraftChanges API endpoint to update product drafts and correctly set codeGammeInit using COALESCE. 2026-03-11 14:45:47 +01:00
Michael 05549fbde5 fix: add cache revalidation to snapshot APIs and fix imports 2026-03-10 16:29:45 +01:00
Michael 85972b287d fix: restore anonymous snapshot visibility and deletion 2026-03-10 16:16:23 +01:00
Michael 8237cf2d9f fix: snapshot deletion, restore grid logic and add diagnostic API 2026-03-10 16:07:24 +01:00
Michael 5eb3f6732e feat: Add Drizzle ORM database setup, product data fetching and processing with scoring, and a diagnostic API endpoint. 2026-03-10 16:04:55 +01:00
Michael 1e5bb74344 feat: implement getProductRows API to fetch, filter, and aggregate product sales data for the grid, including schema initialization and scoring. 2026-03-10 15:59:44 +01:00
Michael 10cea8c528 feat: Implement product grid with a new API for fetching and processing product sales data, including schema initialization and score computation, and a dashboard page for display. 2026-03-10 15:52:29 +01:00
Michael 5009bd7612 feat: Implement getProductRows API to fetch, aggregate, and score product sales data, including a self-healing schema initialization for code_gamme_init. 2026-03-10 15:30:43 +01:00
Michael 1b09994087 feat: implement product grid data fetching with schema self-healing and add a database verification script. 2026-03-10 13:53:33 +01:00
Michael 08d361e980 feat: Introduce database count verification scripts and update Next.js configuration for pg and server action body size. 2026-03-10 13:37:13 +01:00
Michael f15fbe69ec feat: Implement core grid state management with Zustand, define grid data types, and introduce a heatmap cell component. 2026-03-10 12:56:37 +01:00
Michael b408de4c9c feat: Implement API to fetch and process product sales data for grid display, including schema initialization, sales aggregation, and score calculation. 2026-03-10 12:47:13 +01:00
Michael 6046be50de feat: Introduce Drizzle ORM for database management and a script for initial schema setup. 2026-03-10 12:35:27 +01:00
Michael 69e2f9c325 feat: Implement NextAuth authentication with credentials, database and JSON fallback, including admin seeding and password management. 2026-03-10 12:24:30 +01:00
Michael 4e80f228fe feat: Seed default admin user and ensure users table existence. 2026-03-10 12:13:57 +01:00
Michael 4819ad7743 feat: Introduce ensureAdminExists function to seed a default admin user and create the users table if needed. 2026-03-10 12:03:18 +01:00
Michael 086da9dfde feat: Add database initialization script and default admin user seeding. 2026-03-10 11:41:44 +01:00
Michael 47872a994f feat: Introduce NextAuth.js for authentication, including default admin seeding and user table auto-creation. 2026-03-10 11:38:12 +01:00
Michael 3ce22defa7 feat: Introduce product scoring based on weighted sales metrics and store participation, integrated into the product grid API, and add a performance test script. 2026-03-10 11:29:39 +01:00
Michael 2a76745f29 Merge branch 'main' of https://github.com/R0m1k3/CollectFlow 2026-03-10 11:11:29 +01:00
Michael 8fae4391a2 feat: Implement database initialization script and Drizzle ORM connection setup. 2026-03-10 11:11:27 +01:00
Michael 54a4e7f4d1 feat: add bulk AI analyzer component for product scoring and context profiling. 2026-03-06 16:00:42 +01:00
Michael 34e8f4a767 feat: add bulk action toolbar component for applying gamme codes to selected items. 2026-03-06 15:53:24 +01:00
Michael cdc310223c feat: implement virtualized heatmap grid component using TanStack Table and a new Zustand store for product data. 2026-03-06 15:27:18 +01:00
Michael 1ba507da94 feat: implement virtualized heatmap grid component with a Zustand store for managing grid data, filters, and draft product gamme changes. 2026-03-06 15:15:11 +01:00
Michael 38955ab02a feat: introduce HeatmapGrid component for virtualized product data display with gamme selection and performance optimizations. 2026-03-06 15:08:35 +01:00
Michael d75454dd56 feat: Implement virtualized product heatmap grid with data fetching and client integration. 2026-03-06 15:03:25 +01:00
Michael 9f827c7554 feat: add new DropdownMenu component using Radix UI primitives and Tailwind CSS for styling. 2026-03-06 11:23:32 +01:00
Michael 57449ec603 feat: introduce heatmap grid component for displaying and managing product data with virtualization and performance optimizations. 2026-03-06 11:18:35 +01:00
Michael eb5bceb5bf feat: introduce DropdownMenu UI component and create HeatmapGrid file. 2026-03-06 11:14:56 +01:00
Michael baebf50d7a feat: implement new DropdownMenu UI component and create tsc-errors.txt to log existing TypeScript compilation issues. 2026-03-06 11:04:14 +01:00
Michael 02a382e815 feat: implement virtualized HeatmapGrid component for efficient product data display and management. 2026-03-06 10:41:35 +01:00
Michael 8902b535a8 feat: Add ExportDropdown component with Excel and PDF export functionalities for grid data. 2026-03-05 16:18:03 +01:00
Michael 02079423c3 feat: Introduce HeatmapGrid component, a virtualized table for product data with heatmap visualization, gamme selection, and performance optimizations. 2026-03-05 16:13:43 +01:00
Michael 287da96f09 feat: Add grid data export functionality to Excel and PDF. 2026-03-05 16:05:40 +01:00
Michael 4de420cd48 feat: implement HeatmapGrid component using TanStack Table and Virtual for efficient product data visualization with state management and performance optimizations. 2026-03-05 15:56:06 +01:00
Michael c7fa25a5d1 feat: Implement an Apple-inspired design system with dark/light modes and introduce the initial dashboard layout including a heatmap grid component. 2026-03-05 14:08:29 +01:00
Michael 3ba16d0895 feat: Implement AI copilot v4 analysis engine with refined rules and product context profiling. 2026-03-05 12:51:40 +01:00
Michael 2edf6202ab feat: implement AI Copilot for product analysis and recommendation, including a new analysis engine, OpenRouter client, and parser verification. 2026-03-05 11:43:58 +01:00
Michael a008b40a59 feat: implement AI copilot scoring engine for product analysis and recommendations, including a verification script for recent product logic. 2026-03-05 10:58:29 +01:00
Michael 56b09a438d feat: implement client-side grid with heatmap and associated components for product assortment revision. 2026-03-05 10:23:39 +01:00
Michael 32164572aa refactor(ai): simplify guardrail - protection is now a strong signal, not mandatory override 2026-02-27 15:20:15 +01:00
Michael 8b73363550 fix(ai): neutralize protection guardrail for products with CA<10EUR or margin<=0% 2026-02-27 15:04:07 +01:00
Michael 4716659c29 feat(grid): optimize global search to filter strictly by product name (libelle1) and codein 2026-02-27 15:00:57 +01:00
Michael b921f5ad40 fix(ai): implement automatic network retry for OpenRouter 502/503/529 overloads in Bulk Analyzer 2026-02-27 14:57:14 +01:00
Michael dd135ee67b feat: Contextual nomenclature filter & AI Quadrant Traffic percentile fix 2026-02-27 14:24:16 +01:00