Airport popup Relocate works for flying/repairing planes via queue (ISS-096, v0.49.0)
CI / build + unit + e2e (pull_request) Successful in 12m56s
CI / build + unit + e2e (pull_request) Successful in 12m56s
The airport popup's Relocate row now lists ALL planes instead of only grounded ones; the click handler picks the endpoint by the selected plane's current status — available → /fly (unchanged), flying/repairing → /queue so the destination is appended to the flight queue and chains on landing. No-planes fallback reworded to 'No planes to relocate.' E2E +1: relocation.spec.ts dispatches the starter on a leg via API, slows the sim to 1x, opens the popup for a different airport, selects the flying plane and clicks Relocate here — asserts the queue contains the clicked ICAO while the plane still flies its original destination.
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "flight-ops",
|
||||
"version": "0.48.0",
|
||||
"version": "0.49.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev -p 3000",
|
||||
|
||||
Reference in New Issue
Block a user