Ashutosh1975270's picture
feat: simplify graph visualization to 3D only, implement 3D camera controls, and persist document states globally
678f5a2
Raw
History Blame Contribute Delete
611 Bytes
import { Sidebar } from './Sidebar';
import { TopBar } from './TopBar';
import { useDocumentPolling } from '@/hooks/useDocumentPolling';
export function DashboardLayout({ children }: { children: React.ReactNode }) {
useDocumentPolling(); // Poll documents globally to keep Query page select boxes in sync
return (
<div className="flex h-screen overflow-hidden bg-bg-base">
<Sidebar />
<div className="flex min-w-0 flex-1 flex-col">
<TopBar title="GraphRAG Knowledge AI" />
<main className="min-h-0 flex-1 overflow-hidden">{children}</main>
</div>
</div>
);
}