d639cdef15
Adds a "Import CSV…" entry to the History tab's + menu, opening a
file picker → preview → save flow.
- CSVFlightImporter: RFC-4180-ish quote-aware parser + format
detection. Today only recognizes the Southwest PNR export schema
(columns Flt No / ORG / DST / Dep Date / OPNG Flt). Returns
ParsedFlight values with carrier, flight number, route, and
scheduled departure.
- ImportCSVView: SwiftUI .fileImporter picks a CSV from Files (iCloud
Drive / On My iPhone / etc.), parses on a Task, dedupes against
the existing log via FlightHistoryStore.exists(...), shows a
preview with "N new · M dupes" counts, imports on confirm.
- LoggedFlights created from import store the PNR in notes
("PNR: ABC123") and source "csv-import".
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>