Dashboard: - Add Studio page with drag-drop model upload and Claude chat - Add intake system for study creation workflow - Improve session manager and context builder - Add intake API routes and frontend components Optimization Engine: - Add CLI module for command-line operations - Add intake module for study preprocessing - Add validation module with gate checks - Improve Zernike extractor documentation - Update spec models with better validation - Enhance solve_simulation robustness Documentation: - Add ATOMIZER_STUDIO.md planning doc - Add ATOMIZER_UX_SYSTEM.md for UX patterns - Update extractor library docs - Add study-readme-generator skill Tools: - Add test scripts for extraction validation - Add Zernike recentering test Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
56 lines
1.8 KiB
TypeScript
56 lines
1.8 KiB
TypeScript
import { BrowserRouter, Routes, Route } from 'react-router-dom';
|
|
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
|
|
import { StudyProvider } from './context/StudyContext';
|
|
import { MainLayout } from './components/layout/MainLayout';
|
|
import Home from './pages/Home';
|
|
import Setup from './pages/Setup';
|
|
import Dashboard from './pages/Dashboard';
|
|
import Analysis from './pages/Analysis';
|
|
import Insights from './pages/Insights';
|
|
import Results from './pages/Results';
|
|
import CanvasView from './pages/CanvasView';
|
|
import Studio from './pages/Studio';
|
|
|
|
const queryClient = new QueryClient({
|
|
defaultOptions: {
|
|
queries: {
|
|
staleTime: 5000,
|
|
refetchOnWindowFocus: false,
|
|
},
|
|
},
|
|
});
|
|
|
|
function App() {
|
|
return (
|
|
<QueryClientProvider client={queryClient}>
|
|
<StudyProvider>
|
|
<BrowserRouter>
|
|
<Routes>
|
|
{/* Home page - no sidebar layout */}
|
|
<Route path="/" element={<Home />} />
|
|
|
|
{/* Canvas page - full screen, no sidebar */}
|
|
<Route path="canvas" element={<CanvasView />} />
|
|
<Route path="canvas/*" element={<CanvasView />} />
|
|
|
|
{/* Studio - unified study creation environment */}
|
|
<Route path="studio" element={<Studio />} />
|
|
<Route path="studio/:draftId" element={<Studio />} />
|
|
|
|
{/* Study pages - with sidebar layout */}
|
|
<Route element={<MainLayout />}>
|
|
<Route path="setup" element={<Setup />} />
|
|
<Route path="dashboard" element={<Dashboard />} />
|
|
<Route path="analysis" element={<Analysis />} />
|
|
<Route path="insights" element={<Insights />} />
|
|
<Route path="results" element={<Results />} />
|
|
</Route>
|
|
</Routes>
|
|
</BrowserRouter>
|
|
</StudyProvider>
|
|
</QueryClientProvider>
|
|
);
|
|
}
|
|
|
|
export default App;
|