// frontend/src/shell/NavSessions.tsx import type { ReactNode } from "react"; import type { SessionSummary } from "../api/types"; interface Props { sessions: SessionSummary[]; activeSessionId: string | null; onOpenPanel: (id: string) => void; menuFor: (session: SessionSummary) => ReactNode; } export function NavSessions({ sessions, activeSessionId, onOpenPanel, menuFor }: Props) { if (sessions.length === 0) { return (

No sessions yet. Start with New session.

); } return ( ); }