Commit Graph

9 Commits

Author SHA1 Message Date
root
61fae23ea2 Improve login verification and layout access handling
- Add login restriction detection for private layout URLs
- Implement re-authentication when layout access is denied
- Add proper login state management with flag updates
- Verify user login status before accessing layout URLs
- Add fallback to base chart when layout is not accessible
- Enhance error handling for login-protected layouts
- Ensure session persistence across layout navigation

This fixes the issue where layout URLs were failing due to insufficient login verification.
2025-07-09 15:03:38 +02:00
root
b50791421c Implement direct URL-based layout loading for TradingView
- Replace complex UI navigation with direct layout URLs
- Add LAYOUT_URLS mapping for 'ai' and 'Diy module' layouts
- Update capture() method to navigate directly to layout URLs
- Maintain fallback to menu navigation for layouts without direct URLs
- Improve reliability and speed of layout switching
- Add better error handling and debug logging for layout loading

This should resolve the issue where layouts weren't actually changing between screenshots.
2025-07-09 14:55:43 +02:00
root
b2d02cd716 Improve TradingView layout loading with better debugging and selection logic
- Added comprehensive layout menu item detection with multiple selectors
- Implemented debug screenshots for layout menu and after layout changes
- Added better error handling and logging for layout selection
- Improved text matching with exact and partial match strategies
- Added fallback comprehensive search with direct click functionality
- Fixed TypeScript issues with element handle clicking
2025-07-09 14:45:04 +02:00
root
06842efbbd feat: Add settings API endpoint
- Add GET endpoint to retrieve current settings
- Add POST endpoint to update settings
- Add PUT endpoint to update individual settings fields
2025-07-09 14:25:13 +02:00
root
3361359119 feat: Add persistent settings and multiple layouts support
- Add settings manager to persist symbol, timeframe, and layouts
- Support multiple layouts for comprehensive chart analysis
- Remove debug screenshots for cleaner logs
- Update AI analysis with professional trading prompt
- Add multi-screenshot analysis for better trading insights
- Update analyze API to use saved settings and multiple layouts
2025-07-09 14:24:48 +02:00
root
6a1a4576a9 feat: implement and type-safe DriftTradingService for Solana/Drift trading (Node 20+) 2025-07-09 10:47:47 +02:00
root
cfa6660abb Add Prisma schema, .env, and initial migration for trading bot database 2025-07-09 10:31:53 +02:00
root
51a728457a Initial Next.js 15 app setup with TypeScript, Tailwind, ESLint, Turbopack, and API support. Project ready for migration. 2025-07-09 10:27:02 +02:00
root
3cf31dc55f Initial commit from Create Next App 2025-07-09 10:24:30 +02:00