Commit Graph

  • 7538bf4629 feat: introduce AI analysis engine with refined product recommendation hierarchy and update task plan to reflect BMAD agent workflow. Michael 2026-02-23 15:17:51 +01:00
  • 423cb1e74b feat: implement AI analysis engine for product recommendation prompt generation and extraction. Michael 2026-02-23 13:43:34 +01:00
  • b7caf552a2 feat: Implement initial product data fetching API and establish the Product Requirements Document. Michael 2026-02-23 11:27:14 +01:00
  • 17498dcc10 feat: Add bulk AI analyzer component to process product data and generate insights. Michael 2026-02-23 00:40:49 +01:00
  • 8c02771e46 feat: Introduce AI Copilot for bulk product analysis, including a dedicated store, UI components, and business logic. Michael 2026-02-23 00:29:45 +01:00
  • 03c5ab6d9e feat: Add bulk AI product analysis functionality with data models, state management, and a UI component. Michael 2026-02-23 00:14:22 +01:00
  • 673cab4454 feat: Add bulk AI product analysis component with progress tracking, concurrency, and benchmark calculations, along with a component for displaying individual AI insights. Michael 2026-02-22 23:58:19 +01:00
  • 960045dc53 feat: add OpenRouter client for AI product analysis. Michael 2026-02-22 23:54:44 +01:00
  • b92ed905d7 feat: Implement AI copilot product analysis logic and OpenRouter integration. Michael 2026-02-22 18:49:09 +01:00
  • 90c38bca8b feat: Implement a new Sidebar component featuring dynamic navigation links, user session display, and logout functionality. Michael 2026-02-22 18:38:42 +01:00
  • 2fbe88be71 feat: Add a new Sidebar component for application navigation, user profile display, and logout functionality. Michael 2026-02-22 18:27:51 +01:00
  • 43c625c3ec feat: Introduce SnapshotList component for managing user snapshots and exports, leveraging a new ConfirmModal. Michael 2026-02-22 14:43:48 +01:00
  • bab862bf5c feat: Add server-side function getSnapshots to retrieve session snapshots from the database. Michael 2026-02-22 14:39:42 +01:00
  • d6e313f945 feat: Implement a snapshots feature with a list component and a dedicated page to manage and restore saved sessions. Michael 2026-02-22 14:37:19 +01:00
  • afa7e59c34 feat: Implement Apple-inspired design system with global dark/light mode styles and utility classes. Michael 2026-02-22 14:32:42 +01:00
  • 997abee21a feat: Introduce an admin user management component to create, delete, and update user passwords. Michael 2026-02-22 14:26:16 +01:00
  • 44d7f95d4c feat: implement user authentication and route protection using NextAuth middleware and server actions. Michael 2026-02-22 14:23:11 +01:00
  • a03fd64b5d feat: Implement NextAuth for credentials-based authentication and add initial admin user seeding logic. Michael 2026-02-22 14:20:31 +01:00
  • cfd079fbf5 feat: add settings page for database, OpenRouter, score, theme, and display density configurations. Michael 2026-02-22 14:16:49 +01:00
  • 359d196c4d feat: implement user authentication and authorization with NextAuth, including user schema, password hashing, and role-based access control. Michael 2026-02-22 14:11:36 +01:00
  • c842c2447a feat: Implement snapshot and export listing, restoration, and deletion with a new success modal and floating summary bar. Michael 2026-02-22 13:54:24 +01:00
  • a93b1b36fc feat: Implement snapshot and export management, including API endpoints, database schema, and UI for listing, saving, loading, and deleting. Michael 2026-02-22 13:49:51 +01:00
  • 7288b3da72 feat: implement server-side function to save session snapshots, including input validation and database table creation fallback. Michael 2026-02-22 13:41:49 +01:00
  • 0bec6b953b feat: implement server action to save session snapshots, including table auto-creation. Michael 2026-02-22 13:39:01 +01:00
  • 3b3021d85f feat: Add API to save session snapshots and initialize the corresponding database table. Michael 2026-02-22 13:35:34 +01:00
  • 77fb61ef79 feat: Add floating summary bar with draft management, snapshot, and Excel export functionalities. Michael 2026-02-22 13:31:38 +01:00
  • c9cf83d4c7 feat: implement session snapshot creation and history viewing with new pages and components. Michael 2026-02-22 13:29:12 +01:00
  • 7765f97a1f feat: Add AI Copilot store for product analysis and a floating summary bar component with AI insight integration. Michael 2026-02-22 13:24:59 +01:00
  • 804328a525 feat: Implement a new heatmap grid component for product data visualization and selection, and create new bulk AI analyzer and floating summary bar components. Michael 2026-02-22 13:23:11 +01:00
  • a04d6d4e7a feat: add product score explanation page detailing calculation, principles, and interpretation. Michael 2026-02-22 13:18:19 +01:00
  • 8767b1cf1e feat: add AI Copilot Zustand store for managing product insights and analysis. Michael 2026-02-22 13:12:34 +01:00
  • c23f74d32d feat: Add Excel export for modified gammes via a new API route and a button in the floating summary bar. Michael 2026-02-22 13:10:10 +01:00
  • b0d25eb4d7 feat: Add FloatingSummaryBar component to display grid summary, draft changes, and save/export actions. Michael 2026-02-22 13:05:15 +01:00
  • 8b9803fffc feat: introduce AI-powered bulk product analysis feature with dedicated engine, types, and UI component. Michael 2026-02-22 12:32:09 +01:00
  • 335cf15ffa feat: Introduce AI copilot for bulk product analysis and integrate a new product scoring engine. Michael 2026-02-22 12:28:50 +01:00
  • 425d9e8088 feat: Add Bulk AI Analyzer component to process products, call an AI analysis API with concurrency and retry logic, and update grid insights and recommendations. Michael 2026-02-22 12:21:05 +01:00
  • 661704bf38 feat: Add bulk AI product analysis component with supporting data types and AI system prompt. Michael 2026-02-22 12:11:32 +01:00
  • b015d1f093 feat: Add AnalysisEngine for generating AI prompts and extracting recommendations for product range analysis. Michael 2026-02-22 12:08:35 +01:00
  • 8e2c2d4c15 feat: Add AnalysisEngine for AI copilot product analysis prompt generation and recommendation extraction. Michael 2026-02-22 12:02:42 +01:00
  • 3de16d15d7 feat: Introduce bulk AI product analysis, integrating with OpenRouter via a new API and UI. Michael 2026-02-22 11:59:15 +01:00
  • 04e6ed70f6 feat: Implement bulk AI product analysis functionality with a new UI component and API route. Michael 2026-02-22 11:19:54 +01:00
  • 7f9c07b58e feat: Add bulk AI product analysis feature with a new UI component and API route. Michael 2026-02-22 11:00:44 +01:00
  • 4b3672e65a feat: Add AI product analysis endpoint supporting individual and batch processing modes. Michael 2026-02-22 09:42:51 +01:00
  • 9744502788 feat: add AI product analysis API route supporting individual and batch modes Michael 2026-02-22 09:23:04 +01:00
  • ce0085a5c7 feat: Implement bulk AI product categorization through a new UI component and API route. Michael 2026-02-22 09:17:52 +01:00
  • 9c79b631cb feat: implement batch AI product analysis API route and UI component for product categorization. Michael 2026-02-22 09:10:19 +01:00
  • d644043aa5 feat: Add batch AI product categorization API and a bulk analyzer UI component. Michael 2026-02-22 01:07:17 +01:00
  • 259fb60638 feat(ai): performance-first logic with store awareness extrapolation and change count fix Michael 2026-02-22 00:21:53 +01:00
  • c5cacd9b5a fix(ai): final overhaul to performance-first, supplier-agnostic logic Michael 2026-02-22 00:12:14 +01:00
  • 0bb73ebcca feat(ai): update batch analysis to use global supplier weight (CA/Margin) Michael 2026-02-21 23:27:54 +01:00
  • c89e046dee feat(ai): synchronize analysis quality, optimize batch performance and implement context-aware weighting Michael 2026-02-21 23:14:12 +01:00
  • e8cc89cb2f feat(ai): synchronize batch and individual analysis payloads and models, optimize concurrency Michael 2026-02-21 22:48:16 +01:00
  • 66f28956ce fix(ai): fix syntax error in batch prompt and update types for score support Michael 2026-02-21 22:41:48 +01:00
  • 5c8910825b feat(ai): integrate performance score for smarter analysis and parallelize batch processing Michael 2026-02-21 22:41:10 +01:00
  • 4dac21dfac fix(grid): contextualize draft changes count and validation to visible products Michael 2026-02-21 22:39:00 +01:00
  • fe8d0f1b32 fix(ai): improved seasonality detection in batch by sending detailed month-by-month history Michael 2026-02-21 22:28:41 +01:00
  • 4f7701fa14 fix(ai): simplified categories to A (Permanent), C (Seasonal), Z (Exit) and removed B Michael 2026-02-21 22:24:58 +01:00
  • a186bb1989 fix(ai): prevent AI from using placeholder justification string in batch analysis Michael 2026-02-21 22:20:07 +01:00
  • 1ec8ae3f02 fix(ai): aligned batch system prompt with successful individual analysis prompt Michael 2026-02-21 22:17:21 +01:00
  • 816ec6e483 feat(ai): smarter batch analysis with revenue, history, nomenclature and strict retail rules Michael 2026-02-21 22:09:28 +01:00
  • 8ad2894301 fix(ai): batch-analyze uses user-configured model (Gemini 2.5) instead of hardcoded Llama 3.3 Michael 2026-02-21 22:05:18 +01:00
  • 3d26dc0b9b fix(ai): client-side retry on 429, server returns retryAfter, hardcoded llama-3.3 free model Michael 2026-02-21 22:04:08 +01:00
  • 41c3ab34b6 fix(ai): server-side retry-with-backoff on 429, reads Retry-After header, up to 3 attempts Michael 2026-02-21 21:58:25 +01:00
  • 163d80dfe2 fix(ai): throttle now applies on ALL chunk iterations (incl. errors), delay bumped to 20s Michael 2026-02-21 21:56:16 +01:00
  • bcbea69d0a fix(ai): add 3s throttle between batch chunks to avoid OpenRouter 429 rate limiting Michael 2026-02-21 21:53:14 +01:00
  • d3dfcf6be4 fix(ai): batch-analyze now reads OpenRouter key from DB config instead of env var Michael 2026-02-21 21:50:24 +01:00
  • 1cda9cef9d debug(ai): add verbose logging and improved error visibility in batch analyzer Michael 2026-02-21 21:45:58 +01:00
  • c6148b58a4 fix(ai): prefix insight text with recommended gamme letter for clarity Michael 2026-02-21 21:39:52 +01:00
  • 09f9c0b097 feat(ai): bulk analysis now populates AI insight column with justification and duplicate flag Michael 2026-02-21 21:38:27 +01:00
  • a07bad60b2 feat(ai): integrate Llama 3.3 batch analysis for products grouped by nomenclature Michael 2026-02-21 20:27:08 +01:00
  • 09e00fbcdd fix(ui): resolve stale closure in excel export button preventing export of actual drafts Michael 2026-02-21 20:08:35 +01:00
  • 515ca55836 feat(export): export modified gammes to excel with specified columns Michael 2026-02-21 20:04:46 +01:00
  • 90205bf51b fix(ui): prevent icon overlap in nomenclature select Michael 2026-02-21 19:08:45 +01:00
  • d3b349cc31 feat(grid): make gamme filters dynamic based on available data and support Aucune state Michael 2026-02-21 19:02:44 +01:00
  • 86c6946c3e style(ux): final refinements to inline selection and visual balance Michael 2026-02-21 18:53:22 +01:00
  • c2dbaa7fbc style(ux): harmonize ui according to ergonomics specification (silent ui, tabular nums, muted icons) Michael 2026-02-21 18:52:11 +01:00
  • 9ef846a5d9 feat(grid): display dynamic reference counts per gamme in filter bar Michael 2026-02-21 18:48:11 +01:00
  • a94489dd07 fix(grid): preserve active grid query in store to restore context on navigation Michael 2026-02-21 18:42:00 +01:00
  • 9493a39d12 feat(grid): preserve initial gamme reference and add modification icon Michael 2026-02-21 18:30:48 +01:00
  • a0f8d9c373 fix(grid): adjust nomenclature filter padding to prevent icon overlap Michael 2026-02-21 18:26:12 +01:00
  • 8567361107 feat(grid): refine nomenclature to 6-digits, single dropdown filter, and distinct store colors Michael 2026-02-21 18:07:36 +01:00
  • 93e01a475a fix(db): remove non-existent columns from schema and fix aggregation logic Michael 2026-02-21 17:34:04 +01:00
  • 33615bb1bd feat(grid): implement hierarchical nomenclature filter (Secteur > Rayon > Famille) Michael 2026-02-21 17:27:33 +01:00
  • de7aa1560e feat(grid): improve draft persistence and fix global save in national view Michael 2026-02-21 15:49:52 +01:00
  • cb7cbf873f feat(grid): add store participation icons in designation column Michael 2026-02-21 15:44:53 +01:00
  • 29936cf3e1 feat(grid): split CA and Marge columns and enable sorting Michael 2026-02-21 15:33:09 +01:00
  • b9311503b2 ui(grid): simplify Gamme options to letters and center the column header Michael 2026-02-21 15:16:15 +01:00
  • 86240f4b46 chore(cleanup): remove unused imports, variables and fix missing hook dependencies Michael 2026-02-21 15:15:22 +01:00
  • c1bd0ae097 feat(grid): exclude current month from grid and scoring calculations Michael 2026-02-21 15:13:29 +01:00
  • 1c5fe4499a fix(settings): resolve ReferenceError and add detailed persistence logs Michael 2026-02-21 14:49:14 +01:00
  • 85215565fa debug(ai): add diagnostic logs for AI API key persistence Michael 2026-02-21 14:32:35 +01:00
  • c41a60b430 fix(ai): persist openrouter settings on server and fix 503 error Michael 2026-02-21 14:04:54 +01:00
  • 643b26dcf3 fix(ui): add hydration guards to settings and grid pages to fix error #418 Michael 2026-02-21 13:48:07 +01:00
  • 69e7db4a9d fix(docker): switch to named volume for data persistence Michael 2026-02-21 13:22:28 +01:00
  • 0e0d999027 feat: implement dynamic database connection reloading Michael 2026-02-21 13:18:38 +01:00
  • 80d125f933 fix: add persistence volume for database settings Michael 2026-02-21 13:14:17 +01:00
  • ae564b5c46 debug: add database connection diagnostics Michael 2026-02-21 13:12:11 +01:00
  • 7a1843e454 feat: migrate from mock data to real SQL data Michael 2026-02-21 13:08:11 +01:00
  • 4f4a0dbd62 fix: resolve EACCES permission issue and hydration error #418 Michael 2026-02-21 12:54:39 +01:00
  • 0026e3134d style: add padding to dashboard layout Michael 2026-02-21 12:12:49 +01:00