{"action":"created","comment":{"url":"https://api.github.com/repos/OlegBabiuk/TodoApp/pulls/comments/260942990","pull_request_review_id":208764479,"id":260942990,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI2MDk0Mjk5MA==","diff_hunk":"@@ -0,0 +1,49 @@\n+import React from 'react';\n+import PropTypes from 'prop-types';\n+\n+function FilterItems(props) {\n+  const { changeFilter } = props;\n+  const handlerClick = (event) => {\n+    event.preventDefault();\n+    changeFilter(event.target.value);\n+  };\n+\n+  return (\n+    <div className=\"form-Add-Item__filter\">\n+      <input\n+        className=\"form-Add-Item__btn\"\n+        type=\"submit\"\n+        value=\"All\"\n+        onClick={handlerClick}","path":"src/js/components/FilterItems.jsx","position":17,"original_position":17,"commit_id":"41e8c4d5f89934148a58fc9d83211143b6580247","original_commit_id":"41e8c4d5f89934148a58fc9d83211143b6580247","user":{"login":"ivadimko","id":29413892,"node_id":"MDQ6VXNlcjI5NDEzODky","avatar_url":"https://avatars3.githubusercontent.com/u/29413892?v=4","gravatar_id":"","url":"https://api.github.com/users/ivadimko","html_url":"https://github.com/ivadimko","followers_url":"https://api.github.com/users/ivadimko/followers","following_url":"https://api.github.com/users/ivadimko/following{/other_user}","gists_url":"https://api.github.com/users/ivadimko/gists{/gist_id}","starred_url":"https://api.github.com/users/ivadimko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivadimko/subscriptions","organizations_url":"https://api.github.com/users/ivadimko/orgs","repos_url":"https://api.github.com/users/ivadimko/repos","events_url":"https://api.github.com/users/ivadimko/events{/privacy}","received_events_url":"https://api.github.com/users/ivadimko/received_events","type":"User","site_admin":false},"body":"Можно вместо `input type=\"submit\"` сделать просто кнопку или ссылку, а в обработчик передать \r\n`onClick={() => handlerClick('All')}`","created_at":"2019-02-27T21:04:09Z","updated_at":"2019-02-27T21:16:39Z","html_url":"https://github.com/OlegBabiuk/TodoApp/pull/1#discussion_r260942990","pull_request_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/pulls/1","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/OlegBabiuk/TodoApp/pulls/comments/260942990"},"html":{"href":"https://github.com/OlegBabiuk/TodoApp/pull/1#discussion_r260942990"},"pull_request":{"href":"https://api.github.com/repos/OlegBabiuk/TodoApp/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/OlegBabiuk/TodoApp/pulls/1","id":256273688,"node_id":"MDExOlB1bGxSZXF1ZXN0MjU2MjczNjg4","html_url":"https://github.com/OlegBabiuk/TodoApp/pull/1","diff_url":"https://github.com/OlegBabiuk/TodoApp/pull/1.diff","patch_url":"https://github.com/OlegBabiuk/TodoApp/pull/1.patch","issue_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/issues/1","number":1,"state":"open","locked":false,"title":"Initial commit","user":{"login":"OlegBabiuk","id":42335942,"node_id":"MDQ6VXNlcjQyMzM1OTQy","avatar_url":"https://avatars1.githubusercontent.com/u/42335942?v=4","gravatar_id":"","url":"https://api.github.com/users/OlegBabiuk","html_url":"https://github.com/OlegBabiuk","followers_url":"https://api.github.com/users/OlegBabiuk/followers","following_url":"https://api.github.com/users/OlegBabiuk/following{/other_user}","gists_url":"https://api.github.com/users/OlegBabiuk/gists{/gist_id}","starred_url":"https://api.github.com/users/OlegBabiuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlegBabiuk/subscriptions","organizations_url":"https://api.github.com/users/OlegBabiuk/orgs","repos_url":"https://api.github.com/users/OlegBabiuk/repos","events_url":"https://api.github.com/users/OlegBabiuk/events{/privacy}","received_events_url":"https://api.github.com/users/OlegBabiuk/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-02-26T13:00:40Z","updated_at":"2019-02-27T21:16:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"acdb320bfc8d28da15f47de4f1bb11a95f7ca157","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/pulls/1/commits","review_comments_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/pulls/1/comments","review_comment_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/issues/1/comments","statuses_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/statuses/41e8c4d5f89934148a58fc9d83211143b6580247","head":{"label":"OlegBabiuk:develop","ref":"develop","sha":"41e8c4d5f89934148a58fc9d83211143b6580247","user":{"login":"OlegBabiuk","id":42335942,"node_id":"MDQ6VXNlcjQyMzM1OTQy","avatar_url":"https://avatars1.githubusercontent.com/u/42335942?v=4","gravatar_id":"","url":"https://api.github.com/users/OlegBabiuk","html_url":"https://github.com/OlegBabiuk","followers_url":"https://api.github.com/users/OlegBabiuk/followers","following_url":"https://api.github.com/users/OlegBabiuk/following{/other_user}","gists_url":"https://api.github.com/users/OlegBabiuk/gists{/gist_id}","starred_url":"https://api.github.com/users/OlegBabiuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlegBabiuk/subscriptions","organizations_url":"https://api.github.com/users/OlegBabiuk/orgs","repos_url":"https://api.github.com/users/OlegBabiuk/repos","events_url":"https://api.github.com/users/OlegBabiuk/events{/privacy}","received_events_url":"https://api.github.com/users/OlegBabiuk/received_events","type":"User","site_admin":false},"repo":{"id":172689313,"node_id":"MDEwOlJlcG9zaXRvcnkxNzI2ODkzMTM=","name":"TodoApp","full_name":"OlegBabiuk/TodoApp","private":false,"owner":{"login":"OlegBabiuk","id":42335942,"node_id":"MDQ6VXNlcjQyMzM1OTQy","avatar_url":"https://avatars1.githubusercontent.com/u/42335942?v=4","gravatar_id":"","url":"https://api.github.com/users/OlegBabiuk","html_url":"https://github.com/OlegBabiuk","followers_url":"https://api.github.com/users/OlegBabiuk/followers","following_url":"https://api.github.com/users/OlegBabiuk/following{/other_user}","gists_url":"https://api.github.com/users/OlegBabiuk/gists{/gist_id}","starred_url":"https://api.github.com/users/OlegBabiuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlegBabiuk/subscriptions","organizations_url":"https://api.github.com/users/OlegBabiuk/orgs","repos_url":"https://api.github.com/users/OlegBabiuk/repos","events_url":"https://api.github.com/users/OlegBabiuk/events{/privacy}","received_events_url":"https://api.github.com/users/OlegBabiuk/received_events","type":"User","site_admin":false},"html_url":"https://github.com/OlegBabiuk/TodoApp","description":null,"fork":false,"url":"https://api.github.com/repos/OlegBabiuk/TodoApp","forks_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/forks","keys_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/teams","hooks_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/hooks","issue_events_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/issues/events{/number}","events_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/events","assignees_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/assignees{/user}","branches_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/branches{/branch}","tags_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/tags","blobs_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/git/refs{/sha}","trees_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/statuses/{sha}","languages_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/languages","stargazers_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/stargazers","contributors_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/contributors","subscribers_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/subscribers","subscription_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/subscription","commits_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/commits{/sha}","git_commits_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/git/commits{/sha}","comments_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/comments{/number}","issue_comment_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/issues/comments{/number}","contents_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/contents/{+path}","compare_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/merges","archive_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/downloads","issues_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/issues{/number}","pulls_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/pulls{/number}","milestones_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/milestones{/number}","notifications_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/labels{/name}","releases_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/releases{/id}","deployments_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/deployments","created_at":"2019-02-26T10:25:57Z","updated_at":"2019-02-26T12:51:57Z","pushed_at":"2019-02-26T23:33:48Z","git_url":"git://github.com/OlegBabiuk/TodoApp.git","ssh_url":"git@github.com:OlegBabiuk/TodoApp.git","clone_url":"https://github.com/OlegBabiuk/TodoApp.git","svn_url":"https://github.com/OlegBabiuk/TodoApp","homepage":null,"size":262,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"OlegBabiuk:master","ref":"master","sha":"45195a7ef3d12c1a78b08aaaffcff798db26054f","user":{"login":"OlegBabiuk","id":42335942,"node_id":"MDQ6VXNlcjQyMzM1OTQy","avatar_url":"https://avatars1.githubusercontent.com/u/42335942?v=4","gravatar_id":"","url":"https://api.github.com/users/OlegBabiuk","html_url":"https://github.com/OlegBabiuk","followers_url":"https://api.github.com/users/OlegBabiuk/followers","following_url":"https://api.github.com/users/OlegBabiuk/following{/other_user}","gists_url":"https://api.github.com/users/OlegBabiuk/gists{/gist_id}","starred_url":"https://api.github.com/users/OlegBabiuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlegBabiuk/subscriptions","organizations_url":"https://api.github.com/users/OlegBabiuk/orgs","repos_url":"https://api.github.com/users/OlegBabiuk/repos","events_url":"https://api.github.com/users/OlegBabiuk/events{/privacy}","received_events_url":"https://api.github.com/users/OlegBabiuk/received_events","type":"User","site_admin":false},"repo":{"id":172689313,"node_id":"MDEwOlJlcG9zaXRvcnkxNzI2ODkzMTM=","name":"TodoApp","full_name":"OlegBabiuk/TodoApp","private":false,"owner":{"login":"OlegBabiuk","id":42335942,"node_id":"MDQ6VXNlcjQyMzM1OTQy","avatar_url":"https://avatars1.githubusercontent.com/u/42335942?v=4","gravatar_id":"","url":"https://api.github.com/users/OlegBabiuk","html_url":"https://github.com/OlegBabiuk","followers_url":"https://api.github.com/users/OlegBabiuk/followers","following_url":"https://api.github.com/users/OlegBabiuk/following{/other_user}","gists_url":"https://api.github.com/users/OlegBabiuk/gists{/gist_id}","starred_url":"https://api.github.com/users/OlegBabiuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlegBabiuk/subscriptions","organizations_url":"https://api.github.com/users/OlegBabiuk/orgs","repos_url":"https://api.github.com/users/OlegBabiuk/repos","events_url":"https://api.github.com/users/OlegBabiuk/events{/privacy}","received_events_url":"https://api.github.com/users/OlegBabiuk/received_events","type":"User","site_admin":false},"html_url":"https://github.com/OlegBabiuk/TodoApp","description":null,"fork":false,"url":"https://api.github.com/repos/OlegBabiuk/TodoApp","forks_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/forks","keys_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/teams","hooks_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/hooks","issue_events_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/issues/events{/number}","events_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/events","assignees_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/assignees{/user}","branches_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/branches{/branch}","tags_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/tags","blobs_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/git/refs{/sha}","trees_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/statuses/{sha}","languages_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/languages","stargazers_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/stargazers","contributors_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/contributors","subscribers_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/subscribers","subscription_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/subscription","commits_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/commits{/sha}","git_commits_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/git/commits{/sha}","comments_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/comments{/number}","issue_comment_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/issues/comments{/number}","contents_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/contents/{+path}","compare_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/merges","archive_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/downloads","issues_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/issues{/number}","pulls_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/pulls{/number}","milestones_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/milestones{/number}","notifications_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/labels{/name}","releases_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/releases{/id}","deployments_url":"https://api.github.com/repos/OlegBabiuk/TodoApp/deployments","created_at":"2019-02-26T10:25:57Z","updated_at":"2019-02-26T12:51:57Z","pushed_at":"2019-02-26T23:33:48Z","git_url":"git://github.com/OlegBabiuk/TodoApp.git","ssh_url":"git@github.com:OlegBabiuk/TodoApp.git","clone_url":"https://github.com/OlegBabiuk/TodoApp.git","svn_url":"https://github.com/OlegBabiuk/TodoApp","homepage":null,"size":262,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OlegBabiuk/TodoApp/pulls/1"},"html":{"href":"https://github.com/OlegBabiuk/TodoApp/pull/1"},"issue":{"href":"https://api.github.com/repos/OlegBabiuk/TodoApp/issues/1"},"comments":{"href":"https://api.github.com/repos/OlegBabiuk/TodoApp/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/OlegBabiuk/TodoApp/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/OlegBabiuk/TodoApp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OlegBabiuk/TodoApp/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/OlegBabiuk/TodoApp/statuses/41e8c4d5f89934148a58fc9d83211143b6580247"}},"author_association":"OWNER"}}
{"actor":{"display_login":"ivadimko"}}