diff --git a/ui/homepage/app/components/insight/layout/WorkspaceHeader.tsx b/ui/homepage/app/components/insight/layout/WorkspaceHeader.tsx index a50b890..86cdc8e 100644 --- a/ui/homepage/app/components/insight/layout/WorkspaceHeader.tsx +++ b/ui/homepage/app/components/insight/layout/WorkspaceHeader.tsx @@ -11,6 +11,7 @@ interface WorkspaceHeaderProps { onResetLayout: () => void layoutDirty: boolean statusMessage?: string | null + showBreadcrumb?: boolean } export function WorkspaceHeader({ @@ -20,13 +21,18 @@ export function WorkspaceHeader({ onSaveLayout, onResetLayout, layoutDirty, - statusMessage + statusMessage, + showBreadcrumb = true }: WorkspaceHeaderProps) { return (
- + {showBreadcrumb ? ( + + ) : ( +

Workspace controls

+ )}

Drag any panel handle to reorganize the workspace. Saved layouts stay local to your browser.

diff --git a/ui/homepage/app/insight/page.tsx b/ui/homepage/app/insight/page.tsx index 5c64777..d3cf022 100644 --- a/ui/homepage/app/insight/page.tsx +++ b/ui/homepage/app/insight/page.tsx @@ -5,6 +5,7 @@ import type { Layout } from 'react-grid-layout' import { ChevronLeft, ChevronRight, PanelLeftOpen } from 'lucide-react' import { Sidebar } from '../components/insight/layout/Sidebar' import { WorkspaceHeader } from '../components/insight/layout/WorkspaceHeader' +import { BreadcrumbBar } from '../components/insight/layout/BreadcrumbBar' import { WorkspaceGrid } from '../components/insight/layout/WorkspaceGrid' import { NetworkTopologyPanel } from '../components/insight/topology/NetworkTopologyPanel' import { ExploreBuilder, languageMeta } from '../components/insight/explore/ExploreBuilder' @@ -198,12 +199,10 @@ export default function InsightWorkbench() { explorerPanels('traceql') ] - const layoutColumns = detailsCollapsed - ? 'lg:grid-cols-[minmax(0,1fr)_220px]' - : 'lg:grid-cols-[minmax(0,2.4fr)_minmax(0,1fr)]' + const insightAsideWidth = detailsCollapsed ? 'lg:w-60 xl:w-64' : 'lg:w-80 xl:w-96' return ( -
+
{sidebarHidden && ( -
- {detailsCollapsed ? ( -
-

Key health metrics

-

Pinned while the panel is collapsed for quick status checks.

-
- {keyMetrics.map(metric => ( -
-

{metric.label}

-

{metric.value}

-

- {metric.trend} -

-
- ))} -
-
- ) : ( -
-
- -
-
- -
-
- )} - +
+ updateState({ topologyMode: mode })} + onToggleLanguage={toggleLanguage} + onToggleCollapse={() => setSidebarCollapsed(prev => !prev)} + onHide={() => setSidebarHidden(true)} + collapsed={sidebarCollapsed} + />
- + )} +
+
+
+
+ +
+ +
+
+ +
+
+ +
+
+
)