{"action":"created","comment":{"url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/pulls/comments/181597729","pull_request_review_id":112251945,"id":181597729,"diff_hunk":"@@ -0,0 +1,39 @@\n+import React, { Component } from 'react';\n+\n+import './Step.css';\n+\n+class Step extends Component {\n+  static defaultProps = {\n+    isSelected: false,\n+    isClickable: false,\n+    number: 0,\n+    onClick: f => f,\n+  };\n+\n+  handleClick = event => {\n+    const { onClick, isClickable, number } = this.props;\n+\n+    if (isClickable) {\n+      onClick(number);\n+    }\n+  };\n+\n+  render() {\n+    const { number, isSelected, isClickable } = this.props;\n+\n+    return (\n+      <div\n+        className={`step ${isSelected ? 'step-selected' : ''} ${","path":"src/components/Step/Step.js","position":26,"original_position":26,"commit_id":"036cda9fd356fb146f9bc4a364e16ffdbf41147e","original_commit_id":"036cda9fd356fb146f9bc4a364e16ffdbf41147e","user":{"login":"mvk85","id":20511691,"avatar_url":"https://avatars0.githubusercontent.com/u/20511691?v=4","gravatar_id":"","url":"https://api.github.com/users/mvk85","html_url":"https://github.com/mvk85","followers_url":"https://api.github.com/users/mvk85/followers","following_url":"https://api.github.com/users/mvk85/following{/other_user}","gists_url":"https://api.github.com/users/mvk85/gists{/gist_id}","starred_url":"https://api.github.com/users/mvk85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvk85/subscriptions","organizations_url":"https://api.github.com/users/mvk85/orgs","repos_url":"https://api.github.com/users/mvk85/repos","events_url":"https://api.github.com/users/mvk85/events{/privacy}","received_events_url":"https://api.github.com/users/mvk85/received_events","type":"User","site_admin":false},"body":"переделать формирование класса через https://github.com/JedWatson/classnames","created_at":"2018-04-15T21:28:06Z","updated_at":"2018-04-15T21:29:06Z","html_url":"https://github.com/dex157/april_loftschool_react_homeworks/pull/67#discussion_r181597729","pull_request_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/pulls/67","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/pulls/comments/181597729"},"html":{"href":"https://github.com/dex157/april_loftschool_react_homeworks/pull/67#discussion_r181597729"},"pull_request":{"href":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/pulls/67"}}},"pull_request":{"url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/pulls/67","id":181701676,"html_url":"https://github.com/dex157/april_loftschool_react_homeworks/pull/67","diff_url":"https://github.com/dex157/april_loftschool_react_homeworks/pull/67.diff","patch_url":"https://github.com/dex157/april_loftschool_react_homeworks/pull/67.patch","issue_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/issues/67","number":67,"state":"open","locked":false,"title":"pogorelyi/homework_3","user":{"login":"Lfyxan","id":13608170,"avatar_url":"https://avatars0.githubusercontent.com/u/13608170?v=4","gravatar_id":"","url":"https://api.github.com/users/Lfyxan","html_url":"https://github.com/Lfyxan","followers_url":"https://api.github.com/users/Lfyxan/followers","following_url":"https://api.github.com/users/Lfyxan/following{/other_user}","gists_url":"https://api.github.com/users/Lfyxan/gists{/gist_id}","starred_url":"https://api.github.com/users/Lfyxan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lfyxan/subscriptions","organizations_url":"https://api.github.com/users/Lfyxan/orgs","repos_url":"https://api.github.com/users/Lfyxan/repos","events_url":"https://api.github.com/users/Lfyxan/events{/privacy}","received_events_url":"https://api.github.com/users/Lfyxan/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-15T14:25:07Z","updated_at":"2018-04-15T21:29:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"abe8ec601a9d9cc82a37aaf1e27c409ad11c16af","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/pulls/67/commits","review_comments_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/pulls/67/comments","review_comment_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/issues/67/comments","statuses_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/statuses/036cda9fd356fb146f9bc4a364e16ffdbf41147e","head":{"label":"Lfyxan:homework-3","ref":"homework-3","sha":"036cda9fd356fb146f9bc4a364e16ffdbf41147e","user":{"login":"Lfyxan","id":13608170,"avatar_url":"https://avatars0.githubusercontent.com/u/13608170?v=4","gravatar_id":"","url":"https://api.github.com/users/Lfyxan","html_url":"https://github.com/Lfyxan","followers_url":"https://api.github.com/users/Lfyxan/followers","following_url":"https://api.github.com/users/Lfyxan/following{/other_user}","gists_url":"https://api.github.com/users/Lfyxan/gists{/gist_id}","starred_url":"https://api.github.com/users/Lfyxan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lfyxan/subscriptions","organizations_url":"https://api.github.com/users/Lfyxan/orgs","repos_url":"https://api.github.com/users/Lfyxan/repos","events_url":"https://api.github.com/users/Lfyxan/events{/privacy}","received_events_url":"https://api.github.com/users/Lfyxan/received_events","type":"User","site_admin":false},"repo":{"id":127874230,"name":"april_loftschool_react_homeworks","full_name":"Lfyxan/april_loftschool_react_homeworks","owner":{"login":"Lfyxan","id":13608170,"avatar_url":"https://avatars0.githubusercontent.com/u/13608170?v=4","gravatar_id":"","url":"https://api.github.com/users/Lfyxan","html_url":"https://github.com/Lfyxan","followers_url":"https://api.github.com/users/Lfyxan/followers","following_url":"https://api.github.com/users/Lfyxan/following{/other_user}","gists_url":"https://api.github.com/users/Lfyxan/gists{/gist_id}","starred_url":"https://api.github.com/users/Lfyxan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lfyxan/subscriptions","organizations_url":"https://api.github.com/users/Lfyxan/orgs","repos_url":"https://api.github.com/users/Lfyxan/repos","events_url":"https://api.github.com/users/Lfyxan/events{/privacy}","received_events_url":"https://api.github.com/users/Lfyxan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Lfyxan/april_loftschool_react_homeworks","description":null,"fork":true,"url":"https://api.github.com/repos/Lfyxan/april_loftschool_react_homeworks","forks_url":"https://api.github.com/repos/Lfyxan/april_loftschool_react_homeworks/forks","keys_url":"https://api.github.com/repos/Lfyxan/april_loftschool_react_homeworks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Lfyxan/april_loftschool_react_homeworks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Lfyxan/april_loftschool_react_homeworks/teams","hooks_url":"https://api.github.com/repos/Lfyxan/april_loftschool_react_homeworks/hooks","issue_events_url":"https://api.github.com/repos/Lfyxan/april_loftschool_react_homeworks/issues/events{/number}","events_url":"https://api.github.com/repos/Lfyxan/april_loftschool_react_homeworks/events","assignees_url":"https://api.github.com/repos/Lfyxan/april_loftschool_react_homeworks/assignees{/user}","branches_url":"https://api.github.com/repos/Lfyxan/april_loftschool_react_homeworks/branches{/branch}","tags_url":"https://api.github.com/repos/Lfyxan/april_loftschool_react_homeworks/tags","blobs_url":"https://api.github.com/repos/Lfyxan/april_loftschool_react_homeworks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Lfyxan/april_loftschool_react_homeworks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Lfyxan/april_loftschool_react_homeworks/git/refs{/sha}","trees_url":"https://api.github.com/repos/Lfyxan/april_loftschool_react_homeworks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Lfyxan/april_loftschool_react_homeworks/statuses/{sha}","languages_url":"https://api.github.com/repos/Lfyxan/april_loftschool_react_homeworks/languages","stargazers_url":"https://api.github.com/repos/Lfyxan/april_loftschool_react_homeworks/stargazers","contributors_url":"https://api.github.com/repos/Lfyxan/april_loftschool_react_homeworks/contributors","subscribers_url":"https://api.github.com/repos/Lfyxan/april_loftschool_react_homeworks/subscribers","subscription_url":"https://api.github.com/repos/Lfyxan/april_loftschool_react_homeworks/subscription","commits_url":"https://api.github.com/repos/Lfyxan/april_loftschool_react_homeworks/commits{/sha}","git_commits_url":"https://api.github.com/repos/Lfyxan/april_loftschool_react_homeworks/git/commits{/sha}","comments_url":"https://api.github.com/repos/Lfyxan/april_loftschool_react_homeworks/comments{/number}","issue_comment_url":"https://api.github.com/repos/Lfyxan/april_loftschool_react_homeworks/issues/comments{/number}","contents_url":"https://api.github.com/repos/Lfyxan/april_loftschool_react_homeworks/contents/{+path}","compare_url":"https://api.github.com/repos/Lfyxan/april_loftschool_react_homeworks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Lfyxan/april_loftschool_react_homeworks/merges","archive_url":"https://api.github.com/repos/Lfyxan/april_loftschool_react_homeworks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Lfyxan/april_loftschool_react_homeworks/downloads","issues_url":"https://api.github.com/repos/Lfyxan/april_loftschool_react_homeworks/issues{/number}","pulls_url":"https://api.github.com/repos/Lfyxan/april_loftschool_react_homeworks/pulls{/number}","milestones_url":"https://api.github.com/repos/Lfyxan/april_loftschool_react_homeworks/milestones{/number}","notifications_url":"https://api.github.com/repos/Lfyxan/april_loftschool_react_homeworks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Lfyxan/april_loftschool_react_homeworks/labels{/name}","releases_url":"https://api.github.com/repos/Lfyxan/april_loftschool_react_homeworks/releases{/id}","deployments_url":"https://api.github.com/repos/Lfyxan/april_loftschool_react_homeworks/deployments","created_at":"2018-04-03T08:14:30Z","updated_at":"2018-04-03T08:14:32Z","pushed_at":"2018-04-15T14:22:59Z","git_url":"git://github.com/Lfyxan/april_loftschool_react_homeworks.git","ssh_url":"git@github.com:Lfyxan/april_loftschool_react_homeworks.git","clone_url":"https://github.com/Lfyxan/april_loftschool_react_homeworks.git","svn_url":"https://github.com/Lfyxan/april_loftschool_react_homeworks","homepage":null,"size":816,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dex157:pogorelyi/homework_3","ref":"pogorelyi/homework_3","sha":"4f3b785c1211d50356eaf29f6ad9f9ef722b01a0","user":{"login":"dex157","id":862978,"avatar_url":"https://avatars2.githubusercontent.com/u/862978?v=4","gravatar_id":"","url":"https://api.github.com/users/dex157","html_url":"https://github.com/dex157","followers_url":"https://api.github.com/users/dex157/followers","following_url":"https://api.github.com/users/dex157/following{/other_user}","gists_url":"https://api.github.com/users/dex157/gists{/gist_id}","starred_url":"https://api.github.com/users/dex157/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dex157/subscriptions","organizations_url":"https://api.github.com/users/dex157/orgs","repos_url":"https://api.github.com/users/dex157/repos","events_url":"https://api.github.com/users/dex157/events{/privacy}","received_events_url":"https://api.github.com/users/dex157/received_events","type":"User","site_admin":false},"repo":{"id":127768582,"name":"april_loftschool_react_homeworks","full_name":"dex157/april_loftschool_react_homeworks","owner":{"login":"dex157","id":862978,"avatar_url":"https://avatars2.githubusercontent.com/u/862978?v=4","gravatar_id":"","url":"https://api.github.com/users/dex157","html_url":"https://github.com/dex157","followers_url":"https://api.github.com/users/dex157/followers","following_url":"https://api.github.com/users/dex157/following{/other_user}","gists_url":"https://api.github.com/users/dex157/gists{/gist_id}","starred_url":"https://api.github.com/users/dex157/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dex157/subscriptions","organizations_url":"https://api.github.com/users/dex157/orgs","repos_url":"https://api.github.com/users/dex157/repos","events_url":"https://api.github.com/users/dex157/events{/privacy}","received_events_url":"https://api.github.com/users/dex157/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dex157/april_loftschool_react_homeworks","description":null,"fork":false,"url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks","forks_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/forks","keys_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/teams","hooks_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/hooks","issue_events_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/issues/events{/number}","events_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/events","assignees_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/assignees{/user}","branches_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/branches{/branch}","tags_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/tags","blobs_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/git/refs{/sha}","trees_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/statuses/{sha}","languages_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/languages","stargazers_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/stargazers","contributors_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/contributors","subscribers_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/subscribers","subscription_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/subscription","commits_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/commits{/sha}","git_commits_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/git/commits{/sha}","comments_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/comments{/number}","issue_comment_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/issues/comments{/number}","contents_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/contents/{+path}","compare_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/merges","archive_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/downloads","issues_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/issues{/number}","pulls_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/pulls{/number}","milestones_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/milestones{/number}","notifications_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/labels{/name}","releases_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/releases{/id}","deployments_url":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/deployments","created_at":"2018-04-02T14:37:55Z","updated_at":"2018-04-15T18:44:08Z","pushed_at":"2018-04-15T21:27:42Z","git_url":"git://github.com/dex157/april_loftschool_react_homeworks.git","ssh_url":"git@github.com:dex157/april_loftschool_react_homeworks.git","clone_url":"https://github.com/dex157/april_loftschool_react_homeworks.git","svn_url":"https://github.com/dex157/april_loftschool_react_homeworks","homepage":null,"size":48508,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"archived":false,"open_issues_count":48,"license":null,"forks":20,"open_issues":48,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/pulls/67"},"html":{"href":"https://github.com/dex157/april_loftschool_react_homeworks/pull/67"},"issue":{"href":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/issues/67"},"comments":{"href":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/issues/67/comments"},"review_comments":{"href":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/pulls/67/comments"},"review_comment":{"href":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/pulls/67/commits"},"statuses":{"href":"https://api.github.com/repos/dex157/april_loftschool_react_homeworks/statuses/036cda9fd356fb146f9bc4a364e16ffdbf41147e"}},"author_association":"NONE"}}
{"actor":{"display_login":"mvk85"}}