Commit Graph
88 Commits
Author SHA1 Message Date
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
Michael 81fbe35e55 feat: Introduce product grid page with server-side data fetching for suppliers, stores, and nomenclature, supporting initial selection. 2026-02-27 13:37:18 +01:00
Michael d86eacaef7 feat: implement HeatmapGrid component for product data visualization with virtualized rows and performance optimizations. 2026-02-27 13:23:47 +01:00
Michael 8e07e8c115 feat: introduce AI analysis engine with detailed system prompt and rich contextual product data messaging for recommendations. 2026-02-27 11:46:25 +01:00
Michael 5773ed9a26 feat: create ScoringEngine for AI copilot product analysis and scoring. 2026-02-27 11:05:25 +01:00
Michael a053556a64 feat: add BulkAiAnalyzer component for AI-driven product scoring and gamme suggestions. 2026-02-27 10:49:58 +01:00
Michael b0bb8cc09a feat: Implement bulk AI product analysis, including algorithmic scoring and context profiling, with a new OpenRouter client. 2026-02-27 10:44:02 +01:00
Michael 02fdd18a52 feat: implement AI product analysis endpoint using OpenRouter with optimized timeout handling and N+1 query prevention. 2026-02-27 10:36:34 +01:00
Michael 51a30b26e4 feat: establish Apple-inspired global design system and add initial AI analysis UI components. 2026-02-27 10:26:09 +01:00
Michael a3600d7e05 feat: implement product scoring engine to calculate composite scores and product recommendations based on various metrics and business rules. 2026-02-27 10:11:13 +01:00
Michael c95eb0ecb6 feat: Add new settings page with Apple-style UI, OpenRouter AI integration, and Mary v4 analysis. 2026-02-27 10:02:23 +01:00
Michael f352594b19 feat: create context profiler to generate statistical product profiles for AI analysis based on supplier lot and category distribution. 2026-02-27 09:50:55 +01:00
Michael 324a2621c1 feat: Implement AI Copilot context profiling to generate adaptive product analysis profiles and signals. 2026-02-27 09:37:49 +01:00
Michael c3f511b612 fix(ai): force json-structured reasoning to prevent business rule bleed 2026-02-26 16:34:10 +01:00
Michael 315a223021 fix(ui/ai): uniformize buttons and enforce ai rule checks 2026-02-26 16:27:55 +01:00
Michael ea732bafc4 feat: implement AI analysis engine for product recommendation and justification by generating prompts and processing responses. 2026-02-26 16:15:20 +01:00
Michael e50335a8c2 feat: Add db-init.js script to initialize PostgreSQL database with ai_supplier_context and session_snapshots tables. 2026-02-26 16:03:37 +01:00
Michael 20aa71f71a feat: Implement database initialization script to create ai_supplier_context and session_snapshots tables on application startup. 2026-02-26 15:57:37 +01:00
Michael 3438d1b35d feat: add HeatmapCell component and Apple-inspired global design system with dark/light mode support. 2026-02-26 15:54:47 +01:00
Michael 174b7fa36c feat: add supplier AI context modal and bulk product AI analysis component 2026-02-26 15:40:24 +01:00
Michael 9d8ef0e4db feat: Implement dashboard layout, shared sidebar, AI copilot analysis and scoring engines, and a grid floating summary bar. 2026-02-26 15:21:16 +01:00
Michael a092572829 feat: Implement dashboard layout with new sidebar, bulk AI analysis, supplier AI context modal, and floating summary bar. 2026-02-26 15:11:04 +01:00
Michael 8ce98c73fc feat: Add supplier AI context management modal, integrate new UI components, and update TypeScript to 5.9.3. 2026-02-26 14:55:12 +01:00
Michael d24c925e16 feat: Add AI copilot analysis engine for generating prompts and processing AI insights. 2026-02-26 14:40:05 +01:00
Michael 1c03403e9a feat: implement AI Copilot for product analysis, featuring dedicated API, business logic, UI components, and comprehensive documentation. 2026-02-25 10:58:12 +01:00
Michael 7a6b515db7 feat: implement AnalysisEngine for AI prompt generation and AI response processing in product analysis. 2026-02-25 10:39:27 +01:00
Michael 0226585d4e feat: Implement bulk AI product analysis, including prompt generation, insight processing, and a dedicated UI component. 2026-02-25 10:28:18 +01:00
Michael f824476e0b feat(ai): implement ScoringEngine v5 and update Mary AI logic 2026-02-24 16:49:53 +01:00
Michael 5812254c6d feat: add AnalysisEngine class for generating AI prompts and parsing recommendations for product analysis. 2026-02-24 16:37:05 +01:00
Michael 670ce76d4f feat: implement AI analysis engine with prompt generation, user message construction, and recommendation extraction for retail product analysis. 2026-02-24 16:03:10 +01:00
Michael b5b31a35af feat: Introduce AI copilot with a refined analysis engine for product recommendations based on strategic weight and relative contribution. 2026-02-23 17:42:34 +01:00
Michael 7b95cee4c2 feat: Introduce AI copilot for product analysis, incorporating a scoring engine, dedicated state management, and insight display. 2026-02-23 17:07:51 +01:00
Michael 15478fd07d feat: introduce AI insight block and detailed explanation modal, including visual styling adjustments. 2026-02-23 16:52:05 +01:00
Michael a6c295413b feat: implement and refine the AI explanation modal, ensuring correct portal rendering and UI polish. 2026-02-23 16:31:39 +01:00
Michael b2922fba99 feat: implement AI explanation modal and insight block components for product analysis. 2026-02-23 15:56:58 +01:00
Michael 79c611db2c feat: implement AnalysisEngine to generate AI prompts and process responses, incorporating updated product recommendation rules for strict low-score exclusion and critical analysis. 2026-02-23 15:36:49 +01:00
Michael 7538bf4629 feat: introduce AI analysis engine with refined product recommendation hierarchy and update task plan to reflect BMAD agent workflow. 2026-02-23 15:17:51 +01:00
Michael 423cb1e74b feat: implement AI analysis engine for product recommendation prompt generation and extraction. 2026-02-23 13:43:34 +01:00
Michael b7caf552a2 feat: Implement initial product data fetching API and establish the Product Requirements Document. 2026-02-23 11:27:14 +01:00
Michael f540e4f2b3 docs: Pause PRD creation at Step 8 (Scoping) and update task progress 2026-02-20 18:07:24 +01:00
Michael 6a0ddd7e36 feat: Add a foundational set of BMM, BMB, TEA, and Core workflows, agent definitions, and supporting templates. 2026-02-20 17:22:00 +01:00