Add command menu to frontend (#24256)
CI / AMD64 Build (push) Canceled after 0s
CI / AMD64 Smoke Test (push) Canceled after 0s
CI / ARM Build (push) Canceled after 0s
CI / Jetson Jetpack 6 (push) Canceled after 0s
CI / AMD64 Extra Build (push) Canceled after 0s
CI / ARM Extra Build (push) Canceled after 0s
CI / Synaptics Build (push) Canceled after 0s
CI / Assemble and push default build (push) Canceled after 0s

* add command menu to quickly jump between pages, cameras, settings, and quick actions

* access tweaks
This commit is contained in:
Josh Hawkins
2026-09-12 10:57:17 -06:00
committed by GitHub
parent 4861a668b1
commit d59c28e53a
7 changed files with 897 additions and 217 deletions
+2
View File
@@ -2,6 +2,7 @@ import Providers from "@/context/providers";
import { BrowserRouter, Routes, Route } from "react-router-dom";
import Wrapper from "@/components/Wrapper";
import Sidebar from "@/components/navigation/Sidebar";
import CommandMenu from "@/components/menu/CommandMenu";
import { isDesktop, isMobile } from "react-device-detect";
import Statusbar from "./components/Statusbar";
@@ -110,6 +111,7 @@ function DefaultAppView() {
<div className="size-full overflow-hidden">
<ChromeErrorBoundary>{isDesktop && <Sidebar />}</ChromeErrorBoundary>
<ChromeErrorBoundary>{isDesktop && <Statusbar />}</ChromeErrorBoundary>
<ChromeErrorBoundary>{isDesktop && <CommandMenu />}</ChromeErrorBoundary>
<ChromeErrorBoundary>{isMobile && <Bottombar />}</ChromeErrorBoundary>
<div
id="pageRoot"