Queue UI fixes: grayed duplicate routes, hover trace from landing airport, grounded queue lines (ISS-077, v0.41.0) #84

Merged
kamilkrzywda merged 1 commits from feat/queue-ui-fixes into master 2026-09-21 15:44:01 +02:00
Owner

Fixes #77

All three sub-items of the queue UI issue:

Grayed-out duplicate routes. The on-board "Fly to …" button and the Relocate GO are now disabled (with a hint) when the click would hit the server's 409 "{ICAO} is already in the flight queue"; already-active/queued airports also render as disabled options in the relocate select. Server-side guards untouched.

Hover trace from the landing airport. Hovering an on-board parcel while its carrier is mid-flight now draws the dotted trace from the leg's landing airport, not the plane's live position (grounded carriers keep today's behavior). A package destined at the active leg's destination draws no extra line — the solid active leg already covers it.

Entire queue as dotted lines. queuedRoutesGeoJson now also draws grounded planes' pre-built queues (location → queue[0] → …); flying planes are unchanged. New unit pins for the grounded chain, unknown-first-point skip and repairing no-draw; e2e gains a grounded-queue map test and the mid-flight hover spec was reworked to pin the landing-airport start.

Fixes #77 All three sub-items of the queue UI issue: **Grayed-out duplicate routes.** The on-board "Fly to …" button and the Relocate GO are now disabled (with a hint) when the click would hit the server's 409 "{ICAO} is already in the flight queue"; already-active/queued airports also render as disabled options in the relocate select. Server-side guards untouched. **Hover trace from the landing airport.** Hovering an on-board parcel while its carrier is mid-flight now draws the dotted trace from the leg's **landing airport**, not the plane's live position (grounded carriers keep today's behavior). A package destined at the active leg's destination draws no extra line — the solid active leg already covers it. **Entire queue as dotted lines.** `queuedRoutesGeoJson` now also draws grounded planes' pre-built queues (location → queue[0] → …); flying planes are unchanged. New unit pins for the grounded chain, unknown-first-point skip and repairing no-draw; e2e gains a grounded-queue map test and the mid-flight hover spec was reworked to pin the landing-airport start.
kamilkrzywda added 1 commit 2026-09-21 15:34:47 +02:00
kamilkrzywda scheduled this pull request to auto merge when all checks succeed 2026-09-21 15:35:47 +02:00
kamilkrzywda merged commit b2d03846f5 into master 2026-09-21 15:44:01 +02:00
Sign in to join this conversation.