fix(uat): prod UAT batch — reports, sidebar, search, berths, breakpoint
- 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) <noreply@anthropic.com>
This commit is contained in:
@@ -43,7 +43,7 @@ export function DataView<TData>({
|
||||
{headerSlot ? <div>{headerSlot}</div> : null}
|
||||
|
||||
{/* Desktop: TanStack table */}
|
||||
<div className="hidden lg:block">
|
||||
<div className="hidden md:block">
|
||||
<Table>
|
||||
<TableHeader>
|
||||
{table.getHeaderGroups().map((group) => (
|
||||
@@ -81,7 +81,7 @@ export function DataView<TData>({
|
||||
</div>
|
||||
|
||||
{/* Mobile: card list */}
|
||||
<ul className="lg:hidden flex flex-col gap-2">
|
||||
<ul className="md:hidden flex flex-col gap-2">
|
||||
{isEmpty ? (
|
||||
<li className="rounded-md border border-border bg-card p-4 text-center text-sm text-muted-foreground">
|
||||
{emptyState ?? 'No results.'}
|
||||
|
||||
Reference in New Issue
Block a user