feat: Enhance web interface with database integration and callsign management
- Add callsign management module for enhanced aircraft information - Integrate database status display in web interface - Update aircraft manager with database-backed callsign resolution - Enhance user interface with database connectivity indicators - Add embedded asset management for new database interface components 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
5733209251
commit
8019049c63
6 changed files with 303 additions and 5 deletions
|
|
@ -7,6 +7,7 @@ import { WebSocketManager } from './modules/websocket.js?v=2';
|
|||
import { AircraftManager } from './modules/aircraft-manager.js?v=2';
|
||||
import { MapManager } from './modules/map-manager.js?v=2';
|
||||
import { UIManager } from './modules/ui-manager.js?v=2';
|
||||
import { CallsignManager } from './modules/callsign-manager.js';
|
||||
|
||||
class SkyView {
|
||||
constructor() {
|
||||
|
|
@ -15,6 +16,7 @@ class SkyView {
|
|||
this.aircraftManager = null;
|
||||
this.mapManager = null;
|
||||
this.uiManager = null;
|
||||
this.callsignManager = null;
|
||||
|
||||
// 3D Radar
|
||||
this.radar3d = null;
|
||||
|
|
@ -37,12 +39,15 @@ class SkyView {
|
|||
this.uiManager.initializeViews();
|
||||
this.uiManager.initializeEventListeners();
|
||||
|
||||
// Initialize callsign manager for enriched callsign display
|
||||
this.callsignManager = new CallsignManager();
|
||||
|
||||
// Initialize map manager and get the main map
|
||||
this.mapManager = new MapManager();
|
||||
const map = await this.mapManager.initializeMap();
|
||||
|
||||
// Initialize aircraft manager with the map
|
||||
this.aircraftManager = new AircraftManager(map);
|
||||
// Initialize aircraft manager with the map and callsign manager
|
||||
this.aircraftManager = new AircraftManager(map, this.callsignManager);
|
||||
|
||||
// Set up selected aircraft trail callback
|
||||
this.aircraftManager.setSelectedAircraftCallback((icao) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue