From d75454dd5675705ec977f3bf47cedf82efd69e23 Mon Sep 17 00:00:00 2001 From: Michael SCHAL Date: Fri, 6 Mar 2026 15:03:25 +0100 Subject: [PATCH] feat: Implement virtualized product heatmap grid with data fetching and client integration. --- src/features/grid/api/get-product-rows.ts | 2 +- src/features/grid/components/grid-client.tsx | 1 + src/features/grid/components/heatmap-grid.tsx | 18 ++++++++++++------ 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/src/features/grid/api/get-product-rows.ts b/src/features/grid/api/get-product-rows.ts index edc0b34..9f5888e 100644 --- a/src/features/grid/api/get-product-rows.ts +++ b/src/features/grid/api/get-product-rows.ts @@ -149,7 +149,7 @@ export async function getProductRows(input: GetProductRowsInput): Promise= 3) { + if (periods.size >= 1) { workingStores.push(magasin); } } diff --git a/src/features/grid/components/grid-client.tsx b/src/features/grid/components/grid-client.tsx index 1a42ad3..c37c152 100644 --- a/src/features/grid/components/grid-client.tsx +++ b/src/features/grid/components/grid-client.tsx @@ -91,6 +91,7 @@ export function GridClient({ initialRows, nomFournisseur, fournisseurs, magasins

+
{hasDrafts && (
+ , + portalContainer + )}