{"action":"created","comment":{"url":"https://api.github.com/repos/azavea/cac-tripplanner/pulls/comments/93687220","pull_request_review_id":14220523,"id":93687220,"diff_hunk":"@@ -267,6 +269,10 @@ CAC.Pages.Home = (function ($, ModeOptions,  MapControl, TripOptions, SearchPara\n                 tabControl.setTab(tabControl.TABS.DIRECTIONS);\n             }\n         }\n+\n+        if (key === 'origin') {","path":"src/app/scripts/cac/pages/cac-pages-home.js","position":30,"original_position":30,"commit_id":"2c7e76e728b86471f1fe70706f1f10dc5d737421","original_commit_id":"2c7e76e728b86471f1fe70706f1f10dc5d737421","user":{"login":"flibbertigibbet","id":960264,"avatar_url":"https://avatars.githubusercontent.com/u/960264?v=3","gravatar_id":"","url":"https://api.github.com/users/flibbertigibbet","html_url":"https://github.com/flibbertigibbet","followers_url":"https://api.github.com/users/flibbertigibbet/followers","following_url":"https://api.github.com/users/flibbertigibbet/following{/other_user}","gists_url":"https://api.github.com/users/flibbertigibbet/gists{/gist_id}","starred_url":"https://api.github.com/users/flibbertigibbet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flibbertigibbet/subscriptions","organizations_url":"https://api.github.com/users/flibbertigibbet/orgs","repos_url":"https://api.github.com/users/flibbertigibbet/repos","events_url":"https://api.github.com/users/flibbertigibbet/events{/privacy}","received_events_url":"https://api.github.com/users/flibbertigibbet/received_events","type":"User","site_admin":false},"body":"Put it here because the places need to be updated for either tab; in case user changes origin in directions tab, then switches back to explore.","created_at":"2016-12-22T19:57:24Z","updated_at":"2016-12-22T19:57:24Z","html_url":"https://github.com/azavea/cac-tripplanner/pull/719#discussion_r93687220","pull_request_url":"https://api.github.com/repos/azavea/cac-tripplanner/pulls/719","_links":{"self":{"href":"https://api.github.com/repos/azavea/cac-tripplanner/pulls/comments/93687220"},"html":{"href":"https://github.com/azavea/cac-tripplanner/pull/719#discussion_r93687220"},"pull_request":{"href":"https://api.github.com/repos/azavea/cac-tripplanner/pulls/719"}}},"pull_request":{"url":"https://api.github.com/repos/azavea/cac-tripplanner/pulls/719","id":98849992,"html_url":"https://github.com/azavea/cac-tripplanner/pull/719","diff_url":"https://github.com/azavea/cac-tripplanner/pull/719.diff","patch_url":"https://github.com/azavea/cac-tripplanner/pull/719.patch","issue_url":"https://api.github.com/repos/azavea/cac-tripplanner/issues/719","number":719,"state":"open","locked":false,"title":"Feature/time to places","user":{"login":"flibbertigibbet","id":960264,"avatar_url":"https://avatars.githubusercontent.com/u/960264?v=3","gravatar_id":"","url":"https://api.github.com/users/flibbertigibbet","html_url":"https://github.com/flibbertigibbet","followers_url":"https://api.github.com/users/flibbertigibbet/followers","following_url":"https://api.github.com/users/flibbertigibbet/following{/other_user}","gists_url":"https://api.github.com/users/flibbertigibbet/gists{/gist_id}","starred_url":"https://api.github.com/users/flibbertigibbet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flibbertigibbet/subscriptions","organizations_url":"https://api.github.com/users/flibbertigibbet/orgs","repos_url":"https://api.github.com/users/flibbertigibbet/repos","events_url":"https://api.github.com/users/flibbertigibbet/events{/privacy}","received_events_url":"https://api.github.com/users/flibbertigibbet/received_events","type":"User","site_admin":false},"body":"Closes #557.\r\n\r\nDisplay travel time to each destination in its card when a origin is set.\r\n\r\nRecalculates on change to origin or to any trip options. Displays on home page and in explore tab.\r\n\r\nIsochrone requests go to a special endpoint that bundles up OTP's response with a list of destinations filtered to be within the isochrone; however, we're no longer using those filtered locations, so if we're not bringing them back, we should remove that Django endpoint and just query OTP directly.\r\n\r\nFor efficiency and simplicity, I think that would be a good way to go. Otherwise we'd end up having to requery the travel times to each location and/or set up origin+destination distance caching to use whenever the isochrone scrubber moves.\r\n","created_at":"2016-12-21T00:14:08Z","updated_at":"2016-12-22T19:57:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dd704c190fb099d349fe9318bb781acb43bae3c8","assignee":{"login":"KlaasH","id":6598836,"avatar_url":"https://avatars.githubusercontent.com/u/6598836?v=3","gravatar_id":"","url":"https://api.github.com/users/KlaasH","html_url":"https://github.com/KlaasH","followers_url":"https://api.github.com/users/KlaasH/followers","following_url":"https://api.github.com/users/KlaasH/following{/other_user}","gists_url":"https://api.github.com/users/KlaasH/gists{/gist_id}","starred_url":"https://api.github.com/users/KlaasH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KlaasH/subscriptions","organizations_url":"https://api.github.com/users/KlaasH/orgs","repos_url":"https://api.github.com/users/KlaasH/repos","events_url":"https://api.github.com/users/KlaasH/events{/privacy}","received_events_url":"https://api.github.com/users/KlaasH/received_events","type":"User","site_admin":false},"assignees":[{"login":"KlaasH","id":6598836,"avatar_url":"https://avatars.githubusercontent.com/u/6598836?v=3","gravatar_id":"","url":"https://api.github.com/users/KlaasH","html_url":"https://github.com/KlaasH","followers_url":"https://api.github.com/users/KlaasH/followers","following_url":"https://api.github.com/users/KlaasH/following{/other_user}","gists_url":"https://api.github.com/users/KlaasH/gists{/gist_id}","starred_url":"https://api.github.com/users/KlaasH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KlaasH/subscriptions","organizations_url":"https://api.github.com/users/KlaasH/orgs","repos_url":"https://api.github.com/users/KlaasH/repos","events_url":"https://api.github.com/users/KlaasH/events{/privacy}","received_events_url":"https://api.github.com/users/KlaasH/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/azavea/cac-tripplanner/pulls/719/commits","review_comments_url":"https://api.github.com/repos/azavea/cac-tripplanner/pulls/719/comments","review_comment_url":"https://api.github.com/repos/azavea/cac-tripplanner/pulls/comments{/number}","comments_url":"https://api.github.com/repos/azavea/cac-tripplanner/issues/719/comments","statuses_url":"https://api.github.com/repos/azavea/cac-tripplanner/statuses/2c7e76e728b86471f1fe70706f1f10dc5d737421","head":{"label":"flibbertigibbet:feature/time-to-places","ref":"feature/time-to-places","sha":"2c7e76e728b86471f1fe70706f1f10dc5d737421","user":{"login":"flibbertigibbet","id":960264,"avatar_url":"https://avatars.githubusercontent.com/u/960264?v=3","gravatar_id":"","url":"https://api.github.com/users/flibbertigibbet","html_url":"https://github.com/flibbertigibbet","followers_url":"https://api.github.com/users/flibbertigibbet/followers","following_url":"https://api.github.com/users/flibbertigibbet/following{/other_user}","gists_url":"https://api.github.com/users/flibbertigibbet/gists{/gist_id}","starred_url":"https://api.github.com/users/flibbertigibbet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flibbertigibbet/subscriptions","organizations_url":"https://api.github.com/users/flibbertigibbet/orgs","repos_url":"https://api.github.com/users/flibbertigibbet/repos","events_url":"https://api.github.com/users/flibbertigibbet/events{/privacy}","received_events_url":"https://api.github.com/users/flibbertigibbet/received_events","type":"User","site_admin":false},"repo":{"id":31267987,"name":"cac-tripplanner","full_name":"flibbertigibbet/cac-tripplanner","owner":{"login":"flibbertigibbet","id":960264,"avatar_url":"https://avatars.githubusercontent.com/u/960264?v=3","gravatar_id":"","url":"https://api.github.com/users/flibbertigibbet","html_url":"https://github.com/flibbertigibbet","followers_url":"https://api.github.com/users/flibbertigibbet/followers","following_url":"https://api.github.com/users/flibbertigibbet/following{/other_user}","gists_url":"https://api.github.com/users/flibbertigibbet/gists{/gist_id}","starred_url":"https://api.github.com/users/flibbertigibbet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flibbertigibbet/subscriptions","organizations_url":"https://api.github.com/users/flibbertigibbet/orgs","repos_url":"https://api.github.com/users/flibbertigibbet/repos","events_url":"https://api.github.com/users/flibbertigibbet/events{/privacy}","received_events_url":"https://api.github.com/users/flibbertigibbet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/flibbertigibbet/cac-tripplanner","description":null,"fork":true,"url":"https://api.github.com/repos/flibbertigibbet/cac-tripplanner","forks_url":"https://api.github.com/repos/flibbertigibbet/cac-tripplanner/forks","keys_url":"https://api.github.com/repos/flibbertigibbet/cac-tripplanner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flibbertigibbet/cac-tripplanner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flibbertigibbet/cac-tripplanner/teams","hooks_url":"https://api.github.com/repos/flibbertigibbet/cac-tripplanner/hooks","issue_events_url":"https://api.github.com/repos/flibbertigibbet/cac-tripplanner/issues/events{/number}","events_url":"https://api.github.com/repos/flibbertigibbet/cac-tripplanner/events","assignees_url":"https://api.github.com/repos/flibbertigibbet/cac-tripplanner/assignees{/user}","branches_url":"https://api.github.com/repos/flibbertigibbet/cac-tripplanner/branches{/branch}","tags_url":"https://api.github.com/repos/flibbertigibbet/cac-tripplanner/tags","blobs_url":"https://api.github.com/repos/flibbertigibbet/cac-tripplanner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flibbertigibbet/cac-tripplanner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flibbertigibbet/cac-tripplanner/git/refs{/sha}","trees_url":"https://api.github.com/repos/flibbertigibbet/cac-tripplanner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flibbertigibbet/cac-tripplanner/statuses/{sha}","languages_url":"https://api.github.com/repos/flibbertigibbet/cac-tripplanner/languages","stargazers_url":"https://api.github.com/repos/flibbertigibbet/cac-tripplanner/stargazers","contributors_url":"https://api.github.com/repos/flibbertigibbet/cac-tripplanner/contributors","subscribers_url":"https://api.github.com/repos/flibbertigibbet/cac-tripplanner/subscribers","subscription_url":"https://api.github.com/repos/flibbertigibbet/cac-tripplanner/subscription","commits_url":"https://api.github.com/repos/flibbertigibbet/cac-tripplanner/commits{/sha}","git_commits_url":"https://api.github.com/repos/flibbertigibbet/cac-tripplanner/git/commits{/sha}","comments_url":"https://api.github.com/repos/flibbertigibbet/cac-tripplanner/comments{/number}","issue_comment_url":"https://api.github.com/repos/flibbertigibbet/cac-tripplanner/issues/comments{/number}","contents_url":"https://api.github.com/repos/flibbertigibbet/cac-tripplanner/contents/{+path}","compare_url":"https://api.github.com/repos/flibbertigibbet/cac-tripplanner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flibbertigibbet/cac-tripplanner/merges","archive_url":"https://api.github.com/repos/flibbertigibbet/cac-tripplanner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flibbertigibbet/cac-tripplanner/downloads","issues_url":"https://api.github.com/repos/flibbertigibbet/cac-tripplanner/issues{/number}","pulls_url":"https://api.github.com/repos/flibbertigibbet/cac-tripplanner/pulls{/number}","milestones_url":"https://api.github.com/repos/flibbertigibbet/cac-tripplanner/milestones{/number}","notifications_url":"https://api.github.com/repos/flibbertigibbet/cac-tripplanner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flibbertigibbet/cac-tripplanner/labels{/name}","releases_url":"https://api.github.com/repos/flibbertigibbet/cac-tripplanner/releases{/id}","deployments_url":"https://api.github.com/repos/flibbertigibbet/cac-tripplanner/deployments","created_at":"2015-02-24T16:00:30Z","updated_at":"2016-10-27T18:38:59Z","pushed_at":"2016-12-22T18:57:26Z","git_url":"git://github.com/flibbertigibbet/cac-tripplanner.git","ssh_url":"git@github.com:flibbertigibbet/cac-tripplanner.git","clone_url":"https://github.com/flibbertigibbet/cac-tripplanner.git","svn_url":"https://github.com/flibbertigibbet/cac-tripplanner","homepage":null,"size":7949,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"develop"}},"base":{"label":"azavea:redesign","ref":"redesign","sha":"6b8c7f17067bb285fd1695a99d103461f921f695","user":{"login":"azavea","id":595231,"avatar_url":"https://avatars.githubusercontent.com/u/595231?v=3","gravatar_id":"","url":"https://api.github.com/users/azavea","html_url":"https://github.com/azavea","followers_url":"https://api.github.com/users/azavea/followers","following_url":"https://api.github.com/users/azavea/following{/other_user}","gists_url":"https://api.github.com/users/azavea/gists{/gist_id}","starred_url":"https://api.github.com/users/azavea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azavea/subscriptions","organizations_url":"https://api.github.com/users/azavea/orgs","repos_url":"https://api.github.com/users/azavea/repos","events_url":"https://api.github.com/users/azavea/events{/privacy}","received_events_url":"https://api.github.com/users/azavea/received_events","type":"Organization","site_admin":false},"repo":{"id":27089530,"name":"cac-tripplanner","full_name":"azavea/cac-tripplanner","owner":{"login":"azavea","id":595231,"avatar_url":"https://avatars.githubusercontent.com/u/595231?v=3","gravatar_id":"","url":"https://api.github.com/users/azavea","html_url":"https://github.com/azavea","followers_url":"https://api.github.com/users/azavea/followers","following_url":"https://api.github.com/users/azavea/following{/other_user}","gists_url":"https://api.github.com/users/azavea/gists{/gist_id}","starred_url":"https://api.github.com/users/azavea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azavea/subscriptions","organizations_url":"https://api.github.com/users/azavea/orgs","repos_url":"https://api.github.com/users/azavea/repos","events_url":"https://api.github.com/users/azavea/events{/privacy}","received_events_url":"https://api.github.com/users/azavea/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/azavea/cac-tripplanner","description":"Clean Air Council Circuit Trip Planner and Travelshed","fork":false,"url":"https://api.github.com/repos/azavea/cac-tripplanner","forks_url":"https://api.github.com/repos/azavea/cac-tripplanner/forks","keys_url":"https://api.github.com/repos/azavea/cac-tripplanner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/azavea/cac-tripplanner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/azavea/cac-tripplanner/teams","hooks_url":"https://api.github.com/repos/azavea/cac-tripplanner/hooks","issue_events_url":"https://api.github.com/repos/azavea/cac-tripplanner/issues/events{/number}","events_url":"https://api.github.com/repos/azavea/cac-tripplanner/events","assignees_url":"https://api.github.com/repos/azavea/cac-tripplanner/assignees{/user}","branches_url":"https://api.github.com/repos/azavea/cac-tripplanner/branches{/branch}","tags_url":"https://api.github.com/repos/azavea/cac-tripplanner/tags","blobs_url":"https://api.github.com/repos/azavea/cac-tripplanner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/azavea/cac-tripplanner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/azavea/cac-tripplanner/git/refs{/sha}","trees_url":"https://api.github.com/repos/azavea/cac-tripplanner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/azavea/cac-tripplanner/statuses/{sha}","languages_url":"https://api.github.com/repos/azavea/cac-tripplanner/languages","stargazers_url":"https://api.github.com/repos/azavea/cac-tripplanner/stargazers","contributors_url":"https://api.github.com/repos/azavea/cac-tripplanner/contributors","subscribers_url":"https://api.github.com/repos/azavea/cac-tripplanner/subscribers","subscription_url":"https://api.github.com/repos/azavea/cac-tripplanner/subscription","commits_url":"https://api.github.com/repos/azavea/cac-tripplanner/commits{/sha}","git_commits_url":"https://api.github.com/repos/azavea/cac-tripplanner/git/commits{/sha}","comments_url":"https://api.github.com/repos/azavea/cac-tripplanner/comments{/number}","issue_comment_url":"https://api.github.com/repos/azavea/cac-tripplanner/issues/comments{/number}","contents_url":"https://api.github.com/repos/azavea/cac-tripplanner/contents/{+path}","compare_url":"https://api.github.com/repos/azavea/cac-tripplanner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/azavea/cac-tripplanner/merges","archive_url":"https://api.github.com/repos/azavea/cac-tripplanner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/azavea/cac-tripplanner/downloads","issues_url":"https://api.github.com/repos/azavea/cac-tripplanner/issues{/number}","pulls_url":"https://api.github.com/repos/azavea/cac-tripplanner/pulls{/number}","milestones_url":"https://api.github.com/repos/azavea/cac-tripplanner/milestones{/number}","notifications_url":"https://api.github.com/repos/azavea/cac-tripplanner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/azavea/cac-tripplanner/labels{/name}","releases_url":"https://api.github.com/repos/azavea/cac-tripplanner/releases{/id}","deployments_url":"https://api.github.com/repos/azavea/cac-tripplanner/deployments","created_at":"2014-11-24T18:46:16Z","updated_at":"2016-10-27T18:18:50Z","pushed_at":"2016-12-22T18:58:47Z","git_url":"git://github.com/azavea/cac-tripplanner.git","ssh_url":"git@github.com:azavea/cac-tripplanner.git","clone_url":"https://github.com/azavea/cac-tripplanner.git","svn_url":"https://github.com/azavea/cac-tripplanner","homepage":"https://gophillygo.org/","size":7770,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":46,"forks":2,"open_issues":46,"watchers":3,"default_branch":"redesign"}},"_links":{"self":{"href":"https://api.github.com/repos/azavea/cac-tripplanner/pulls/719"},"html":{"href":"https://github.com/azavea/cac-tripplanner/pull/719"},"issue":{"href":"https://api.github.com/repos/azavea/cac-tripplanner/issues/719"},"comments":{"href":"https://api.github.com/repos/azavea/cac-tripplanner/issues/719/comments"},"review_comments":{"href":"https://api.github.com/repos/azavea/cac-tripplanner/pulls/719/comments"},"review_comment":{"href":"https://api.github.com/repos/azavea/cac-tripplanner/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/azavea/cac-tripplanner/pulls/719/commits"},"statuses":{"href":"https://api.github.com/repos/azavea/cac-tripplanner/statuses/2c7e76e728b86471f1fe70706f1f10dc5d737421"}}}}
{"actor":{"display_login":"flibbertigibbet"}}