Clean up excessive console logging and remove duplicate app files

- Remove verbose console.log statements from WebSocket, map, and aircraft managers
- Keep essential error messages and warnings for debugging
- Consolidate app-new.js into app.js to eliminate confusing duplicate files
- Update HTML reference to use clean app.js with incremented cache version
- Significantly reduce console noise for better user experience

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Ole-Morten Duesund 2025-08-24 14:55:54 +02:00
commit 776cef1185
7 changed files with 174 additions and 1415 deletions

View file

@ -32,7 +32,6 @@ export class MapManager {
// Store origin for reset functionality
this.mapOrigin = origin;
console.log(`🗺️ Map origin: [${origin.latitude}, ${origin.longitude}]`);
this.map = L.map('map').setView([origin.latitude, origin.longitude], 10);
// Dark tile layer
@ -42,7 +41,6 @@ export class MapManager {
maxZoom: 19
}).addTo(this.map);
console.log('Main map initialized');
return this.map;
}
@ -307,7 +305,6 @@ export class MapManager {
createHeatmapOverlay(data) {
// Simplified heatmap implementation
// In production, would use proper heatmap library like Leaflet.heat
console.log('Creating heatmap overlay with data:', data);
}
setSelectedSource(sourceId) {