mirror of
https://github.com/R0m1k3/CollectFlow.git
synced 2026-10-14 18:58:17 +02:00
feat: Add virtualized heatmap grid component with dynamic columns, filtering, and row selection.
This commit is contained in:
1 parent
8bd7ae8c45
commit
9aca3b8ead
5 files changed
+57
-82
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import { getAvailableNomenclature, getFournisseurs, getGridData, getMagasins } from "@/features/grid/actions";
|
||||
import { getFournisseurs, getGridData, getMagasins } from "@/features/grid/actions";
|
||||
import { GridClient } from "@/features/grid/components/grid-client";
|
||||
import { SupplierSelectionLanding } from "@/features/grid/components/supplier-selection-landing";
|
||||
|
||||
@@ -22,11 +22,10 @@ export default async function GridPage({ searchParams }: GridPageProps) {
|
||||
code3: params.code3 || null,
|
||||
};
|
||||
|
||||
// 1. Fetch available suppliers, stores & nomenclature hierarchy
|
||||
const [fournisseurs, magasins, nomenclature] = await Promise.all([
|
||||
// 1. Fetch available suppliers & stores
|
||||
const [fournisseurs, magasins] = await Promise.all([
|
||||
getFournisseurs(),
|
||||
getMagasins(),
|
||||
getAvailableNomenclature()
|
||||
]);
|
||||
|
||||
// 2. If no supplier selected, show compact selection UI
|
||||
@@ -48,7 +47,6 @@ export default async function GridPage({ searchParams }: GridPageProps) {
|
||||
fournisseurs={fournisseurs}
|
||||
magasins={magasins}
|
||||
magasin={magasin}
|
||||
nomenclature={nomenclature}
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user