From a8b99d34624d44916f7d66ca795cfa0fb20fe1b8 Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Thu, 12 Mar 2026 12:04:34 -0700 Subject: [PATCH] fix(shell): hide subnav bar on rspace canvas page The rspace module's outputPaths caused renderModuleSubNav to render an unwanted "rspace | Canvases" bar across the canvas. Skip subnav for the root rspace module since the canvas has its own chrome. Co-Authored-By: Claude Opus 4.6 --- server/shell.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/server/shell.ts b/server/shell.ts index 7022a25..3428471 100644 --- a/server/shell.ts +++ b/server/shell.ts @@ -1356,6 +1356,7 @@ const SUBNAV_CSS = ` /** Build the module sub-nav bar from outputPaths + subPageInfos. */ function renderModuleSubNav(moduleId: string, spaceSlug: string, modules: ModuleInfo[]): string { + if (moduleId === 'rspace') return ''; // canvas page has its own chrome const mod = modules.find(m => m.id === moduleId); if (!mod) return '';