feat: select departure and arrivial runways as part of a flight and fetch from flightdatabox#675
feat: select departure and arrivial runways as part of a flight and fetch from flightdatabox#675mhlas7 wants to merge 16 commits into
Conversation
…first boot and on manual refresh
… and edit flight modals
|
Label error. Requires exactly 1 of: changelog:.*. Found: Web |
…responding airport
… cause the application to crash
|
Will it be better to allow user to input runway other than the provided options for some exceptional case (e.g. database outdated). Also a manual input allowed without input airport may also be considerable for a higher flexibility. There's no (or not too many) harm to allow user doing this. |
… it can run inside a transaction
…one *before* reserving their codes
…nways keep their previous values Co-authored-by: macroscopeapp[bot] <170038800+macroscopeapp[bot]@users.noreply.github.com>
|
Rather than adding a dedicated modal for this, it might make sense to add to the existing Terminal & Gate modal. All three fields are about the airports, so a new title could be "Additional Airport Information" or something along those lines. Maybe just "Airport Details" would be enough. |
The best way to implement custom runways would be to do that through the custom airports modal in settings. I'll experiment with that although it may come out in a separate PR. |
Personally I like having a dedicated modal for this but I can see the benefit of consolidating. Ultimately, this decision would be up to @johanohly. |
I am worrying there might be ppl know which runway they are using but don’t know the airport. I have a similar issue when dealing with my.flightradar24 but luckily they don’t have limitation on that two specific field (I forgot what they were). That’s why partially decomposing airport and runway (allow customize when airport omitted, or even when provided) can be a considerable idea. |
The origin and destination airports are required fields in AirTrail so it is not possible to add a flight to AirTrail that only has runway numbers. |
|
|
First off, no need to apologize for the PRs. I do appreciate you taking the initiative! |
|
Understood. I have a few ideas how we could do this differently. I'll turn this into a draft and put together a design for your feedback! |



#648
@johanohly sorry about all of the PR's from me lately. I have a few weeks off between jobs and a bunch of ideas for AirTrail!
Changes
Screenshots
New button in the route add and edit modal
The runways modal with runways selected
Runways modal with the list of filtered runways for KSEA
When no airports are selected, a status message shows
Note
Add departure and arrival runway selection to flights with data sourced from OurAirports and AeroDataBox
runwaytable and links flights to specific runways and runway ends via new nullable foreign key columns, with referential integrity enforced by the database.FlightRunwayModalcomponent in the add/edit flight forms, letting users select departure and arrival runway ends based on the flight's chosen airports.Macroscope summarized 9faddba.