feat: Dashboard improvements and configuration updates
Dashboard: - Enhanced terminal components (ClaudeTerminal, GlobalClaudeTerminal) - Improved MarkdownRenderer for better documentation display - Updated convergence plots (ConvergencePlot, PlotlyConvergencePlot) - Refined Home, Analysis, Dashboard, Setup, Results pages - Added StudyContext improvements - Updated vite.config for better dev experience Configuration: - Updated CLAUDE.md with latest instructions - Enhanced launch_dashboard.py - Updated config.py settings 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -58,7 +58,9 @@ export const StudyProvider: React.FC<{ children: ReactNode }> = ({ children }) =
|
||||
useEffect(() => {
|
||||
const init = async () => {
|
||||
try {
|
||||
console.log('[StudyContext] Fetching studies...');
|
||||
const response = await apiClient.getStudies();
|
||||
console.log('[StudyContext] Got studies:', response.studies.length, response.studies);
|
||||
setStudies(response.studies);
|
||||
|
||||
// Restore last selected study from localStorage
|
||||
@@ -70,8 +72,9 @@ export const StudyProvider: React.FC<{ children: ReactNode }> = ({ children }) =
|
||||
}
|
||||
}
|
||||
} catch (error) {
|
||||
console.error('Failed to initialize studies:', error);
|
||||
console.error('[StudyContext] Failed to initialize studies:', error);
|
||||
} finally {
|
||||
console.log('[StudyContext] Initialization complete, isLoading=false');
|
||||
setIsLoading(false);
|
||||
setIsInitialized(true); // Mark as initialized AFTER localStorage restoration
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user