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:
18
.vscode/launch.json
vendored
18
.vscode/launch.json
vendored
@ -172,6 +172,24 @@
|
||||
"group": "Universal Data Stream",
|
||||
"order": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "🎨 Templated Dashboard (MVC Architecture)",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"program": "run_templated_dashboard.py",
|
||||
"console": "integratedTerminal",
|
||||
"justMyCode": false,
|
||||
"env": {
|
||||
"PYTHONUNBUFFERED": "1",
|
||||
"DASHBOARD_PORT": "8051"
|
||||
},
|
||||
"preLaunchTask": "Kill Stale Processes",
|
||||
"presentation": {
|
||||
"hidden": false,
|
||||
"group": "Universal Data Stream",
|
||||
"order": 2
|
||||
}
|
||||
}
|
||||
|
||||
],
|
||||
|
Reference in New Issue
Block a user