Ticket #33
Airline enrichment at add-time — look up IATA, ICAO, country, callsign
closed
task
normal
-
2026-05-22T03:32:51Z
2026-05-27 14:47:14
Description
When adding a new airline, auto-look up its IATA code, ICAO code, country, and radio callsign from a reference source. Present for confirmation before saving. Reduces manual data entry and improves data quality.
Ticket Events
-
comment
—
Built. utils/airline_enrichment.py fetches OpenFlights airlines.dat (cached locally in app_data/ with 30-day TTL, no API key required). GET /airlines/lookup?q=<name> returns up to 5 JSON matches ranked by exact/prefix/contains with active airlines preferred. add_airline.html updated with IATA/ICAO/Callsign/Country fields and JS lookup button — user types name, clicks Look up, matching suggestions populate fields (or a single match auto-applies). All fields are editable before saving. Route updated to INSERT all five fields.
2026-05-27 14:47:15
-
status_change
—
closed
2026-05-27 14:47:15
Add Comment