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.

chore(dashboards): remove new badges from image and widget add options (#128336)

Matt Puad2b09b1652fd
diff --git a/frontend/src/scenes/dashboard/EmptyDashboardComponent.test.tsx b/frontend/src/scenes/dashboard/EmptyDashboardComponent.test.tsx
index 0be86db859de..3919a3f5dd25 100644
--- a/frontend/src/scenes/dashboard/EmptyDashboardComponent.test.tsx
+++ b/frontend/src/scenes/dashboard/EmptyDashboardComponent.test.tsx
@@ -130,7 +130,7 @@ describe('EmptyDashboardComponent', () => {
expect(screen.getByText('Button')).toBeInTheDocument()
expect(screen.getByText('Widget')).toBeInTheDocument()
expect(screen.queryByText('BETA')).not.toBeInTheDocument()
- expect(screen.getAllByText('NEW')).toHaveLength(2)
+ expect(screen.queryByText('NEW')).not.toBeInTheDocument()
logic.unmount()
})
diff --git a/frontend/src/scenes/dashboard/dashboardAddTileOptions.ts b/frontend/src/scenes/dashboard/dashboardAddTileOptions.ts
index 3841302faf62..3faa2f2cbaf7 100644
--- a/frontend/src/scenes/dashboard/dashboardAddTileOptions.ts
+++ b/frontend/src/scenes/dashboard/dashboardAddTileOptions.ts
@@ -26,8 +26,8 @@ export function getDashboardAddTileOptions({
return [
{ key: 'insight', label: 'Charts', onClick: onAddInsight },
{ key: 'text', label: 'Add text', onClick: onAddText },
- { key: 'image', label: 'Image', tag: 'new', onClick: onAddImage },
+ { key: 'image', label: 'Image', onClick: onAddImage },
{ key: 'button', label: 'Button', onClick: onAddButton },
- { key: 'widget', label: 'Widget', tag: 'new', onClick: () => setAddWidgetModalOpen(true) },
+ { key: 'widget', label: 'Widget', onClick: () => setAddWidgetModalOpen(true) },
]
}