import React from 'react'; import { ChartPanel, TerminalPanel } from './DashboardPanels'; interface InstrumentCardProps { jobId: string | null; jobStatus: any; logs: string[]; metrics: { epoch: number; loss: number; accuracy: number; val_loss?: number; val_accuracy?: number }[]; isPolling: boolean; isLoading: boolean; startJob: (params: any) => void; stopJob: () => void; freeze: () => void; resume: () => void; clearLogs: () => void; exportLogs: () => void; exportMetrics: () => void; setJobId: (id: string | null) => void; advisorParams?: any; onStartAdvisorTraining?: (params: any) => void; } const InstrumentCard: React.FC = ({ jobId, jobStatus, logs, metrics, isPolling, isLoading, startJob, stopJob, freeze, resume, clearLogs, exportLogs, exportMetrics, setJobId, advisorParams, onStartAdvisorTraining }) => { return (
{/* Grid Overlay */}
{/* ChartPanel with config button slot */}
{/* Config button will be rendered here by parent via portal or prop */} {/* Placeholder for config button */}
); }; export default InstrumentCard;