Remove page subtitles from all dashboard pages

Subtitles added noise without value. Stripped subtitle props from all 8
PageHeader calls, removed subtitle display from TopBar, and simplified
the PageTitleContext and PageHeader interfaces to title-only.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-09-01 09:31:32 -04:00
parent 9d016a08cb
commit 4e2e847828
10 changed files with 20 additions and 32 deletions

View File

@@ -659,7 +659,7 @@ export default function AccountExplorer() {
return (
<div>
<PageHeader title="Account Explorer" subtitle="Tell me everything about this account" />
<PageHeader title="Account Explorer" />
{/* KPI Summary Cards */}
<div className="grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-6 gap-3 mb-4">

View File

@@ -174,7 +174,7 @@ export default function ActivityDeepDive() {
return (
<div>
<PageHeader title="Activities" subtitle="Are we doing the right activities at the right volume?" />
<PageHeader title="Activities" />
{/* Type filter chips */}
<div className="flex flex-wrap gap-2 mb-4">

View File

@@ -120,7 +120,7 @@ export default function GoalsPage() {
return (
<div className="space-y-6">
<PageHeader title="Goals & Targets" subtitle="Set and track district performance targets" />
<PageHeader title="Goals & Targets" />
<div className="flex items-center gap-3">
<label className="text-sm font-medium text-muted">Quarter</label>

View File

@@ -62,7 +62,7 @@ export default function ImplementationOutcomes() {
return (
<div>
<PageHeader title="Implementation & Outcomes" subtitle="Are closed deals going live and becoming references?" />
<PageHeader title="Implementation & Outcomes" />
{/* Health Summary */}
<div className="grid grid-cols-3 gap-3 mb-6">

View File

@@ -113,7 +113,7 @@ export default function ExecutiveOverview() {
return (
<div>
<PageHeader title="Executive Overview" subtitle="Are we on track for a successful launch?" />
<PageHeader title="Executive Overview" />
<div className="grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-7 gap-3 mb-6">
<Scorecard label="Total Accounts" value={kpis.totalAccounts} />

View File

@@ -180,7 +180,7 @@ export default function PipelineDeepDive() {
return (
<div>
<PageHeader title="Pipeline Deep Dive" subtitle="Where is the money and will it close?" />
<PageHeader title="Pipeline Deep Dive" />
<div className="flex justify-end mb-2">
<ExportButton table="pipeline" />

View File

@@ -132,7 +132,7 @@ export default function PlaybooksPage() {
<svg className="w-4 h-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2"><polyline points="15 18 9 12 15 6" /></svg>
Back
</button>
<PageHeader title={selectedPlaybook.play_name} subtitle={selectedPlaybook.description || 'Campaign playbook'} />
<PageHeader title={selectedPlaybook.play_name} />
</div>
{editing ? (
@@ -221,7 +221,7 @@ export default function PlaybooksPage() {
return (
<div className="space-y-6">
<PageHeader title="Campaign Playbooks" subtitle="Standardized sales plays and account progress tracking" />
<PageHeader title="Campaign Playbooks" />
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4">
{playbooks.map(pb => {