From 5f9fa142bc3add32353a0493b33dbfd436f50305 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 9 Nov 2025 21:42:10 +0000 Subject: [PATCH] feat: Enhance Customer Order Wizard with improved customer list UI Customer List Improvements: - Added customer avatars with dynamic colors - Enhanced visual card design with gradient backgrounds - Customer type badges with color coding: * Wholesale (purple) * Restaurant (orange) * Event (pink) * Retail (blue) - Display contact information (phone, email) with icons - Show additional details (city, payment terms) - Added empty state when no customers found - Improved hover effects and transitions - Better spacing and visual hierarchy - Increased max height for better scrolling - Group hover states for better interactivity UX Enhancements: - More scannable customer information - Clear visual distinction between customer types - Better mobile responsiveness - Improved selected state with gradient - Smoother transitions and animations Files modified: - frontend/src/components/domain/unified-wizard/wizards/CustomerOrderWizard.tsx --- .../wizards/CustomerOrderWizard.tsx | 120 ++++++++++++++---- 1 file changed, 97 insertions(+), 23 deletions(-) diff --git a/frontend/src/components/domain/unified-wizard/wizards/CustomerOrderWizard.tsx b/frontend/src/components/domain/unified-wizard/wizards/CustomerOrderWizard.tsx index 5121474a..14b80dad 100644 --- a/frontend/src/components/domain/unified-wizard/wizards/CustomerOrderWizard.tsx +++ b/frontend/src/components/domain/unified-wizard/wizards/CustomerOrderWizard.tsx @@ -172,30 +172,104 @@ const CustomerSelectionStep: React.FC = ({ data, onDataChange, {/* Customer List */} -
- {filteredCustomers.map((customer) => ( -
- - ))} + + )) + )} {/* Create New Customer Button */}