: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(insights): show "None" unit label for numeric aggregation format (#69692)
Sam Penningtonce545553966d
diff --git a/frontend/src/lib/components/UnitPicker/UnitPicker.tsx b/frontend/src/lib/components/UnitPicker/UnitPicker.tsxindex 46a86e4fc3e0..6b0de7137a33 100644--- a/frontend/src/lib/components/UnitPicker/UnitPicker.tsx+++ b/frontend/src/lib/components/UnitPicker/UnitPicker.tsx@@ -69,7 +69,8 @@ export function UnitPicker(): JSX.Element {const displayValue = useMemo(() => {let displayValue: React.ReactNode = 'None'- if (effectiveAxisFormat) {+ // 'numeric' is the explicit "None" option, so keep the "None" label rather than its empty short symbol.+ if (effectiveAxisFormat && effectiveAxisFormat !== 'numeric') {displayValue = INSIGHT_UNIT_OPTIONS_SHORT[effectiveAxisFormat]}if (trendsFilter?.aggregationAxisPrefix?.length) {