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:
@@ -12,7 +12,7 @@ import sys
|
||||
# Add parent directory to path to import optimization_engine
|
||||
sys.path.append(str(Path(__file__).parent.parent.parent.parent))
|
||||
|
||||
from api.routes import optimization, claude, terminal
|
||||
from api.routes import optimization, claude, terminal, insights
|
||||
from api.websocket import optimization_stream
|
||||
|
||||
# Create FastAPI app
|
||||
@@ -36,6 +36,7 @@ app.include_router(optimization.router, prefix="/api/optimization", tags=["optim
|
||||
app.include_router(optimization_stream.router, prefix="/api/ws", tags=["websocket"])
|
||||
app.include_router(claude.router, prefix="/api/claude", tags=["claude"])
|
||||
app.include_router(terminal.router, prefix="/api/terminal", tags=["terminal"])
|
||||
app.include_router(insights.router, prefix="/api/insights", tags=["insights"])
|
||||
|
||||
@app.get("/")
|
||||
async def root():
|
||||
|
||||
Reference in New Issue
Block a user