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 the views list from the rail instead of new view (#113120)

Peter Kirkham61c1bf37675c
diff --git a/frontend/src/layout/today/todayShellLogic.test.ts b/frontend/src/layout/today/todayShellLogic.test.ts
index 1e70eef0283c..17d0a6b3321f 100644
--- a/frontend/src/layout/today/todayShellLogic.test.ts
+++ b/frontend/src/layout/today/todayShellLogic.test.ts
@@ -51,7 +51,7 @@ describe('todayShellLogic', () => {
test.each([
['home', '/home'],
['spaces', '/ai'],
- ['views', '/views/new'],
+ ['views', '/views'],
['products', '/tools'],
] as const)('opens the %s section when its rail item is picked', (pane, pathname) => {
const logic = todayShellLogic()
diff --git a/frontend/src/layout/today/todayShellLogic.ts b/frontend/src/layout/today/todayShellLogic.ts
index 5afb933ce1b0..aacac38b9cb2 100644
--- a/frontend/src/layout/today/todayShellLogic.ts
+++ b/frontend/src/layout/today/todayShellLogic.ts
@@ -38,7 +38,7 @@ function isUnder(path: string, root: string): boolean {
const RAIL_PANE_HOME: Record<TodayRailPane, () => string> = {
home: () => urls.projectHomepage(),
spaces: () => urls.ai(),
- views: () => urls.viewsNew(),
+ views: () => urls.views(),
products: () => urls.tools(),
}