{selectedStudyId}
{studyMetadata?.description && ({studyMetadata.description}
)} > )}import { useState, useEffect, lazy, Suspense, useRef } from 'react'; import { useNavigate } from 'react-router-dom'; import { Settings } from 'lucide-react'; import { useOptimizationWebSocket } from '../hooks/useWebSocket'; import { useNotifications, formatOptimizationNotification } from '../hooks/useNotifications'; import { apiClient } from '../api/client'; import { useStudy } from '../context/StudyContext'; import { Card } from '../components/common/Card'; import { ControlPanel } from '../components/dashboard/ControlPanel'; import { NotificationSettings } from '../components/NotificationSettings'; import { ConfigEditor } from '../components/ConfigEditor'; import { ParetoPlot } from '../components/ParetoPlot'; import { ParallelCoordinatesPlot } from '../components/ParallelCoordinatesPlot'; import { ParameterImportanceChart } from '../components/ParameterImportanceChart'; import { ConvergencePlot } from '../components/ConvergencePlot'; import { StudyReportViewer } from '../components/StudyReportViewer'; import { ConsoleOutput } from '../components/ConsoleOutput'; import { ZernikeButton } from '../components/ZernikeViewer'; import { ExpandableChart } from '../components/ExpandableChart'; import { CurrentTrialPanel, OptimizerStatePanel } from '../components/tracker'; import { NivoParallelCoordinates } from '../components/charts'; import type { Trial } from '../types'; // Lazy load Plotly components for better initial load performance const PlotlyParallelCoordinates = lazy(() => import('../components/plotly/PlotlyParallelCoordinates').then(m => ({ default: m.PlotlyParallelCoordinates }))); const PlotlyParetoPlot = lazy(() => import('../components/plotly/PlotlyParetoPlot').then(m => ({ default: m.PlotlyParetoPlot }))); const PlotlyConvergencePlot = lazy(() => import('../components/plotly/PlotlyConvergencePlot').then(m => ({ default: m.PlotlyConvergencePlot }))); const PlotlyParameterImportance = lazy(() => import('../components/plotly/PlotlyParameterImportance').then(m => ({ default: m.PlotlyParameterImportance }))); // Loading placeholder for lazy components const ChartLoading = () => (
Loading study...
No study selected
Real-time optimization monitoring
{studyMetadata.description}
)} > )}
{JSON.stringify(trial.user_attrs, null, 2)}