{"action":"created","issue":{"url":"https://api.github.com/repos/airmanopus/drivinandflyin/issues/56","labels_url":"https://api.github.com/repos/airmanopus/drivinandflyin/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/airmanopus/drivinandflyin/issues/56/comments","events_url":"https://api.github.com/repos/airmanopus/drivinandflyin/issues/56/events","html_url":"https://github.com/airmanopus/drivinandflyin/issues/56","id":72767864,"number":56,"title":"Sort arrival and departure listings - and possibly a rework needed","user":{"login":"airmanopus","id":1474613,"avatar_url":"https://avatars.githubusercontent.com/u/1474613?v=3","gravatar_id":"","url":"https://api.github.com/users/airmanopus","html_url":"https://github.com/airmanopus","followers_url":"https://api.github.com/users/airmanopus/followers","following_url":"https://api.github.com/users/airmanopus/following{/other_user}","gists_url":"https://api.github.com/users/airmanopus/gists{/gist_id}","starred_url":"https://api.github.com/users/airmanopus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airmanopus/subscriptions","organizations_url":"https://api.github.com/users/airmanopus/orgs","repos_url":"https://api.github.com/users/airmanopus/repos","events_url":"https://api.github.com/users/airmanopus/events{/privacy}","received_events_url":"https://api.github.com/users/airmanopus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/airmanopus/drivinandflyin/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/airmanopus/drivinandflyin/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"airmanopus","id":1474613,"avatar_url":"https://avatars.githubusercontent.com/u/1474613?v=3","gravatar_id":"","url":"https://api.github.com/users/airmanopus","html_url":"https://github.com/airmanopus","followers_url":"https://api.github.com/users/airmanopus/followers","following_url":"https://api.github.com/users/airmanopus/following{/other_user}","gists_url":"https://api.github.com/users/airmanopus/gists{/gist_id}","starred_url":"https://api.github.com/users/airmanopus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airmanopus/subscriptions","organizations_url":"https://api.github.com/users/airmanopus/orgs","repos_url":"https://api.github.com/users/airmanopus/repos","events_url":"https://api.github.com/users/airmanopus/events{/privacy}","received_events_url":"https://api.github.com/users/airmanopus/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/airmanopus/drivinandflyin/milestones/3","html_url":"https://github.com/airmanopus/drivinandflyin/milestones/0.3.0","labels_url":"https://api.github.com/repos/airmanopus/drivinandflyin/milestones/3/labels","id":987911,"number":3,"title":"0.3.0","description":"","creator":{"login":"airmanopus","id":1474613,"avatar_url":"https://avatars.githubusercontent.com/u/1474613?v=3","gravatar_id":"","url":"https://api.github.com/users/airmanopus","html_url":"https://github.com/airmanopus","followers_url":"https://api.github.com/users/airmanopus/followers","following_url":"https://api.github.com/users/airmanopus/following{/other_user}","gists_url":"https://api.github.com/users/airmanopus/gists{/gist_id}","starred_url":"https://api.github.com/users/airmanopus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airmanopus/subscriptions","organizations_url":"https://api.github.com/users/airmanopus/orgs","repos_url":"https://api.github.com/users/airmanopus/repos","events_url":"https://api.github.com/users/airmanopus/events{/privacy}","received_events_url":"https://api.github.com/users/airmanopus/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":6,"state":"open","created_at":"2015-02-20T06:37:21Z","updated_at":"2015-05-18T17:18:04Z","due_on":"2015-05-31T05:00:00Z","closed_at":null},"comments":1,"created_at":"2015-05-03T07:53:17Z","updated_at":"2015-05-18T17:19:09Z","closed_at":null,"body":"Right now, we just display the arrivals and departures as we get them from FlightStats, but as we're displaying more flights (see issue #55) the lists can be quite long and there's no quick way to find a flight beyond scrolling through the list until you find the flight.\r\n\r\nThis also presents a (much) larger design question, in that the updateArrivals() and updateDepartures() functions are really the same code with slight contextual differences in how each flight gets displayed. The data is also the same (again, contextually different arrivals vs departures but it's the same basic API request), so it makes sense to do the Right Thing(tm) and rework updateArrivals() and updateDepartures() to create and deal with an individual flight as an *object*, and then deal with the flight objects in data structures that lend themselves to things like being quickly sorted instead of the very hackish way I'm dealing with them now.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/airmanopus/drivinandflyin/issues/comments/103139809","html_url":"https://github.com/airmanopus/drivinandflyin/issues/56#issuecomment-103139809","issue_url":"https://api.github.com/repos/airmanopus/drivinandflyin/issues/56","id":103139809,"user":{"login":"airmanopus","id":1474613,"avatar_url":"https://avatars.githubusercontent.com/u/1474613?v=3","gravatar_id":"","url":"https://api.github.com/users/airmanopus","html_url":"https://github.com/airmanopus","followers_url":"https://api.github.com/users/airmanopus/followers","following_url":"https://api.github.com/users/airmanopus/following{/other_user}","gists_url":"https://api.github.com/users/airmanopus/gists{/gist_id}","starred_url":"https://api.github.com/users/airmanopus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airmanopus/subscriptions","organizations_url":"https://api.github.com/users/airmanopus/orgs","repos_url":"https://api.github.com/users/airmanopus/repos","events_url":"https://api.github.com/users/airmanopus/events{/privacy}","received_events_url":"https://api.github.com/users/airmanopus/received_events","type":"User","site_admin":false},"created_at":"2015-05-18T17:19:09Z","updated_at":"2015-05-18T17:19:09Z","body":"This is most likely going to be moved back to https://github.com/airmanopus/drivinandflyin/milestones/v0.4.0"}}