import type { TguPlanUi, TguPlatformUi } from "../../model/timelineTypes"; import { formatDateTime } from "./editorPresentation"; type EditorRailProps = { selectedSpacecraftId?: string; selectedPlan?: TguPlanUi; platforms: TguPlatformUi[]; surveyCount: number; downlinkCount: number; conflictCount: number; contextSpacecraftIds: Set; onToggleContext: (spacecraftId: string) => void; }; export function EditorRail({ selectedSpacecraftId, selectedPlan, platforms, surveyCount, downlinkCount, conflictCount, contextSpacecraftIds, onToggleContext }: EditorRailProps) { const currentPlatform = platforms.find((platform) => platform.spacecraftId === selectedSpacecraftId); const contextPlatforms = platforms.filter((platform) => platform.spacecraftId !== selectedSpacecraftId).slice(0, 40); return ( ); } function RailStat({ label, value, color }: { label: string; value: number; color?: string }) { return (
{value} {label}
); }