feat: Add Protocol 13 adaptive optimization, Plotly charts, and dashboard improvements
## Protocol 13: Adaptive Multi-Objective Optimization - Iterative FEA + Neural Network surrogate workflow - Initial FEA sampling, NN training, NN-accelerated search - FEA validation of top NN predictions, retraining loop - adaptive_state.json tracks iteration history and best values - M1 mirror study (V11) with 103 FEA, 3000 NN trials ## Dashboard Visualization Enhancements - Added Plotly.js interactive charts (parallel coords, Pareto, convergence) - Lazy loading with React.lazy() for performance - Code splitting: plotly.js-basic-dist (~1MB vs 3.5MB) - Chart library toggle (Recharts default, Plotly on-demand) - ExpandableChart component for full-screen modal views - ConsoleOutput component for real-time log viewing ## Documentation - Protocol 13 detailed documentation - Dashboard visualization guide - Plotly components README - Updated run-optimization skill with Mode 5 (adaptive) ## Bug Fixes - Fixed TypeScript errors in dashboard components - Fixed Card component to accept ReactNode title - Removed unused imports across components 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -16,5 +16,29 @@ export default defineConfig({
|
||||
ws: true,
|
||||
}
|
||||
}
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
// Use the smaller basic Plotly distribution
|
||||
'plotly.js/dist/plotly': 'plotly.js-basic-dist'
|
||||
}
|
||||
},
|
||||
build: {
|
||||
rollupOptions: {
|
||||
output: {
|
||||
manualChunks: {
|
||||
// Separate Plotly into its own chunk for better caching
|
||||
plotly: ['plotly.js-basic-dist', 'react-plotly.js'],
|
||||
// Separate React and core libs
|
||||
vendor: ['react', 'react-dom', 'react-router-dom'],
|
||||
// Recharts in its own chunk
|
||||
recharts: ['recharts']
|
||||
}
|
||||
}
|
||||
},
|
||||
chunkSizeWarningLimit: 600
|
||||
},
|
||||
optimizeDeps: {
|
||||
include: ['plotly.js-basic-dist']
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user