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
This commit is contained in:
Dobromir Popov
2025-07-02 01:57:07 +03:00
parent 6acc1c9296
commit 9639073a09
29 changed files with 35 additions and 28119 deletions

View File

@ -16,7 +16,7 @@
- If major refactoring is needed, discuss the approach first
## Dashboard Development Rules
- Focus on the main scalping dashboard (`web/scalping_dashboard.py`)
- Focus on the main clean dashboard (`web/clean_dashboard.py`)
- Do not create alternative dashboard implementations unless explicitly requested
- Fix issues in the existing codebase rather than creating workarounds
- Ensure all callback registrations are properly handled