|
9639073a09
|
Clean up duplicate dashboard implementations and unused files
REMOVED DUPLICATES:
- web/dashboard.py (533KB, 10474 lines) - Legacy massive file
- web/dashboard_backup.py (504KB, 10022 lines) - Backup copy
- web/temp_dashboard.py (132KB, 2577 lines) - Temporary file
- web/scalping_dashboard.py (146KB, 2812 lines) - Duplicate functionality
- web/enhanced_scalping_dashboard.py (65KB, 1407 lines) - Duplicate functionality
REMOVED RUN SCRIPTS:
- run_dashboard.py - Pointed to deleted legacy dashboard
- run_enhanced_scalping_dashboard.py - For deleted dashboard
- run_cob_dashboard.py - Simple duplicate
- run_fixed_dashboard.py - Temporary fix
- run_main_dashboard.py - Duplicate functionality
- run_enhanced_system.py - Commented out file
- simple_cob_dashboard.py - Integrated into main dashboards
- simple_dashboard_fix.py - Temporary fix
- start_enhanced_dashboard.py - Empty file
UPDATED REFERENCES:
- Fixed imports in test files to use clean_dashboard
- Updated .cursorrules to reference clean_dashboard
- Updated launch.json with templated dashboard config
- Fixed broken import references
RESULTS:
- Removed ~1.4GB of duplicate dashboard code
- Removed 8 duplicate run scripts
- Kept essential: clean_dashboard.py, templated_dashboard.py, run_clean_dashboard.py
- All launch configurations still work
- Project is now slim and maintainable
|
2025-07-02 01:57:07 +03:00 |
|