From da3bfd2e83105d251801e59cee18c29e4f09ae16 Mon Sep 17 00:00:00 2001 From: shivam <91240327+shivamhwp@users.noreply.github.com> Date: Fri, 11 Sep 2026 21:34:55 +0000 Subject: [PATCH 1/2] fix(web): offer recovery from missing pages --- apps/web/src/routes/__root.tsx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/apps/web/src/routes/__root.tsx b/apps/web/src/routes/__root.tsx index 0831a922325e..50ccd9a36dd5 100644 --- a/apps/web/src/routes/__root.tsx +++ b/apps/web/src/routes/__root.tsx @@ -3,6 +3,7 @@ import { scopedProjectKey, scopeProjectRef } from "@t3tools/client-runtime/envir import { squashAtomCommandFailure } from "@t3tools/client-runtime/state/runtime"; import { Outlet, + Link, redirect, createRootRoute, type ErrorComponentProps, @@ -104,11 +105,27 @@ export const Route = createRootRoute({ }, component: RootRouteView, errorComponent: RootRouteErrorView, + notFoundComponent: RootRouteNotFoundView, head: () => ({ meta: [{ name: "title", content: APP_DISPLAY_NAME }], }), }); +function RootRouteNotFoundView() { + return ( +
+
+

Page not found

+

+ This link doesn't point to a page in T3 Code. Go home to choose a project or start a + thread. +

+ +
+
+ ); +} + function RootRouteView() { useEffect(() => installDesktopPasteAsText(window.desktopBridge, window), []); const pathname = useLocation({ select: (location) => location.pathname }); From 8a83f88b9d13c89bf4183773ff8ebe64f836f0b7 Mon Sep 17 00:00:00 2001 From: shivam <91240327+shivamhwp@users.noreply.github.com> Date: Sun, 13 Sep 2026 15:42:26 +0000 Subject: [PATCH 2/2] fix(web): use configured branding on missing pages --- apps/web/src/routes/__root.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/src/routes/__root.tsx b/apps/web/src/routes/__root.tsx index 50ccd9a36dd5..63495ce5cd65 100644 --- a/apps/web/src/routes/__root.tsx +++ b/apps/web/src/routes/__root.tsx @@ -117,8 +117,8 @@ function RootRouteNotFoundView() {

Page not found

- This link doesn't point to a page in T3 Code. Go home to choose a project or start a - thread. + This link doesn't point to a page in {APP_DISPLAY_NAME}. Go home to choose a project or + start a thread.