: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(today): show report titles in the home sidebar (#110909)
Vojta Bartoš7563151ab156
diff --git a/frontend/src/scenes/project-homepage/today/TodayHomeSidebar.tsx b/frontend/src/scenes/project-homepage/today/TodayHomeSidebar.tsxindex edc2947b00c6..edd3c8fe6c84 100644--- a/frontend/src/scenes/project-homepage/today/TodayHomeSidebar.tsx+++ b/frontend/src/scenes/project-homepage/today/TodayHomeSidebar.tsx@@ -10,6 +10,8 @@ import { urls } from 'scenes/urls'import { TodayPreviewTrigger } from '~/layout/today/TodayPreviewTrigger'+import { displayConventionalCommitTitle } from 'products/signals/frontend/inbox/utils/reportPresentation'+import { isExternalHref, itemHref, itemSource, itemStateLabel } from './todayBriefingItems'import { TodayIcon } from './TodayIcon'import { todayLogic } from './todayLogic'@@ -32,7 +34,7 @@ function PersonalBriefingNavItems(): JSX.Element {const row = (<TodayNavItemkey={item.key}- title={item.label}+ title={displayConventionalCommitTitle(item.title, 'Untitled report')}meta={itemStateLabel(item) ?? (item.signal || source.label)}color={source.color}icon={<TodayIcon icon={source.icon} />}diff --git a/frontend/src/scenes/project-homepage/today/TodayReportNavItem.tsx b/frontend/src/scenes/project-homepage/today/TodayReportNavItem.tsxindex 1e39064cad3d..aa62222bf246 100644--- a/frontend/src/scenes/project-homepage/today/TodayReportNavItem.tsx+++ b/frontend/src/scenes/project-homepage/today/TodayReportNavItem.tsx@@ -6,12 +6,13 @@ import type { TodayReportPreview } from '~/layout/today/todayPreviewCards'import { TodayPreviewTrigger } from '~/layout/today/TodayPreviewTrigger'import { SignalReport } from 'products/signals/frontend/inbox/types'+import { displayConventionalCommitTitle } from 'products/signals/frontend/inbox/utils/reportPresentation'import { itemStateLabel } from './todayBriefingItems'import { TodayIcon } from './TodayIcon'import { TodayReportOpenSource, todayLogic } from './todayLogic'import { TodayNavItem } from './TodayNavItem'-import { reportIcon, reportMeta, reportSource, reportTitle } from './todaySignalReports'+import { reportIcon, reportMeta, reportSource } from './todaySignalReports'interface TodayReportNavItemProps {report: SignalReport@@ -27,7 +28,7 @@ export function TodayReportNavItem({ report, preview, source, dataAttr }: TodayRreturn (<TodayPreviewTrigger payload={preview}><TodayNavItem- title={reportTitle(report)}+ title={displayConventionalCommitTitle(report.title, 'Untitled report')}meta={itemStateLabel({ state: reportStateOverrides[report.id] ?? 'open' }) ?? reportMeta(report)}color={reportSource(report).color}icon={<TodayIcon icon={reportIcon(report)} />}