diff --git a/apps/web/src/App.tsx b/apps/web/src/App.tsx index e675a49..0cd5f00 100644 --- a/apps/web/src/App.tsx +++ b/apps/web/src/App.tsx @@ -646,9 +646,6 @@ function Dashboard() { Unified capacity - - Fast glance card for the first two numeric metrics extracted from the merged usage payload. -
@@ -711,9 +708,6 @@ function Dashboard() { Usage metrics - - CodexDash extracts numeric leaf nodes from the aggregated usage payload for quick overview cards. - {metricCards.length === 0 ? ( @@ -742,7 +736,7 @@ function Dashboard() {
@@ -750,9 +744,7 @@ function Dashboard() { Connected OpenAI accounts - - By default, these accounts are merged into one Codex usage view. Switch tabs to inspect individual account payloads and timestamps. - + Merged by default. Inspect each account below. {summary.accounts.length === 0 ? ( @@ -840,7 +832,7 @@ function Dashboard() { { + test('removes verbose dashboard card descriptions and keeps concise labels', () => { + expect(appSource).toContain('Unified capacity'); + expect(appSource).toContain('Usage metrics'); + expect(appSource).toContain('Connected OpenAI accounts'); + expect(appSource).toContain('description="Combined raw JSON."'); + expect(appSource).toContain(">Merged by default. Inspect each account below.<"); + expect(appSource).not.toContain( + 'Fast glance card for the first two numeric metrics extracted from the merged usage payload.', + ); + expect(appSource).not.toContain( + 'CodexDash extracts numeric leaf nodes from the aggregated usage payload for quick overview cards.', + ); + expect(appSource).not.toContain( + 'Raw aggregated JSON merged from every attached OpenAI Codex account.', + ); + expect(appSource).not.toContain( + 'By default, these accounts are merged into one Codex usage view. Switch tabs to inspect individual account payloads and timestamps.', + ); + }); +});