import { type JSX, Show } from "solid-js"; import { CONFIG } from "../../config"; import { activeView, type View } from "../../view"; interface TopBarProps { onMenuToggle: () => void; } const TITLES: Record = { operations: "Operations", activity: "Activity", triage: "Triage", }; function MenuIcon(): JSX.Element { return ( ); } export function TopBar(props: TopBarProps): JSX.Element { return (

{TITLES[activeView()]}

{/* View-contextual slot. Operations → read-only/replay chip. Sync + vitals live in the rail. */} read-only · replay off} > replay on
); }