Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.
Python agent-orchestrationai-agentai-coding-assistantclaude-codecoding-agentcomputer-usedesktop-applocal-firstmcppersonal-jarvisvoice-assistantvoice-coding
fix(docs): set the docs into the nav ground like the app shell
rubenluetke10-beep187bc4624089
diff --git a/jarvis/ui/web/frontend/src/components/docs/DocsSidebar.tsx b/jarvis/ui/web/frontend/src/components/docs/DocsSidebar.tsxindex cabd93c872..29e37188da 100644--- a/jarvis/ui/web/frontend/src/components/docs/DocsSidebar.tsx+++ b/jarvis/ui/web/frontend/src/components/docs/DocsSidebar.tsx@@ -60,7 +60,7 @@ export function DocsSidebar({return (<asidearia-label={t("docs_sidebar.title")}- className="flex h-full w-64 shrink-0 flex-col border-r border-border bg-background"+ className="flex h-full w-64 shrink-0 flex-col"><div className="px-4 pb-3 pt-5"><SearchTrigger onClick={onOpenSearch} />@@ -133,7 +133,7 @@ export function DocsSidebar({</nav></ScrollArea>- <div className="border-t border-border px-4 py-3">+ <div className="px-4 py-3"><ahref={ONLINE_DOCS_URL}onClick={(event) => {@@ -168,9 +168,13 @@ function NavRow({aria-current={active ? "page" : undefined}title={label}className={cn(- "block w-full rounded-md px-3 py-1.5 text-left text-base text-muted-foreground transition-colors",- "hover:bg-secondary hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",- active && "jarvis-nav-active font-medium",+ "block w-full rounded-md px-3 py-1.5 text-left text-base transition-colors",+ "hover:bg-secondary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",+ // The ink is set per state: a muted-ink utility would outrank the+ // strong ink `.jarvis-nav-active` gives the selected row.+ active+ ? "jarvis-nav-active font-medium text-foreground-strong"+ : "text-muted-foreground hover:text-foreground",)}><span className="line-clamp-2 break-words">{label}</span>diff --git a/jarvis/ui/web/frontend/src/components/docs/docsShared.tsx b/jarvis/ui/web/frontend/src/components/docs/docsShared.tsxindex 65106f5c41..064ba65e0a 100644--- a/jarvis/ui/web/frontend/src/components/docs/docsShared.tsx+++ b/jarvis/ui/web/frontend/src/components/docs/docsShared.tsx@@ -95,7 +95,7 @@ export function SearchTrigger({<span className="flex-1 truncate">{size === "lg" ? t("docs.search_hero") : t("docs.search_button")}</span>- <kbd className="shrink-0 rounded-sm border border-border bg-background px-1.5 py-0.5 font-sans text-xs font-medium text-foreground-faint">+ <kbd className="shrink-0 rounded-sm border border-border px-1.5 py-0.5 font-sans text-xs font-medium text-foreground-faint">{searchShortcutLabel()}</kbd></button>diff --git a/jarvis/ui/web/frontend/src/views/DocsView.tsx b/jarvis/ui/web/frontend/src/views/DocsView.tsxindex 8b4c64f31b..aa9688557b 100644--- a/jarvis/ui/web/frontend/src/views/DocsView.tsx+++ b/jarvis/ui/web/frontend/src/views/DocsView.tsx@@ -89,7 +89,10 @@ export function DocsView() {}, []);return (- <div className="flex h-full min-h-0 bg-background">+ // The window's nav ground runs from the caption down through the docs+ // navigation; the reading surface is a sheet set into it with a hairline+ // and a rounded corner — the same split as the app shell beside its nav.+ <div className="jarvis-nav-surface flex h-full min-h-0"><ahref="#docs-content"className="sr-only z-50 rounded-md bg-background px-3 py-2 text-sm text-foreground focus:not-sr-only focus:absolute focus:left-3 focus:top-3 focus-visible:ring-2 focus-visible:ring-ring"@@ -102,26 +105,28 @@ export function DocsView() {onShowOverview={showOverview}onOpenSearch={() => setSearchOpen(true)}/>- <main- id="docs-content"- ref={contentRef as React.RefObject<HTMLElement>}- tabIndex={-1}- className="min-w-0 flex-1 overflow-y-auto focus-visible:outline-none"- >- <div className="mx-auto flex w-full max-w-6xl gap-12 px-10">- <div className="min-w-0 flex-1">- <DocsContent- slug={selectedSlug}- onSelect={selectDoc}- onShowOverview={showOverview}- onOpenSearch={() => setSearchOpen(true)}- />+ <div className="jarvis-sheet flex min-w-0 flex-1">+ <main+ id="docs-content"+ ref={contentRef as React.RefObject<HTMLElement>}+ tabIndex={-1}+ className="min-w-0 flex-1 overflow-y-auto focus-visible:outline-none"+ >+ <div className="mx-auto flex w-full max-w-6xl gap-12 px-10">+ <div className="min-w-0 flex-1">+ <DocsContent+ slug={selectedSlug}+ onSelect={selectDoc}+ onShowOverview={showOverview}+ onOpenSearch={() => setSearchOpen(true)}+ />+ </div>+ {selectedSlug && (+ <DocsToc headings={headings} contentRef={contentRef} />+ )}</div>- {selectedSlug && (- <DocsToc headings={headings} contentRef={contentRef} />- )}- </div>- </main>+ </main>+ </div><DocsSearchModalopen={searchOpen}