{"action":"opened","number":380,"pull_request":{"url":"https://api.github.com/repos/StoDevX/AAO-React-Native/pulls/380","id":95522923,"html_url":"https://github.com/StoDevX/AAO-React-Native/pull/380","diff_url":"https://github.com/StoDevX/AAO-React-Native/pull/380.diff","patch_url":"https://github.com/StoDevX/AAO-React-Native/pull/380.patch","issue_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/issues/380","number":380,"state":"open","locked":false,"title":"Tweaks","user":{"login":"hawkrives","id":464441,"avatar_url":"https://avatars.githubusercontent.com/u/464441?v=3","gravatar_id":"","url":"https://api.github.com/users/hawkrives","html_url":"https://github.com/hawkrives","followers_url":"https://api.github.com/users/hawkrives/followers","following_url":"https://api.github.com/users/hawkrives/following{/other_user}","gists_url":"https://api.github.com/users/hawkrives/gists{/gist_id}","starred_url":"https://api.github.com/users/hawkrives/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hawkrives/subscriptions","organizations_url":"https://api.github.com/users/hawkrives/orgs","repos_url":"https://api.github.com/users/hawkrives/repos","events_url":"https://api.github.com/users/hawkrives/events{/privacy}","received_events_url":"https://api.github.com/users/hawkrives/received_events","type":"User","site_admin":false},"body":"This PR does a bunch of things, but I really don't want to make separate PRs for each one.\r\n\r\n# Fix Bus View\r\nThere was a bug in the BusView that would result in the code using the \"last bus of the day\" logic during the period between routes.\r\n\r\nFor instance, between 8:12pm and 8:15pm, it would say \"Last Route\", instead of the correct status of having three laps left.\r\n\r\nThis fixes that.\r\n\r\n\r\n## Fix Flow\r\nWith this PR, there are 0 flow errors.\r\n\r\n```console\r\n$ flow\r\n\r\n> AllAboutOlaf@2.0.1 flow /Users/hawken/AAO-React-Native\r\n> flow\r\n\r\nNo errors!\r\n```\r\n\r\nThis means that we can actually enable Flow on Travis and enfore type correctness. :soon:\r\n\r\n\r\n## Fix Eslint Warnings\r\nWith this PR, there are no more lint warnings.\r\n\r\n```console\r\n$ npm run lint\r\n\r\n> AllAboutOlaf@2.0.1 lint /Users/hawken/AAO-React-Native\r\n> eslint app.js index.*.js lib/ views/\r\n\r\n```\r\n\r\n\r\n## Others\r\n- I made a `<Separator />` component, for rendering separators between items in ListViews.\r\n- I reworked the Settings button in app.js to remove the need for a global variable\r\n\t- This also allows other views to create from-bottom views with custom logic to dismiss themselves, by simply adding an `onDismiss` function to the object they push to the navigator.\r\n","created_at":"2016-11-28T15:47:18Z","updated_at":"2016-11-28T15:47:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d5145c189096b9985dd07b197876c24720fda5fc","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/pulls/380/commits","review_comments_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/pulls/380/comments","review_comment_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/pulls/comments{/number}","comments_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/issues/380/comments","statuses_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/statuses/2a25d59323cc9e44347f347772ccbbaf6cc7bbfd","head":{"label":"StoDevX:tweaks","ref":"tweaks","sha":"2a25d59323cc9e44347f347772ccbbaf6cc7bbfd","user":{"login":"StoDevX","id":16405322,"avatar_url":"https://avatars.githubusercontent.com/u/16405322?v=3","gravatar_id":"","url":"https://api.github.com/users/StoDevX","html_url":"https://github.com/StoDevX","followers_url":"https://api.github.com/users/StoDevX/followers","following_url":"https://api.github.com/users/StoDevX/following{/other_user}","gists_url":"https://api.github.com/users/StoDevX/gists{/gist_id}","starred_url":"https://api.github.com/users/StoDevX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StoDevX/subscriptions","organizations_url":"https://api.github.com/users/StoDevX/orgs","repos_url":"https://api.github.com/users/StoDevX/repos","events_url":"https://api.github.com/users/StoDevX/events{/privacy}","received_events_url":"https://api.github.com/users/StoDevX/received_events","type":"Organization","site_admin":false},"repo":{"id":48415146,"name":"AAO-React-Native","full_name":"StoDevX/AAO-React-Native","owner":{"login":"StoDevX","id":16405322,"avatar_url":"https://avatars.githubusercontent.com/u/16405322?v=3","gravatar_id":"","url":"https://api.github.com/users/StoDevX","html_url":"https://github.com/StoDevX","followers_url":"https://api.github.com/users/StoDevX/followers","following_url":"https://api.github.com/users/StoDevX/following{/other_user}","gists_url":"https://api.github.com/users/StoDevX/gists{/gist_id}","starred_url":"https://api.github.com/users/StoDevX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StoDevX/subscriptions","organizations_url":"https://api.github.com/users/StoDevX/orgs","repos_url":"https://api.github.com/users/StoDevX/repos","events_url":"https://api.github.com/users/StoDevX/events{/privacy}","received_events_url":"https://api.github.com/users/StoDevX/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/StoDevX/AAO-React-Native","description":"The St. Olaf community, now in pocket size… rewritten in React Native.","fork":false,"url":"https://api.github.com/repos/StoDevX/AAO-React-Native","forks_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/forks","keys_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/teams","hooks_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/hooks","issue_events_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/issues/events{/number}","events_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/events","assignees_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/assignees{/user}","branches_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/branches{/branch}","tags_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/tags","blobs_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/git/refs{/sha}","trees_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/statuses/{sha}","languages_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/languages","stargazers_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/stargazers","contributors_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/contributors","subscribers_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/subscribers","subscription_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/subscription","commits_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/commits{/sha}","git_commits_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/git/commits{/sha}","comments_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/comments{/number}","issue_comment_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/issues/comments{/number}","contents_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/contents/{+path}","compare_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/merges","archive_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/downloads","issues_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/issues{/number}","pulls_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/pulls{/number}","milestones_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/milestones{/number}","notifications_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/labels{/name}","releases_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/releases{/id}","deployments_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/deployments","created_at":"2015-12-22T06:41:01Z","updated_at":"2016-11-26T06:03:44Z","pushed_at":"2016-11-28T15:47:18Z","git_url":"git://github.com/StoDevX/AAO-React-Native.git","ssh_url":"git@github.com:StoDevX/AAO-React-Native.git","clone_url":"https://github.com/StoDevX/AAO-React-Native.git","svn_url":"https://github.com/StoDevX/AAO-React-Native","homepage":"","size":218294,"stargazers_count":12,"watchers_count":12,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":15,"forks":2,"open_issues":15,"watchers":12,"default_branch":"master"}},"base":{"label":"StoDevX:master","ref":"master","sha":"354934e924cb98b2741f2df79ddbf41fb7018883","user":{"login":"StoDevX","id":16405322,"avatar_url":"https://avatars.githubusercontent.com/u/16405322?v=3","gravatar_id":"","url":"https://api.github.com/users/StoDevX","html_url":"https://github.com/StoDevX","followers_url":"https://api.github.com/users/StoDevX/followers","following_url":"https://api.github.com/users/StoDevX/following{/other_user}","gists_url":"https://api.github.com/users/StoDevX/gists{/gist_id}","starred_url":"https://api.github.com/users/StoDevX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StoDevX/subscriptions","organizations_url":"https://api.github.com/users/StoDevX/orgs","repos_url":"https://api.github.com/users/StoDevX/repos","events_url":"https://api.github.com/users/StoDevX/events{/privacy}","received_events_url":"https://api.github.com/users/StoDevX/received_events","type":"Organization","site_admin":false},"repo":{"id":48415146,"name":"AAO-React-Native","full_name":"StoDevX/AAO-React-Native","owner":{"login":"StoDevX","id":16405322,"avatar_url":"https://avatars.githubusercontent.com/u/16405322?v=3","gravatar_id":"","url":"https://api.github.com/users/StoDevX","html_url":"https://github.com/StoDevX","followers_url":"https://api.github.com/users/StoDevX/followers","following_url":"https://api.github.com/users/StoDevX/following{/other_user}","gists_url":"https://api.github.com/users/StoDevX/gists{/gist_id}","starred_url":"https://api.github.com/users/StoDevX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StoDevX/subscriptions","organizations_url":"https://api.github.com/users/StoDevX/orgs","repos_url":"https://api.github.com/users/StoDevX/repos","events_url":"https://api.github.com/users/StoDevX/events{/privacy}","received_events_url":"https://api.github.com/users/StoDevX/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/StoDevX/AAO-React-Native","description":"The St. Olaf community, now in pocket size… rewritten in React Native.","fork":false,"url":"https://api.github.com/repos/StoDevX/AAO-React-Native","forks_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/forks","keys_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/teams","hooks_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/hooks","issue_events_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/issues/events{/number}","events_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/events","assignees_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/assignees{/user}","branches_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/branches{/branch}","tags_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/tags","blobs_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/git/refs{/sha}","trees_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/statuses/{sha}","languages_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/languages","stargazers_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/stargazers","contributors_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/contributors","subscribers_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/subscribers","subscription_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/subscription","commits_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/commits{/sha}","git_commits_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/git/commits{/sha}","comments_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/comments{/number}","issue_comment_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/issues/comments{/number}","contents_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/contents/{+path}","compare_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/merges","archive_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/downloads","issues_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/issues{/number}","pulls_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/pulls{/number}","milestones_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/milestones{/number}","notifications_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/labels{/name}","releases_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/releases{/id}","deployments_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/deployments","created_at":"2015-12-22T06:41:01Z","updated_at":"2016-11-26T06:03:44Z","pushed_at":"2016-11-28T15:47:18Z","git_url":"git://github.com/StoDevX/AAO-React-Native.git","ssh_url":"git@github.com:StoDevX/AAO-React-Native.git","clone_url":"https://github.com/StoDevX/AAO-React-Native.git","svn_url":"https://github.com/StoDevX/AAO-React-Native","homepage":"","size":218294,"stargazers_count":12,"watchers_count":12,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":15,"forks":2,"open_issues":15,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/StoDevX/AAO-React-Native/pulls/380"},"html":{"href":"https://github.com/StoDevX/AAO-React-Native/pull/380"},"issue":{"href":"https://api.github.com/repos/StoDevX/AAO-React-Native/issues/380"},"comments":{"href":"https://api.github.com/repos/StoDevX/AAO-React-Native/issues/380/comments"},"review_comments":{"href":"https://api.github.com/repos/StoDevX/AAO-React-Native/pulls/380/comments"},"review_comment":{"href":"https://api.github.com/repos/StoDevX/AAO-React-Native/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/StoDevX/AAO-React-Native/pulls/380/commits"},"statuses":{"href":"https://api.github.com/repos/StoDevX/AAO-React-Native/statuses/2a25d59323cc9e44347f347772ccbbaf6cc7bbfd"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":21,"additions":2798,"deletions":402,"changed_files":64}}
{"actor":{"display_login":"hawkrives"}}