From 95724c8e3a3cf2206149cbaaff726760aa7b01ff Mon Sep 17 00:00:00 2001 From: Matt Date: Wed, 3 Jun 2026 15:41:31 +0200 Subject: [PATCH] =?UTF-8?q?fix(uat):=20prod=20UAT=20batch=20=E2=80=94=20re?= =?UTF-8?q?ports,=20sidebar,=20search,=20berths,=20breakpoint?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - financial report: drop Expenses KPI, Net Contribution, cash-flow chart, expense donut + ledger (expenses are business-trip costs, not net contribution) - dashboard report PDF: pagination-safe tables (TableSection + per-row wrap) so long doc lists no longer overlap/crush - clients PDF report: rename "Nationality" -> "Country" - sidebar: hide a section header when all its items gate off (FINANCIAL orphan) - topbar: move global search into the 1fr grid track so it can't overlap "New" - clients card: show all linked berths (not just latest interest's primary) - berths list: hide table-only toggles (ft/m, density, columns) in card mode - lists: lower table/card breakpoint lg -> md so narrow desktops get tables - alert-rules: stale floor created_at -> updated_at (survives created_at backfill) Co-Authored-By: Claude Opus 4.8 (1M context) --- src/components/berths/berth-list.tsx | 66 +++-- src/components/clients/client-card.tsx | 21 +- src/components/interests/interest-list.tsx | 2 +- src/components/layout/sidebar.tsx | 41 +-- src/components/layout/topbar.tsx | 39 +-- .../financial/financial-report-client.tsx | 263 ++--------------- .../residential/residential-clients-list.tsx | 4 +- src/components/shared/data-table.tsx | 4 +- src/components/shared/data-view.tsx | 4 +- src/lib/pdf/reports/client-list-report.tsx | 2 +- src/lib/pdf/reports/dashboard-report.tsx | 278 +++++++++--------- src/lib/services/alert-rules.ts | 19 +- 12 files changed, 282 insertions(+), 461 deletions(-) diff --git a/src/components/berths/berth-list.tsx b/src/components/berths/berth-list.tsx index d3b14a0f..d9721620 100644 --- a/src/components/berths/berth-list.tsx +++ b/src/components/berths/berth-list.tsx @@ -187,36 +187,42 @@ export function BerthList() { applyView({ filters: savedFilters, sort: savedSort }); }} /> - - -