{"action":"created","comment":{"url":"https://api.github.com/repos/okeren-ww/WeEat/pulls/comments/165925673","pull_request_review_id":93934945,"id":165925673,"diff_hunk":"@@ -13,10 +13,32 @@ class RestaurantsContainer extends React.Component {\n     filterTenBis: false,\n     filterRating: 'All',\n     filterCuisine: 'All',\n+    filterDelTime: Constants.DEFAULT_DELIVERY_TIME,\n+    marker: null,\n   };\n \n   componentWillMount() {\n-    fetchJson(Constants.RESTAURANTS_URL, response => this.setState({ restaurants: response }));\n+    fetchJSON(Constants.RESTAURANTS_URL).then(response => this.setRestaurantsFromJson(response));\n+  }\n+\n+  componentDidMount() {\n+    document.getElementById('delivery_time_label').innerHTML = this.state.filterDelTime + ' Minutes';","path":"app/javascript/packs/restaurants.jsx","position":26,"original_position":26,"commit_id":"5eed72dc8813bb69c5e48555b7b95e97ebc75b8a","original_commit_id":"5eed72dc8813bb69c5e48555b7b95e97ebc75b8a","user":{"login":"okeren-ww","id":35024570,"avatar_url":"https://avatars1.githubusercontent.com/u/35024570?v=4","gravatar_id":"","url":"https://api.github.com/users/okeren-ww","html_url":"https://github.com/okeren-ww","followers_url":"https://api.github.com/users/okeren-ww/followers","following_url":"https://api.github.com/users/okeren-ww/following{/other_user}","gists_url":"https://api.github.com/users/okeren-ww/gists{/gist_id}","starred_url":"https://api.github.com/users/okeren-ww/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okeren-ww/subscriptions","organizations_url":"https://api.github.com/users/okeren-ww/orgs","repos_url":"https://api.github.com/users/okeren-ww/repos","events_url":"https://api.github.com/users/okeren-ww/events{/privacy}","received_events_url":"https://api.github.com/users/okeren-ww/received_events","type":"User","site_admin":false},"body":"Yes, remnants from a forgotten land. Forgot to remove it","created_at":"2018-02-05T10:01:41Z","updated_at":"2018-02-05T10:01:41Z","html_url":"https://github.com/okeren-ww/WeEat/pull/7#discussion_r165925673","pull_request_url":"https://api.github.com/repos/okeren-ww/WeEat/pulls/7","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/okeren-ww/WeEat/pulls/comments/165925673"},"html":{"href":"https://github.com/okeren-ww/WeEat/pull/7#discussion_r165925673"},"pull_request":{"href":"https://api.github.com/repos/okeren-ww/WeEat/pulls/7"}},"in_reply_to_id":165845051},"pull_request":{"url":"https://api.github.com/repos/okeren-ww/WeEat/pulls/7","id":167009024,"html_url":"https://github.com/okeren-ww/WeEat/pull/7","diff_url":"https://github.com/okeren-ww/WeEat/pull/7.diff","patch_url":"https://github.com/okeren-ww/WeEat/pull/7.patch","issue_url":"https://api.github.com/repos/okeren-ww/WeEat/issues/7","number":7,"state":"open","locked":false,"title":"Frontend visual design","user":{"login":"okeren-ww","id":35024570,"avatar_url":"https://avatars1.githubusercontent.com/u/35024570?v=4","gravatar_id":"","url":"https://api.github.com/users/okeren-ww","html_url":"https://github.com/okeren-ww","followers_url":"https://api.github.com/users/okeren-ww/followers","following_url":"https://api.github.com/users/okeren-ww/following{/other_user}","gists_url":"https://api.github.com/users/okeren-ww/gists{/gist_id}","starred_url":"https://api.github.com/users/okeren-ww/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okeren-ww/subscriptions","organizations_url":"https://api.github.com/users/okeren-ww/orgs","repos_url":"https://api.github.com/users/okeren-ww/repos","events_url":"https://api.github.com/users/okeren-ww/events{/privacy}","received_events_url":"https://api.github.com/users/okeren-ww/received_events","type":"User","site_admin":false},"body":"Added all the CSS so the site's design looks better. Also added a functional Google Maps component, such that clicking on a restaurant shows an appropriate marker on the map. Cleaned the code up, removed unnecessary files and beautified some code.\r\n\r\n![image](https://user-images.githubusercontent.com/35024570/35777744-d6ef18d6-09bb-11e8-8929-ffeb0dcd6a52.png)\r\n","created_at":"2018-02-04T12:59:38Z","updated_at":"2018-02-05T10:01:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7d83d47ee2036db00f9c52f1af415e0e91856401","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/okeren-ww/WeEat/pulls/7/commits","review_comments_url":"https://api.github.com/repos/okeren-ww/WeEat/pulls/7/comments","review_comment_url":"https://api.github.com/repos/okeren-ww/WeEat/pulls/comments{/number}","comments_url":"https://api.github.com/repos/okeren-ww/WeEat/issues/7/comments","statuses_url":"https://api.github.com/repos/okeren-ww/WeEat/statuses/5eed72dc8813bb69c5e48555b7b95e97ebc75b8a","head":{"label":"okeren-ww:frontend-visual-design","ref":"frontend-visual-design","sha":"5eed72dc8813bb69c5e48555b7b95e97ebc75b8a","user":{"login":"okeren-ww","id":35024570,"avatar_url":"https://avatars1.githubusercontent.com/u/35024570?v=4","gravatar_id":"","url":"https://api.github.com/users/okeren-ww","html_url":"https://github.com/okeren-ww","followers_url":"https://api.github.com/users/okeren-ww/followers","following_url":"https://api.github.com/users/okeren-ww/following{/other_user}","gists_url":"https://api.github.com/users/okeren-ww/gists{/gist_id}","starred_url":"https://api.github.com/users/okeren-ww/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okeren-ww/subscriptions","organizations_url":"https://api.github.com/users/okeren-ww/orgs","repos_url":"https://api.github.com/users/okeren-ww/repos","events_url":"https://api.github.com/users/okeren-ww/events{/privacy}","received_events_url":"https://api.github.com/users/okeren-ww/received_events","type":"User","site_admin":false},"repo":{"id":116568784,"name":"WeEat","full_name":"okeren-ww/WeEat","owner":{"login":"okeren-ww","id":35024570,"avatar_url":"https://avatars1.githubusercontent.com/u/35024570?v=4","gravatar_id":"","url":"https://api.github.com/users/okeren-ww","html_url":"https://github.com/okeren-ww","followers_url":"https://api.github.com/users/okeren-ww/followers","following_url":"https://api.github.com/users/okeren-ww/following{/other_user}","gists_url":"https://api.github.com/users/okeren-ww/gists{/gist_id}","starred_url":"https://api.github.com/users/okeren-ww/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okeren-ww/subscriptions","organizations_url":"https://api.github.com/users/okeren-ww/orgs","repos_url":"https://api.github.com/users/okeren-ww/repos","events_url":"https://api.github.com/users/okeren-ww/events{/privacy}","received_events_url":"https://api.github.com/users/okeren-ww/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/okeren-ww/WeEat","description":"RoR Pet Project","fork":false,"url":"https://api.github.com/repos/okeren-ww/WeEat","forks_url":"https://api.github.com/repos/okeren-ww/WeEat/forks","keys_url":"https://api.github.com/repos/okeren-ww/WeEat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/okeren-ww/WeEat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/okeren-ww/WeEat/teams","hooks_url":"https://api.github.com/repos/okeren-ww/WeEat/hooks","issue_events_url":"https://api.github.com/repos/okeren-ww/WeEat/issues/events{/number}","events_url":"https://api.github.com/repos/okeren-ww/WeEat/events","assignees_url":"https://api.github.com/repos/okeren-ww/WeEat/assignees{/user}","branches_url":"https://api.github.com/repos/okeren-ww/WeEat/branches{/branch}","tags_url":"https://api.github.com/repos/okeren-ww/WeEat/tags","blobs_url":"https://api.github.com/repos/okeren-ww/WeEat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/okeren-ww/WeEat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/okeren-ww/WeEat/git/refs{/sha}","trees_url":"https://api.github.com/repos/okeren-ww/WeEat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/okeren-ww/WeEat/statuses/{sha}","languages_url":"https://api.github.com/repos/okeren-ww/WeEat/languages","stargazers_url":"https://api.github.com/repos/okeren-ww/WeEat/stargazers","contributors_url":"https://api.github.com/repos/okeren-ww/WeEat/contributors","subscribers_url":"https://api.github.com/repos/okeren-ww/WeEat/subscribers","subscription_url":"https://api.github.com/repos/okeren-ww/WeEat/subscription","commits_url":"https://api.github.com/repos/okeren-ww/WeEat/commits{/sha}","git_commits_url":"https://api.github.com/repos/okeren-ww/WeEat/git/commits{/sha}","comments_url":"https://api.github.com/repos/okeren-ww/WeEat/comments{/number}","issue_comment_url":"https://api.github.com/repos/okeren-ww/WeEat/issues/comments{/number}","contents_url":"https://api.github.com/repos/okeren-ww/WeEat/contents/{+path}","compare_url":"https://api.github.com/repos/okeren-ww/WeEat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/okeren-ww/WeEat/merges","archive_url":"https://api.github.com/repos/okeren-ww/WeEat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/okeren-ww/WeEat/downloads","issues_url":"https://api.github.com/repos/okeren-ww/WeEat/issues{/number}","pulls_url":"https://api.github.com/repos/okeren-ww/WeEat/pulls{/number}","milestones_url":"https://api.github.com/repos/okeren-ww/WeEat/milestones{/number}","notifications_url":"https://api.github.com/repos/okeren-ww/WeEat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/okeren-ww/WeEat/labels{/name}","releases_url":"https://api.github.com/repos/okeren-ww/WeEat/releases{/id}","deployments_url":"https://api.github.com/repos/okeren-ww/WeEat/deployments","created_at":"2018-01-07T13:44:37Z","updated_at":"2018-01-07T14:56:36Z","pushed_at":"2018-02-04T12:59:39Z","git_url":"git://github.com/okeren-ww/WeEat.git","ssh_url":"git@github.com:okeren-ww/WeEat.git","clone_url":"https://github.com/okeren-ww/WeEat.git","svn_url":"https://github.com/okeren-ww/WeEat","homepage":null,"size":24105,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"okeren-ww:master","ref":"master","sha":"8317342152f5f9eed0020910831855a5719e9d21","user":{"login":"okeren-ww","id":35024570,"avatar_url":"https://avatars1.githubusercontent.com/u/35024570?v=4","gravatar_id":"","url":"https://api.github.com/users/okeren-ww","html_url":"https://github.com/okeren-ww","followers_url":"https://api.github.com/users/okeren-ww/followers","following_url":"https://api.github.com/users/okeren-ww/following{/other_user}","gists_url":"https://api.github.com/users/okeren-ww/gists{/gist_id}","starred_url":"https://api.github.com/users/okeren-ww/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okeren-ww/subscriptions","organizations_url":"https://api.github.com/users/okeren-ww/orgs","repos_url":"https://api.github.com/users/okeren-ww/repos","events_url":"https://api.github.com/users/okeren-ww/events{/privacy}","received_events_url":"https://api.github.com/users/okeren-ww/received_events","type":"User","site_admin":false},"repo":{"id":116568784,"name":"WeEat","full_name":"okeren-ww/WeEat","owner":{"login":"okeren-ww","id":35024570,"avatar_url":"https://avatars1.githubusercontent.com/u/35024570?v=4","gravatar_id":"","url":"https://api.github.com/users/okeren-ww","html_url":"https://github.com/okeren-ww","followers_url":"https://api.github.com/users/okeren-ww/followers","following_url":"https://api.github.com/users/okeren-ww/following{/other_user}","gists_url":"https://api.github.com/users/okeren-ww/gists{/gist_id}","starred_url":"https://api.github.com/users/okeren-ww/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okeren-ww/subscriptions","organizations_url":"https://api.github.com/users/okeren-ww/orgs","repos_url":"https://api.github.com/users/okeren-ww/repos","events_url":"https://api.github.com/users/okeren-ww/events{/privacy}","received_events_url":"https://api.github.com/users/okeren-ww/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/okeren-ww/WeEat","description":"RoR Pet Project","fork":false,"url":"https://api.github.com/repos/okeren-ww/WeEat","forks_url":"https://api.github.com/repos/okeren-ww/WeEat/forks","keys_url":"https://api.github.com/repos/okeren-ww/WeEat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/okeren-ww/WeEat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/okeren-ww/WeEat/teams","hooks_url":"https://api.github.com/repos/okeren-ww/WeEat/hooks","issue_events_url":"https://api.github.com/repos/okeren-ww/WeEat/issues/events{/number}","events_url":"https://api.github.com/repos/okeren-ww/WeEat/events","assignees_url":"https://api.github.com/repos/okeren-ww/WeEat/assignees{/user}","branches_url":"https://api.github.com/repos/okeren-ww/WeEat/branches{/branch}","tags_url":"https://api.github.com/repos/okeren-ww/WeEat/tags","blobs_url":"https://api.github.com/repos/okeren-ww/WeEat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/okeren-ww/WeEat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/okeren-ww/WeEat/git/refs{/sha}","trees_url":"https://api.github.com/repos/okeren-ww/WeEat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/okeren-ww/WeEat/statuses/{sha}","languages_url":"https://api.github.com/repos/okeren-ww/WeEat/languages","stargazers_url":"https://api.github.com/repos/okeren-ww/WeEat/stargazers","contributors_url":"https://api.github.com/repos/okeren-ww/WeEat/contributors","subscribers_url":"https://api.github.com/repos/okeren-ww/WeEat/subscribers","subscription_url":"https://api.github.com/repos/okeren-ww/WeEat/subscription","commits_url":"https://api.github.com/repos/okeren-ww/WeEat/commits{/sha}","git_commits_url":"https://api.github.com/repos/okeren-ww/WeEat/git/commits{/sha}","comments_url":"https://api.github.com/repos/okeren-ww/WeEat/comments{/number}","issue_comment_url":"https://api.github.com/repos/okeren-ww/WeEat/issues/comments{/number}","contents_url":"https://api.github.com/repos/okeren-ww/WeEat/contents/{+path}","compare_url":"https://api.github.com/repos/okeren-ww/WeEat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/okeren-ww/WeEat/merges","archive_url":"https://api.github.com/repos/okeren-ww/WeEat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/okeren-ww/WeEat/downloads","issues_url":"https://api.github.com/repos/okeren-ww/WeEat/issues{/number}","pulls_url":"https://api.github.com/repos/okeren-ww/WeEat/pulls{/number}","milestones_url":"https://api.github.com/repos/okeren-ww/WeEat/milestones{/number}","notifications_url":"https://api.github.com/repos/okeren-ww/WeEat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/okeren-ww/WeEat/labels{/name}","releases_url":"https://api.github.com/repos/okeren-ww/WeEat/releases{/id}","deployments_url":"https://api.github.com/repos/okeren-ww/WeEat/deployments","created_at":"2018-01-07T13:44:37Z","updated_at":"2018-01-07T14:56:36Z","pushed_at":"2018-02-04T12:59:39Z","git_url":"git://github.com/okeren-ww/WeEat.git","ssh_url":"git@github.com:okeren-ww/WeEat.git","clone_url":"https://github.com/okeren-ww/WeEat.git","svn_url":"https://github.com/okeren-ww/WeEat","homepage":null,"size":24105,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/okeren-ww/WeEat/pulls/7"},"html":{"href":"https://github.com/okeren-ww/WeEat/pull/7"},"issue":{"href":"https://api.github.com/repos/okeren-ww/WeEat/issues/7"},"comments":{"href":"https://api.github.com/repos/okeren-ww/WeEat/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/okeren-ww/WeEat/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/okeren-ww/WeEat/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/okeren-ww/WeEat/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/okeren-ww/WeEat/statuses/5eed72dc8813bb69c5e48555b7b95e97ebc75b8a"}},"author_association":"OWNER"}}
{"actor":{"display_login":"okeren-ww"}}