: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.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(views): align new view menu icons and clarify copy (#110344)
Peter Kirkham64b9443c15e4
diff --git a/frontend/src/scenes/views/NewViewMenu.tsx b/frontend/src/scenes/views/NewViewMenu.tsxindex 0ca93653740a..0d3f985b4ab9 100644--- a/frontend/src/scenes/views/NewViewMenu.tsx+++ b/frontend/src/scenes/views/NewViewMenu.tsx@@ -27,11 +27,11 @@ export function NewViewMenu({ trigger, children }: NewViewMenuProps): JSX.Elemenreturn (<DropdownMenu><DropdownMenuTrigger render={trigger}>{children}</DropdownMenuTrigger>- <DropdownMenuContent align="start" className="w-72">+ <DropdownMenuContent align="start" className="min-w-72">{VIEW_TYPES.map((info) => (<DropdownMenuItemkey={info.type}- className="h-auto items-start py-1.5 whitespace-normal [&>svg]:mt-0.5"+ className="h-auto items-start py-1.5 whitespace-normal [&>svg]:mt-1.5"onClick={() => pickNewViewType(info.type)}data-attr={`views-new-${info.type}`}>diff --git a/frontend/src/scenes/views/viewsUtils.ts b/frontend/src/scenes/views/viewsUtils.tsindex b65eb59869f8..5ba297a95199 100644--- a/frontend/src/scenes/views/viewsUtils.ts+++ b/frontend/src/scenes/views/viewsUtils.ts@@ -21,19 +21,19 @@ export const VIEW_TYPES: ViewTypeInfo[] = [type: 'canvas',label: 'Canvas',pluralLabel: 'Canvases',- description: 'A board or a grid of widgets, kept in a space',+ description: 'A freeform page that AI builds from your prompt',},{type: 'notebook',label: 'Notebook',pluralLabel: 'Notebooks',- description: 'A document that mixes text, queries and charts',+ description: 'A doc that mixes your notes with live insights and replays',},{type: 'dashboard',label: 'Dashboard',pluralLabel: 'Dashboards',- description: 'A grid of insights to track your metrics',+ description: 'A grid of saved insights for your key metrics',},]