✅ Restore working dashboard and TradingView analysis
- Fixed layout conflicts by removing minimal layout.tsx in favor of complete layout.js - Restored original AI Analysis page with full TradingView integration - Connected enhanced screenshot API to real TradingView automation service - Fixed screenshot gallery to handle both string and object formats - Added image serving API route for screenshot display - Resolved hydration mismatch issues with suppressHydrationWarning - All navigation pages working (Analysis, Trading, Automation, Settings) - TradingView automation successfully capturing screenshots from AI and DIY layouts - Docker Compose v2 compatibility ensured Working features: - Homepage with hero section and status cards - Navigation menu with Trading Bot branding - Real TradingView screenshot capture - AI-powered chart analysis - Multi-layout support (AI + DIY module) - Screenshot gallery with image serving - API endpoints for balance, status, screenshots, trading
This commit is contained in:
@@ -69,8 +69,8 @@ export default function Dashboard() {
|
||||
})
|
||||
}
|
||||
} else {
|
||||
// API failed - set empty state
|
||||
setError('Failed to connect to Drift')
|
||||
// API failed - set empty state and show helpful message
|
||||
setError('Failed to connect to Drift. Your account may not be initialized. Visit app.drift.trade to create your account.')
|
||||
setPositions([])
|
||||
setStats({
|
||||
totalPnL: 0,
|
||||
|
||||
Reference in New Issue
Block a user