Fix sample flight: Replace BA1 with BA175 + Critical bug fixes - #7
Open
kush2shah wants to merge 2 commits into
Open
Fix sample flight: Replace BA1 with BA175 + Critical bug fixes#7kush2shah wants to merge 2 commits into
kush2shah wants to merge 2 commits into
Conversation
BA1 was returning position-only flights to Langley AFB instead of the expected LHR-JFK commercial service. BA175 is British Airways' actual daily transatlantic service. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
COORDINATE PARSING FIX: - Fixed regex pattern parsing that was treating DDMM coordinates as plain integers - Now properly parses both "0649N08043E" and "4100N/06000W" formats - Converts DDMM to decimal degrees: 0649 = 06°49' = 6.816° (not 649°) - Prevents MapKit crashes from invalid coordinates outside ±90°/±180° bounds COMPILATION FIXES: - Made destination field optional in AeroFlight model to handle position-only flights - Added filter to exclude flights without destinations from API responses - Updated all UI references to safely unwrap optional destinations - Prevents crashes from null destination fields in flight data 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
Sample Flight Fix
Critical Bug Fixes
Testing
🤖 Generated with Claude Code