Final project of the Computation Center! Build an advanced space mission dashboard that calculates flight parameters in real time, monitors critical systems, and automatically generates reports. You'll use computed properties for automatic calculations and watchers for reactive change monitoring.
In this module you learned:
{{ fuelStatus }}.immediate, deep, once. Watch on multiple sources simultaneously.onCleanup.Build a Mission Control Dashboard that includes:
Input data: velocity (km/s), distance to target (km), fuel consumption (liters/s), tank capacity (liters). Automatically calculate: estimated arrival time, total fuel consumption, remaining fuel percentage, mission status (NOMINAL/WARNING/CRITICAL).
Monitor engine temperature (input range 0-5000K). When it exceeds 3500K, display a "WARNING". When it exceeds 4500K, display "CRITICAL" and automatically reduce velocity. Save temperature change history (last 10 values).
Automatically generate a text report in a side panel that updates with every change in mission parameters. The report should include current velocity, temperature, fuel consumption, and estimated arrival time.
Add a "Monitoring ON/OFF" button that enables/disables the temperature watcher. When monitoring is off, temperature changes don't generate alarms. Use the
stop() function and watcher re-creation.Expand the starter below!