From 3f86baeb0ff5b71763e9c3e8525a1f2f497dd972 Mon Sep 17 00:00:00 2001 From: Matt Date: Sat, 9 May 2026 04:11:15 +0200 Subject: [PATCH] chore(ui): drop unused dashboard KPIs + soften membership wording MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove the "Total Clients / Active Interests / Pipeline Value / Occupancy Rate" KPI grid from the dashboard — duplicated by the charts below and rarely scanned. Pipeline funnel, occupancy timeline, revenue breakdown, lead source charts and the activity feed remain. Rename the company-members dropdown action "End Membership" → "Remove from company" — matches how reps describe the action. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/components/companies/company-members-tab.tsx | 2 +- src/components/dashboard/dashboard-shell.tsx | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/components/companies/company-members-tab.tsx b/src/components/companies/company-members-tab.tsx index df5d5c8a..c0e1938f 100644 --- a/src/components/companies/company-members-tab.tsx +++ b/src/components/companies/company-members-tab.tsx @@ -246,7 +246,7 @@ export function CompanyMembersTab({ companyId, portSlug }: CompanyMembersTabProp disabled={endMutation.isPending} > - End Membership + Remove from company )} diff --git a/src/components/dashboard/dashboard-shell.tsx b/src/components/dashboard/dashboard-shell.tsx index 124c26b8..6a59ed3c 100644 --- a/src/components/dashboard/dashboard-shell.tsx +++ b/src/components/dashboard/dashboard-shell.tsx @@ -5,7 +5,6 @@ import { useState } from 'react'; import { useRealtimeInvalidation } from '@/hooks/use-realtime-invalidation'; import { usePortContext } from '@/providers/port-provider'; import { PageHeader } from '@/components/shared/page-header'; -import { KpiCardsWithBoundary } from './kpi-cards'; import { ActivityFeed } from './activity-feed'; import { DateRangePicker } from './date-range-picker'; import { PipelineFunnelChart } from './pipeline-funnel-chart'; @@ -75,10 +74,6 @@ export function DashboardShell() { actions={} /> -
- -
- {/* `items-start` is critical: without it, the right-column aside is stretched to match the chart column's row height, which forces MyRemindersRail (or any other child with `h-full`) to push later