From d779228485268a3e522c7ad16b269f8f94bedde2 Mon Sep 17 00:00:00 2001 From: Matt Date: Sat, 18 Jul 2026 13:16:10 -0400 Subject: [PATCH] Restyle remainder of app to match new dashboard --- .../components/ai/AiDescriptionCompare.tsx | 18 ++-- .../src/components/bulk-edit/BulkEditRow.tsx | 20 ++--- inventory/src/components/chat/ChatRoom.tsx | 7 +- inventory/src/components/chat/ChatTest.tsx | 4 +- inventory/src/components/chat/RoomList.tsx | 8 +- .../src/components/chat/SearchResults.tsx | 4 +- .../dashboard/shared/BusinessRangeSelect.tsx | 2 +- .../shared/DashboardSectionHeader.tsx | 28 +++--- .../dashboard/shared/DashboardStatCard.tsx | 18 ++-- .../dashboard/shared/StudioControls.tsx | 26 +++--- .../discount-simulator/ResultsTable.tsx | 8 +- .../src/components/overview/BestSellers.tsx | 16 ++-- .../components/overview/ForecastMetrics.tsx | 18 ++-- .../components/overview/OverstockMetrics.tsx | 9 +- .../components/overview/PurchaseMetrics.tsx | 9 +- .../overview/ReplenishmentMetrics.tsx | 9 +- .../src/components/overview/SalesMetrics.tsx | 16 ++-- .../src/components/overview/StockMetrics.tsx | 9 +- .../overview/TopOverstockedProducts.tsx | 9 +- .../overview/TopReplenishProducts.tsx | 9 +- .../product-editor/EditableMultiSelect.tsx | 10 +-- .../product-editor/ProductEditForm.tsx | 2 +- .../product-editor/ProductSearch.tsx | 11 +-- .../components/GenericDropzone.tsx | 2 +- .../components/ProductCard/CopyButton.tsx | 4 +- .../components/ProductCard/SortableImage.tsx | 2 +- .../components/UnassignedImagesSection.tsx | 4 +- .../UnassignedImageItem.tsx | 6 +- .../MatchColumnsStep/MatchColumnsStep.tsx | 6 +- .../components/TemplateColumn.tsx | 4 +- .../components/AiSuggestionBadge.tsx | 30 +++---- .../components/CopyDownBanner.tsx | 10 +-- .../components/SuggestionBadges.tsx | 18 ++-- .../components/ValidationTable.tsx | 10 +-- .../components/cells/MultiSelectCell.tsx | 10 +-- .../components/cells/MultilineInput.tsx | 6 +- .../dialogs/AiValidationResults.tsx | 16 ++-- .../dialogs/SanityCheckDialog.tsx | 6 +- .../src/components/products/ProductDetail.tsx | 2 +- .../src/components/products/ProductTable.tsx | 6 +- .../purchase-orders/FilterControls.tsx | 2 +- .../purchase-orders/PipelineCard.tsx | 6 +- .../PurchaseOrderAccordion.tsx | 8 +- .../purchase-orders/PurchaseOrdersTable.tsx | 4 +- .../src/components/settings/AuditLog.tsx | 24 ++--- .../components/settings/DataManagement.tsx | 52 +++++------ .../components/settings/ProductSettings.tsx | 2 +- .../components/settings/PromptManagement.tsx | 4 +- .../settings/ReusableImageManagement.tsx | 4 +- .../settings/TemplateManagement.tsx | 4 +- .../src/components/settings/UserList.tsx | 2 +- .../components/settings/VendorSettings.tsx | 2 +- inventory/src/components/shared/index.ts | 82 +++++++++++++++++ .../templates/SearchProductTemplateDialog.tsx | 2 +- inventory/src/components/ui/alert-dialog.tsx | 2 +- inventory/src/components/ui/alert.tsx | 2 +- inventory/src/components/ui/badge.tsx | 2 +- inventory/src/components/ui/button.tsx | 8 +- inventory/src/components/ui/card.tsx | 4 +- inventory/src/components/ui/dialog.tsx | 2 +- inventory/src/components/ui/drawer.tsx | 2 +- inventory/src/components/ui/select.tsx | 2 +- inventory/src/components/ui/sheet.tsx | 2 +- inventory/src/components/ui/tabs.tsx | 4 +- inventory/src/components/ui/toggle.tsx | 2 +- inventory/src/index.css | 88 ++++++++++--------- inventory/src/lib/dashboard/designTokens.ts | 22 ++--- inventory/src/pages/BlackFridayDashboard.tsx | 10 +-- inventory/src/pages/Brands.tsx | 4 +- inventory/src/pages/Categories.tsx | 4 +- inventory/src/pages/ProductEditor.tsx | 2 +- inventory/src/pages/ProductLines.tsx | 2 +- inventory/src/pages/Products.tsx | 2 +- inventory/tailwind.config.js | 2 + inventory/tsconfig.tsbuildinfo | 2 +- 75 files changed, 437 insertions(+), 343 deletions(-) create mode 100644 inventory/src/components/shared/index.ts diff --git a/inventory/src/components/ai/AiDescriptionCompare.tsx b/inventory/src/components/ai/AiDescriptionCompare.tsx index e49fc57..dc4c628 100644 --- a/inventory/src/components/ai/AiDescriptionCompare.tsx +++ b/inventory/src/components/ai/AiDescriptionCompare.tsx @@ -163,17 +163,17 @@ export function AiDescriptionCompare({ {/* Right: AI suggestion */} -
+
{/* Measured header + issues area (height mirrored as spacer on the left) */}
{/* Header */}
- + AI Suggestion - + ({issues.length} {issues.length === 1 ? "issue" : "issues"})
@@ -185,7 +185,7 @@ export function AiDescriptionCompare({ {issues.map((issue, index) => (
{issue} @@ -199,7 +199,7 @@ export function AiDescriptionCompare({
{/* Editable suggestion */}
-
+
Suggested (editable):