Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

copy(dashboards): shorten empty state chart button text (#119565)

Matt Pua7b8a04fbc535
diff --git a/frontend/src/scenes/dashboard/EmptyDashboardComponent.test.tsx b/frontend/src/scenes/dashboard/EmptyDashboardComponent.test.tsx
index e7453b9e0f42..f96619a3d68d 100644
--- a/frontend/src/scenes/dashboard/EmptyDashboardComponent.test.tsx
+++ b/frontend/src/scenes/dashboard/EmptyDashboardComponent.test.tsx
@@ -92,7 +92,7 @@ describe('EmptyDashboardComponent', () => {
expect(document.querySelector('[data-attr="dashboard-loading-controls"]')).toBeInTheDocument()
})
- it('shows clear paths to add an existing chart or create one with PostHog AI', () => {
+ it('shows clear paths to add a chart or create one with PostHog AI', () => {
const { logic } = renderEmptyState()
expect(screen.getByText('Build your dashboard')).toBeInTheDocument()
@@ -101,7 +101,7 @@ describe('EmptyDashboardComponent', () => {
'Add a chart from your library, or start with a question about what matters to your product.'
)
).toBeInTheDocument()
- expect(screen.getByText('Add an existing chart')).toBeInTheDocument()
+ expect(screen.getByText('Add a chart')).toBeInTheDocument()
expect(screen.getByText('or View Web Analytics')).toBeInTheDocument()
expect(screen.getByText('What do you want to learn?')).toBeInTheDocument()
diff --git a/frontend/src/scenes/dashboard/EmptyDashboardComponent.tsx b/frontend/src/scenes/dashboard/EmptyDashboardComponent.tsx
index ec3b839f04bd..a913ac126538 100644
--- a/frontend/src/scenes/dashboard/EmptyDashboardComponent.tsx
+++ b/frontend/src/scenes/dashboard/EmptyDashboardComponent.tsx
@@ -103,7 +103,7 @@ function DashboardEmptyActions({
'data-attr': 'dashboard-add-dropdown',
}}
>
- Add an existing chart
+ Add a chart
</LemonButton>
</AccessControlAction>
)}