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.

fix(today): open view all from the analytics rail button (#126097)

Daniel Parker792908c19f55
diff --git a/frontend/src/layout/today/todayShellLogic.test.ts b/frontend/src/layout/today/todayShellLogic.test.ts
index 90762c6f69ca..9a9e6b768366 100644
--- a/frontend/src/layout/today/todayShellLogic.test.ts
+++ b/frontend/src/layout/today/todayShellLogic.test.ts
@@ -93,7 +93,7 @@ describe('todayShellLogic', () => {
['home', false, '/home'],
['spaces', true, '/spaces/new'],
['spaces', false, '/ai'],
- ['analytics', false, '/analytics/product-analytics'],
+ ['analytics', false, '/analytics/all'],
['products', false, '/airplane'],
] as const)('opens the %s section when its rail item is picked, sandbox %s', (pane, sandbox, pathname) => {
featureFlagLogic.actions.setFeatureFlags([], { [FEATURE_FLAGS.PHAI_SANDBOX_MODE]: sandbox })
@@ -122,7 +122,7 @@ describe('todayShellLogic', () => {
['home', 'new', urls.projectHomepage()],
['spaces', 'new', urls.taskNewSession()],
['spaces', 'legacy', urls.ai()],
- ['analytics', 'new', urls.analyticsProductHome()],
+ ['analytics', 'new', urls.analyticsList()],
['products', 'new', undefined],
['settings', 'new', urls.settings('project')],
] as const)('a rail pick on %s with the %s PostHog AI view opens %s', (pane, phaiView, href) => {
diff --git a/frontend/src/layout/today/todayShellLogic.ts b/frontend/src/layout/today/todayShellLogic.ts
index bbaa5cfecb52..015bcacf248c 100644
--- a/frontend/src/layout/today/todayShellLogic.ts
+++ b/frontend/src/layout/today/todayShellLogic.ts
@@ -53,7 +53,7 @@ export function todayNewChatUrl(effectivePhaiView: PhaiViewMode): string {
const RAIL_PANE_HOMES: Partial<Record<TodayRailPane, (effectivePhaiView: PhaiViewMode) => string>> = {
home: () => urls.projectHomepage(),
spaces: todayNewChatUrl,
- analytics: () => urls.analyticsProductHome(),
+ analytics: () => urls.analyticsList(),
settings: () => urls.settings('project'),
}