: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
feat(today): show the project name only in the project selector (#118464)
Shy Alter56279fe84edc
diff --git a/frontend/src/layout/today/TodayTopBarSearch.tsx b/frontend/src/layout/today/TodayTopBarSearch.tsxindex 9ffe81cf38a8..ec0fc7c61292 100644--- a/frontend/src/layout/today/TodayTopBarSearch.tsx+++ b/frontend/src/layout/today/TodayTopBarSearch.tsx@@ -1,14 +1,12 @@-import { useActions, useValues } from 'kea'+import { useActions } from 'kea'import { IconSearch } from '@posthog/icons'import { Button, Kbd } from '@posthog/quill'import { commandLogic } from 'lib/components/Command/commandLogic'import { isMac } from 'lib/utils/dom'-import { teamLogic } from 'scenes/teamLogic'export function TodayTopBarSearch(): JSX.Element {- const { currentTeam } = useValues(teamLogic)const { toggleCommand } = useActions(commandLogic)return (@@ -20,7 +18,7 @@ export function TodayTopBarSearch(): JSX.Element {data-attr="today-top-bar-search"><IconSearch className="size-3.5 shrink-0" />- <span className="min-w-0 flex-1 truncate text-start">Search {currentTeam?.name ?? 'PostHog'}</span>+ <span className="min-w-0 flex-1 truncate text-start">Search this project</span><Kbd className="shrink-0">{isMac() ? '⌘K' : 'Ctrl+K'}</Kbd></Button>)diff --git a/frontend/src/scenes/project-homepage/today/TodayHomePage.tsx b/frontend/src/scenes/project-homepage/today/TodayHomePage.tsxindex 186f988102bb..2b01d455c5cb 100644--- a/frontend/src/scenes/project-homepage/today/TodayHomePage.tsx+++ b/frontend/src/scenes/project-homepage/today/TodayHomePage.tsx@@ -34,14 +34,13 @@ function TodayPulseSkeleton(): JSX.Element {}function TodayMetaLine(): JSX.Element {- const { now, currentTeam } = useValues(todayLogic)+ const { now } = useValues(todayLogic)const date = new Date(now)return (<p className="TodayHome__meta"><time translate="no" dateTime={date.toISOString()}>{DATE_FORMAT.format(date)}</time>- <span className="whitespace-pre">{` · ${currentTeam?.name ?? 'Your project'}`}</span></p>)}