feat: Add Insights tab to dashboard for physics visualizations

Dashboard integration for Study Insights module (SYS_16):
- Backend: New /api/insights/ routes for generating and viewing insights
- Frontend: New Insights.tsx page with Plotly visualization
- Navigation: Added Insights tab between Analysis and Results

Available insight types:
- Zernike WFE (wavefront error for mirrors)
- Stress Field (Von Mises stress contours)
- Modal Analysis (natural frequencies/mode shapes)
- Thermal Field (temperature distribution)
- Design Space (parameter-objective exploration)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-21 13:28:51 -05:00
parent 9aa5f6eb8c
commit d089003ced
5 changed files with 680 additions and 2 deletions

View File

@@ -11,7 +11,8 @@ import {
CheckCircle,
Clock,
Zap,
Terminal
Terminal,
Eye
} from 'lucide-react';
import clsx from 'clsx';
import { useStudy } from '../../context/StudyContext';
@@ -63,6 +64,7 @@ export const Sidebar = () => {
{ to: '/setup', icon: Settings, label: 'Setup' },
{ to: '/dashboard', icon: Activity, label: 'Live Tracker' },
{ to: '/analysis', icon: TrendingUp, label: 'Analysis' },
{ to: '/insights', icon: Eye, label: 'Insights' },
{ to: '/results', icon: FileText, label: 'Results' },
]
: [