Michael
788bf96006
feat: implement grid feature with server-side data fetching and product analytics dashboard
2026-04-07 08:21:22 +02:00
Michael and Claude Sonnet 4.6
2aa9cbecaa
revert: restore grid to pre-infinite-scroll state
...
Remove infinite grid loading, useInfiniteGrid hook, and server-side
pagination API route. Revert grid components to the simpler version
that avoids 2MB+ cache failures from unstable_cache.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-03 11:26:13 +02:00
Michael
bd21f07c8e
feat: implement bulk PostgreSQL client to replace per-article HTTP API calls
2026-04-03 11:21:38 +02:00
Michael
b4ea795770
feat: add settings page with database configuration, API status monitoring, and theme toggling
2026-04-03 11:07:34 +02:00
Michael
83d101ddc1
feat: add interactive client component for Hit Parade data visualization with sorting, filtering, and date range controls
2026-04-03 10:46:09 +02:00
Michael
687009dba1
feat: add HitParadeClient component with filtering, sorting, and date selection capabilities
2026-04-03 07:46:43 +02:00
Michael
659019e722
feat: implement PostgreSQL-based bulk data retrieval client for FF Nancy to replace HTTP API calls
2026-04-03 07:14:56 +02:00
Michael
a4debe992b
feat: implement dashboard page and add loading skeletons for all dashboard modules
2026-04-03 07:12:15 +02:00
Michael
2893114fca
feat: implement infinite grid pagination with server-side data fetching and custom hook
2026-04-02 17:17:32 +02:00
Michael
7e4b370267
feat: implement PostgreSQL client for bulk data retrieval to replace per-article HTTP requests and configure Claude permissions
2026-04-02 16:31:11 +02:00
Michael and Claude Sonnet 4.6
868886db87
feat: hit-parade date range + fournisseur filter; fix create user button layout
...
- Replace month dropdown with date picker (Du/Au) + Appliquer button
- Add fournisseur filter dropdown (client-side, all suppliers from current data)
- Totals update live when fournisseur filter changes
- SQL: use BETWEEN date range instead of TO_CHAR month match
- Create user button: proper 3-col form layout so button stays on one line
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-01 13:42:25 +02:00
Michael and Claude Sonnet 4.6
05354a0e74
fix: restore apple-btn-primary style for create user button; guard Invalid Date on sync status
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-01 13:35:35 +02:00
Michael and Claude Sonnet 4.6
f52532343f
refactor: redesign Hit Parade table with color-coded site groups and reset sort button
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-01 13:11:19 +02:00
Michael and Claude Sonnet 4.6
7923861947
feat: add Hit Parade page — monthly product sales by store with sort by CA/qty
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-01 11:22:08 +02:00
Michael and Claude Sonnet 4.6
bc76237f48
feat: sort analytics by name (fournisseur) or code asc (nomenclature); show code in nomenclature label; remove diag-fournisseurs endpoint
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-01 08:42:21 +02:00
Michael and Claude Sonnet 4.6
7e8b50e143
fix: remove function prop, unused import and useSearchParams in analytics
...
- page.tsx: move formatCA into client component (functions not serializable
across server→client boundary in Next.js — root cause of 500)
- client.tsx: remove unused BarChart2 import
- client.tsx: replace useSearchParams() with direct URL construction to
avoid Suspense boundary requirement
- pg-ff-client: use OR conditions instead of IN() for Drizzle compatibility
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-31 10:32:21 +02:00
Michael and Claude Sonnet 4.6
740aed3181
feat: add analytics page with CA TTC comparison by supplier/nomenclature
...
- pg-ff-client: add pgGetCaByFournisseur() and pgGetCaByNomenclature()
returning CA TTC per site and month for monthly N vs N-1 comparison
- analytics/page.tsx: server component with pivot logic to reshape raw
query data into store-separated columns (292/579/total) with evolution %
- analytics/client.tsx: client controls (mode dropdown, month selector)
and responsive table with color-coded evolution badges
- sidebar: add "Analytics" link to navigation
Features:
- Switch between "Fournisseur" and "Nomenclature" views
- Select any month for comparison vs same month prior year
- Columns split by store: Frouard/Nancy (292), Houdemont (579), Total
- Each store shows: CA this month, CA N-1, evolution %
- Footer totals row matching sum of detail rows
- FR locale currency formatting (€)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-31 09:40:31 +02:00
Michael
2eb196861b
feat: Implement initial dashboard page displaying network-level KPIs and individual store statistics.
2026-03-22 10:41:32 +01:00
Michael
38979debb8
feat: implement dashboard page with network KPIs and store statistics.
2026-03-21 19:41:59 +01:00
Michael
33deb033b5
feat: implement dashboard page with network-wide and site-specific KPIs, and top 10 items display.
2026-03-21 19:36:02 +01:00
Michael
46c799bd60
feat: Add dashboard page displaying network KPIs and store statistics, along with a new PostgreSQL data client.
2026-03-21 19:18:41 +01:00
Michael
a705d0043d
feat: Add dashboard page displaying network KPIs, site statistics, and top-selling items.
2026-03-21 18:55:33 +01:00
Michael
6ee0e3294d
feat: Introduce direct PostgreSQL client for FF Nancy data to replace HTTP API calls and add a new dashboard page.
2026-03-21 14:37:02 +01:00
Michael
d1bbe290da
feat: Implement dashboard layout and a new PostgreSQL client for optimized FF Nancy data fetching via bulk SQL queries.
2026-03-21 13:07:59 +01:00
Michael
e3d241a5ff
feat: add PostgreSQL client for FF Nancy to replace per-article HTTP API calls with bulk SQL queries.
2026-03-21 11:59:36 +01:00
Michael
1664aaf4cc
feat: Implement initial dashboard page displaying key performance indicators, site statistics, top items, and monthly evolution.
2026-03-21 08:54:52 +01:00
Michael
1e393753fa
feat: Implement PostgreSQL client for FF Nancy to replace per-article HTTP calls with bulk SQL queries.
2026-03-21 08:37:33 +01:00
Michael
966b13cdf0
feat: implement dashboard page displaying KPIs, site statistics, top items, and monthly evolution using a new PostgreSQL client.
2026-03-21 00:22:14 +01:00
Michael
7cb96966aa
feat: implement PostgreSQL client for FF Nancy data, replacing per-article HTTP calls with bulk SQL queries.
2026-03-20 16:09:22 +01:00
Michael
d5a422e738
feat: Implement dashboard page, its data fetching client, and shared sidebar component.
2026-03-20 14:43:19 +01:00
Michael
2b7e7bc1f4
feat: Introduce AI analysis engine with detailed system prompt and user message generation for product recommendations, and add an OpenRouter client.
2026-03-19 09:50:28 +01:00
Michael
d8a9329075
feat: Introduce AI Copilot feature with product analysis engine, state management, and UI components for insights.
2026-03-19 07:53:56 +01:00
Michael
9aca3b8ead
feat: Add virtualized heatmap grid component with dynamic columns, filtering, and row selection.
2026-03-18 20:34:23 +01:00
Michael
1035489db1
feat: Add FF Nancy API client and status endpoint, implement grid product fetching and draft change saving, and introduce AI Copilot core logic.
2026-03-18 14:31:29 +01:00
Michael
38e8fc1eac
feat: implement AI analysis engine for generating retail product recommendation prompts.
2026-03-13 08:55:30 +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
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
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
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
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
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
fbad53df36
feat(ai-copilot): add AI analysis engine with prompt generation, recommendation extraction, and insight cleaning capabilities.
2026-02-23 22:52:21 +01:00
Michael
8c02771e46
feat: Introduce AI Copilot for bulk product analysis, including a dedicated store, UI components, and business logic.
2026-02-23 00:29:45 +01:00
Michael
d6e313f945
feat: Implement a snapshots feature with a list component and a dedicated page to manage and restore saved sessions.
2026-02-22 14:37:19 +01:00
Michael
afa7e59c34
feat: Implement Apple-inspired design system with global dark/light mode styles and utility classes.
2026-02-22 14:32:42 +01:00
Michael
cfd079fbf5
feat: add settings page for database, OpenRouter, score, theme, and display density configurations.
2026-02-22 14:16:49 +01:00
Michael
359d196c4d
feat: implement user authentication and authorization with NextAuth, including user schema, password hashing, and role-based access control.
2026-02-22 14:11:36 +01:00
Michael
a93b1b36fc
feat: Implement snapshot and export management, including API endpoints, database schema, and UI for listing, saving, loading, and deleting.
2026-02-22 13:49:51 +01:00
Michael
c9cf83d4c7
feat: implement session snapshot creation and history viewing with new pages and components.
2026-02-22 13:29:12 +01:00