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(ui): center George Voice section tabs
rubenluetke10-beep1e215bf67031
diff --git a/jarvis/ui/web/frontend/src/components/layout/SectionTabBar.tsx b/jarvis/ui/web/frontend/src/components/layout/SectionTabBar.tsxindex d7e8a3b77a..c6d3af84df 100644--- a/jarvis/ui/web/frontend/src/components/layout/SectionTabBar.tsx+++ b/jarvis/ui/web/frontend/src/components/layout/SectionTabBar.tsx@@ -18,7 +18,15 @@ export interface SectionTab {* `useState`), so a Preview / Files / Run switch inside one view draws the* same bar as the section switch above it.*/-export function SectionTabBar({ tabs }: { tabs: readonly SectionTab[] }) {+export function SectionTabBar({+ tabs,+ align = "start",+ className,+}: {+ tabs: readonly SectionTab[];+ align?: "start" | "center";+ className?: string;+}) {const t = useT();const active = useEventStore((s) => s.activeSection);const setActive = useEventStore((s) => s.setActiveSection);@@ -28,6 +36,8 @@ export function SectionTabBar({ tabs }: { tabs: readonly SectionTab[] }) {tabs={tabs.map((tab) => ({ id: tab.id, label: t(tab.labelKey) }))}active={active}onChange={(id) => setActive(id as SectionId)}+ align={align}+ className={className}/>);}@@ -44,14 +54,22 @@ export function TabBar({active,onChange,className,+ align = "start",}: {tabs: readonly TabBarItem[];active: string;onChange: (id: string) => void;className?: string;+ align?: "start" | "center";}) {return (- <div className={cn("flex items-center gap-6 border-b border-border", className)}>+ <div+ className={cn(+ "flex items-center gap-6 border-b border-border",+ align === "center" ? "justify-center" : "justify-start",+ className,+ )}+ >{tabs.map((tab) => {const isActive = active === tab.id;return (diff --git a/jarvis/ui/web/frontend/src/views/VoiceHubView.tsx b/jarvis/ui/web/frontend/src/views/VoiceHubView.tsxindex 6540ba7edb..1a8f7a5b22 100644--- a/jarvis/ui/web/frontend/src/views/VoiceHubView.tsx+++ b/jarvis/ui/web/frontend/src/views/VoiceHubView.tsx@@ -58,7 +58,7 @@ export function VoiceHubView() {title={t("nav.voice")}subtitle={t("voice.hub.subtitle")}/>- <SectionTabBar tabs={TABS} />+ <SectionTabBar tabs={TABS} align="center" />{/* min-h-0 is load-bearing: without it a flex child with its ownscroll container grows past the viewport instead of scrolling. */}<div className="min-h-0 flex-1 overflow-hidden">