diff --git a/packages/app/src/web/shell.tsx b/packages/app/src/web/shell.tsx index 1ba146e99..13e34ee75 100644 --- a/packages/app/src/web/shell.tsx +++ b/packages/app/src/web/shell.tsx @@ -152,7 +152,12 @@ function IntegrationList(props: { pathname: string; onNavigate?: () => void }) { // ── SidebarContent ─────────────────────────────────────────────────────── -function SidebarContent(props: { pathname: string; onNavigate?: () => void; showBrand?: boolean }) { +function SidebarContent(props: { + pathname: string; + onNavigate?: () => void; + showBrand?: boolean; + onOpenCommands: () => void; +}) { const isHome = props.pathname === "/"; const isSecrets = props.pathname === "/secrets"; const isPolicies = props.pathname === "/policies"; @@ -212,6 +217,15 @@ function SidebarContent(props: { pathname: string; onNavigate?: () => void; show {/* Footer */}
@@ -392,6 +413,7 @@ export function Shell(props: ShellProps) { const pathname = useScopeRelativePathname(); const lastPathname = useRef(pathname); const [mobileSidebarOpen, setMobileSidebarOpen] = useState(false); + const [commandPaletteOpen, setCommandPaletteOpen] = useState(false); if (lastPathname.current !== pathname) { lastPathname.current = pathname; if (mobileSidebarOpen) setMobileSidebarOpen(false); @@ -408,10 +430,14 @@ export function Shell(props: ShellProps) { return (