{"action":"created","comment":{"url":"https://api.github.com/repos/trynmaps/tryn-react/pulls/comments/185690196","pull_request_review_id":117129068,"id":185690196,"diff_hunk":"@@ -11,15 +11,24 @@ const ICON_MAPPING = {\n   },\n };\n \n-export function getStopMarkersLayer(route, getStopInfo) {\n+/* changes color of selected stop along a route */\n+function selectedStopColor(stop, selectedStops) {\n+  const selectedStopsIds\n+  = selectedStops.map(currentstop => currentstop.sid);\n+  if (selectedStopsIds.contains(stop.sid)) {\n+    return [0, 255, 0];","path":"src/Route.jsx","position":10,"original_position":10,"commit_id":"572bec3749dbb84463b11f3e0446a668c0d70ad4","original_commit_id":"572bec3749dbb84463b11f3e0446a668c0d70ad4","user":{"login":"ckrajewski","id":5117604,"avatar_url":"https://avatars3.githubusercontent.com/u/5117604?v=4","gravatar_id":"","url":"https://api.github.com/users/ckrajewski","html_url":"https://github.com/ckrajewski","followers_url":"https://api.github.com/users/ckrajewski/followers","following_url":"https://api.github.com/users/ckrajewski/following{/other_user}","gists_url":"https://api.github.com/users/ckrajewski/gists{/gist_id}","starred_url":"https://api.github.com/users/ckrajewski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckrajewski/subscriptions","organizations_url":"https://api.github.com/users/ckrajewski/orgs","repos_url":"https://api.github.com/users/ckrajewski/repos","events_url":"https://api.github.com/users/ckrajewski/events{/privacy}","received_events_url":"https://api.github.com/users/ckrajewski/received_events","type":"User","site_admin":false},"body":"@EddyIonescu Added contains, but should these colors still be hardcoded?","created_at":"2018-05-03T03:16:42Z","updated_at":"2018-05-03T03:16:42Z","html_url":"https://github.com/trynmaps/tryn-react/pull/53#discussion_r185690196","pull_request_url":"https://api.github.com/repos/trynmaps/tryn-react/pulls/53","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/trynmaps/tryn-react/pulls/comments/185690196"},"html":{"href":"https://github.com/trynmaps/tryn-react/pull/53#discussion_r185690196"},"pull_request":{"href":"https://api.github.com/repos/trynmaps/tryn-react/pulls/53"}}},"pull_request":{"url":"https://api.github.com/repos/trynmaps/tryn-react/pulls/53","id":184233531,"html_url":"https://github.com/trynmaps/tryn-react/pull/53","diff_url":"https://github.com/trynmaps/tryn-react/pull/53.diff","patch_url":"https://github.com/trynmaps/tryn-react/pull/53.patch","issue_url":"https://api.github.com/repos/trynmaps/tryn-react/issues/53","number":53,"state":"open","locked":false,"title":"39 Part2 Changing Color/Icon of Selected Stops","user":{"login":"ckrajewski","id":5117604,"avatar_url":"https://avatars3.githubusercontent.com/u/5117604?v=4","gravatar_id":"","url":"https://api.github.com/users/ckrajewski","html_url":"https://github.com/ckrajewski","followers_url":"https://api.github.com/users/ckrajewski/followers","following_url":"https://api.github.com/users/ckrajewski/following{/other_user}","gists_url":"https://api.github.com/users/ckrajewski/gists{/gist_id}","starred_url":"https://api.github.com/users/ckrajewski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckrajewski/subscriptions","organizations_url":"https://api.github.com/users/ckrajewski/orgs","repos_url":"https://api.github.com/users/ckrajewski/repos","events_url":"https://api.github.com/users/ckrajewski/events{/privacy}","received_events_url":"https://api.github.com/users/ckrajewski/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-26T05:57:50Z","updated_at":"2018-05-03T03:16:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"221dc8e1c457c9075dbe114be0d5f90161e45ab7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/trynmaps/tryn-react/pulls/53/commits","review_comments_url":"https://api.github.com/repos/trynmaps/tryn-react/pulls/53/comments","review_comment_url":"https://api.github.com/repos/trynmaps/tryn-react/pulls/comments{/number}","comments_url":"https://api.github.com/repos/trynmaps/tryn-react/issues/53/comments","statuses_url":"https://api.github.com/repos/trynmaps/tryn-react/statuses/572bec3749dbb84463b11f3e0446a668c0d70ad4","head":{"label":"trynmaps:feature/39-part2-select-stops-segment","ref":"feature/39-part2-select-stops-segment","sha":"572bec3749dbb84463b11f3e0446a668c0d70ad4","user":{"login":"trynmaps","id":32893620,"avatar_url":"https://avatars0.githubusercontent.com/u/32893620?v=4","gravatar_id":"","url":"https://api.github.com/users/trynmaps","html_url":"https://github.com/trynmaps","followers_url":"https://api.github.com/users/trynmaps/followers","following_url":"https://api.github.com/users/trynmaps/following{/other_user}","gists_url":"https://api.github.com/users/trynmaps/gists{/gist_id}","starred_url":"https://api.github.com/users/trynmaps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trynmaps/subscriptions","organizations_url":"https://api.github.com/users/trynmaps/orgs","repos_url":"https://api.github.com/users/trynmaps/repos","events_url":"https://api.github.com/users/trynmaps/events{/privacy}","received_events_url":"https://api.github.com/users/trynmaps/received_events","type":"Organization","site_admin":false},"repo":{"id":107489433,"name":"tryn-react","full_name":"trynmaps/tryn-react","owner":{"login":"trynmaps","id":32893620,"avatar_url":"https://avatars0.githubusercontent.com/u/32893620?v=4","gravatar_id":"","url":"https://api.github.com/users/trynmaps","html_url":"https://github.com/trynmaps","followers_url":"https://api.github.com/users/trynmaps/followers","following_url":"https://api.github.com/users/trynmaps/following{/other_user}","gists_url":"https://api.github.com/users/trynmaps/gists{/gist_id}","starred_url":"https://api.github.com/users/trynmaps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trynmaps/subscriptions","organizations_url":"https://api.github.com/users/trynmaps/orgs","repos_url":"https://api.github.com/users/trynmaps/repos","events_url":"https://api.github.com/users/trynmaps/events{/privacy}","received_events_url":"https://api.github.com/users/trynmaps/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/trynmaps/tryn-react","description":"Web-app for OpenTransit","fork":false,"url":"https://api.github.com/repos/trynmaps/tryn-react","forks_url":"https://api.github.com/repos/trynmaps/tryn-react/forks","keys_url":"https://api.github.com/repos/trynmaps/tryn-react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/trynmaps/tryn-react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/trynmaps/tryn-react/teams","hooks_url":"https://api.github.com/repos/trynmaps/tryn-react/hooks","issue_events_url":"https://api.github.com/repos/trynmaps/tryn-react/issues/events{/number}","events_url":"https://api.github.com/repos/trynmaps/tryn-react/events","assignees_url":"https://api.github.com/repos/trynmaps/tryn-react/assignees{/user}","branches_url":"https://api.github.com/repos/trynmaps/tryn-react/branches{/branch}","tags_url":"https://api.github.com/repos/trynmaps/tryn-react/tags","blobs_url":"https://api.github.com/repos/trynmaps/tryn-react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/trynmaps/tryn-react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/trynmaps/tryn-react/git/refs{/sha}","trees_url":"https://api.github.com/repos/trynmaps/tryn-react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/trynmaps/tryn-react/statuses/{sha}","languages_url":"https://api.github.com/repos/trynmaps/tryn-react/languages","stargazers_url":"https://api.github.com/repos/trynmaps/tryn-react/stargazers","contributors_url":"https://api.github.com/repos/trynmaps/tryn-react/contributors","subscribers_url":"https://api.github.com/repos/trynmaps/tryn-react/subscribers","subscription_url":"https://api.github.com/repos/trynmaps/tryn-react/subscription","commits_url":"https://api.github.com/repos/trynmaps/tryn-react/commits{/sha}","git_commits_url":"https://api.github.com/repos/trynmaps/tryn-react/git/commits{/sha}","comments_url":"https://api.github.com/repos/trynmaps/tryn-react/comments{/number}","issue_comment_url":"https://api.github.com/repos/trynmaps/tryn-react/issues/comments{/number}","contents_url":"https://api.github.com/repos/trynmaps/tryn-react/contents/{+path}","compare_url":"https://api.github.com/repos/trynmaps/tryn-react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/trynmaps/tryn-react/merges","archive_url":"https://api.github.com/repos/trynmaps/tryn-react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/trynmaps/tryn-react/downloads","issues_url":"https://api.github.com/repos/trynmaps/tryn-react/issues{/number}","pulls_url":"https://api.github.com/repos/trynmaps/tryn-react/pulls{/number}","milestones_url":"https://api.github.com/repos/trynmaps/tryn-react/milestones{/number}","notifications_url":"https://api.github.com/repos/trynmaps/tryn-react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/trynmaps/tryn-react/labels{/name}","releases_url":"https://api.github.com/repos/trynmaps/tryn-react/releases{/id}","deployments_url":"https://api.github.com/repos/trynmaps/tryn-react/deployments","created_at":"2017-10-19T02:41:39Z","updated_at":"2018-05-03T02:37:52Z","pushed_at":"2018-05-03T03:15:29Z","git_url":"git://github.com/trynmaps/tryn-react.git","ssh_url":"git@github.com:trynmaps/tryn-react.git","clone_url":"https://github.com/trynmaps/tryn-react.git","svn_url":"https://github.com/trynmaps/tryn-react","homepage":"","size":4655,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":6,"open_issues":13,"watchers":3,"default_branch":"master"}},"base":{"label":"trynmaps:master","ref":"master","sha":"d1626c8ff51c1a68d0a2954a93d568b4a0ff6ad6","user":{"login":"trynmaps","id":32893620,"avatar_url":"https://avatars0.githubusercontent.com/u/32893620?v=4","gravatar_id":"","url":"https://api.github.com/users/trynmaps","html_url":"https://github.com/trynmaps","followers_url":"https://api.github.com/users/trynmaps/followers","following_url":"https://api.github.com/users/trynmaps/following{/other_user}","gists_url":"https://api.github.com/users/trynmaps/gists{/gist_id}","starred_url":"https://api.github.com/users/trynmaps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trynmaps/subscriptions","organizations_url":"https://api.github.com/users/trynmaps/orgs","repos_url":"https://api.github.com/users/trynmaps/repos","events_url":"https://api.github.com/users/trynmaps/events{/privacy}","received_events_url":"https://api.github.com/users/trynmaps/received_events","type":"Organization","site_admin":false},"repo":{"id":107489433,"name":"tryn-react","full_name":"trynmaps/tryn-react","owner":{"login":"trynmaps","id":32893620,"avatar_url":"https://avatars0.githubusercontent.com/u/32893620?v=4","gravatar_id":"","url":"https://api.github.com/users/trynmaps","html_url":"https://github.com/trynmaps","followers_url":"https://api.github.com/users/trynmaps/followers","following_url":"https://api.github.com/users/trynmaps/following{/other_user}","gists_url":"https://api.github.com/users/trynmaps/gists{/gist_id}","starred_url":"https://api.github.com/users/trynmaps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trynmaps/subscriptions","organizations_url":"https://api.github.com/users/trynmaps/orgs","repos_url":"https://api.github.com/users/trynmaps/repos","events_url":"https://api.github.com/users/trynmaps/events{/privacy}","received_events_url":"https://api.github.com/users/trynmaps/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/trynmaps/tryn-react","description":"Web-app for OpenTransit","fork":false,"url":"https://api.github.com/repos/trynmaps/tryn-react","forks_url":"https://api.github.com/repos/trynmaps/tryn-react/forks","keys_url":"https://api.github.com/repos/trynmaps/tryn-react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/trynmaps/tryn-react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/trynmaps/tryn-react/teams","hooks_url":"https://api.github.com/repos/trynmaps/tryn-react/hooks","issue_events_url":"https://api.github.com/repos/trynmaps/tryn-react/issues/events{/number}","events_url":"https://api.github.com/repos/trynmaps/tryn-react/events","assignees_url":"https://api.github.com/repos/trynmaps/tryn-react/assignees{/user}","branches_url":"https://api.github.com/repos/trynmaps/tryn-react/branches{/branch}","tags_url":"https://api.github.com/repos/trynmaps/tryn-react/tags","blobs_url":"https://api.github.com/repos/trynmaps/tryn-react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/trynmaps/tryn-react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/trynmaps/tryn-react/git/refs{/sha}","trees_url":"https://api.github.com/repos/trynmaps/tryn-react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/trynmaps/tryn-react/statuses/{sha}","languages_url":"https://api.github.com/repos/trynmaps/tryn-react/languages","stargazers_url":"https://api.github.com/repos/trynmaps/tryn-react/stargazers","contributors_url":"https://api.github.com/repos/trynmaps/tryn-react/contributors","subscribers_url":"https://api.github.com/repos/trynmaps/tryn-react/subscribers","subscription_url":"https://api.github.com/repos/trynmaps/tryn-react/subscription","commits_url":"https://api.github.com/repos/trynmaps/tryn-react/commits{/sha}","git_commits_url":"https://api.github.com/repos/trynmaps/tryn-react/git/commits{/sha}","comments_url":"https://api.github.com/repos/trynmaps/tryn-react/comments{/number}","issue_comment_url":"https://api.github.com/repos/trynmaps/tryn-react/issues/comments{/number}","contents_url":"https://api.github.com/repos/trynmaps/tryn-react/contents/{+path}","compare_url":"https://api.github.com/repos/trynmaps/tryn-react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/trynmaps/tryn-react/merges","archive_url":"https://api.github.com/repos/trynmaps/tryn-react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/trynmaps/tryn-react/downloads","issues_url":"https://api.github.com/repos/trynmaps/tryn-react/issues{/number}","pulls_url":"https://api.github.com/repos/trynmaps/tryn-react/pulls{/number}","milestones_url":"https://api.github.com/repos/trynmaps/tryn-react/milestones{/number}","notifications_url":"https://api.github.com/repos/trynmaps/tryn-react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/trynmaps/tryn-react/labels{/name}","releases_url":"https://api.github.com/repos/trynmaps/tryn-react/releases{/id}","deployments_url":"https://api.github.com/repos/trynmaps/tryn-react/deployments","created_at":"2017-10-19T02:41:39Z","updated_at":"2018-05-03T02:37:52Z","pushed_at":"2018-05-03T03:15:29Z","git_url":"git://github.com/trynmaps/tryn-react.git","ssh_url":"git@github.com:trynmaps/tryn-react.git","clone_url":"https://github.com/trynmaps/tryn-react.git","svn_url":"https://github.com/trynmaps/tryn-react","homepage":"","size":4655,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":6,"open_issues":13,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/trynmaps/tryn-react/pulls/53"},"html":{"href":"https://github.com/trynmaps/tryn-react/pull/53"},"issue":{"href":"https://api.github.com/repos/trynmaps/tryn-react/issues/53"},"comments":{"href":"https://api.github.com/repos/trynmaps/tryn-react/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/trynmaps/tryn-react/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/trynmaps/tryn-react/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/trynmaps/tryn-react/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/trynmaps/tryn-react/statuses/572bec3749dbb84463b11f3e0446a668c0d70ad4"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"ckrajewski"}}