From 2c08a6593ab33bd60630d3b9a67e8c1b71ab36c5 Mon Sep 17 00:00:00 2001 From: Christian Vidal Wolf Date: Wed, 22 Apr 2026 14:34:10 +0200 Subject: [PATCH] feat: add Issues column to Pricing view showing unit/weight errors per row Co-Authored-By: Claude Sonnet 4.6 --- src/components/PricingView.tsx | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/components/PricingView.tsx b/src/components/PricingView.tsx index a909fed..e9447a1 100644 --- a/src/components/PricingView.tsx +++ b/src/components/PricingView.tsx @@ -1057,6 +1057,10 @@ export function PricingView({ data, headers, onSaveRow, onCaptureState, onEdit, ); })} + + Issues + + handleSort(COLUMNS.VALIDATED_CHECK)}> Check { e.stopPropagation(); handleResizeStart(e, 'check', columnWidths.check); }} /> @@ -1240,6 +1244,21 @@ export function PricingView({ data, headers, onSaveRow, onCaptureState, onEdit, ))} + {/* Issues column */} + + {unitErrors.length > 0 ? ( +
+ {unitErrors.map((err, i) => ( + + {err} + + ))} +
+ ) : ( + + )} + + {/* Check Column (Validated + Note) */}