{"action":"created","comment":{"url":"https://api.github.com/repos/brainly/style-guide/pulls/comments/123172028","pull_request_review_id":45347625,"id":123172028,"diff_hunk":"@@ -0,0 +1,35 @@\n+import React from 'react';\n+import PropTypes from 'prop-types';\n+import classNames from 'classnames';\n+\n+\n+const Bubble = ({alignment, direction, full, children}) => {\n+  let alignmentClass;\n+\n+  if (['left', 'right'].includes(direction)) {","path":"src/components/bubble/Bubble.jsx","position":null,"original_position":9,"commit_id":"bc21b28fd05a873a8031a7e5b3cf078394831f38","original_commit_id":"2d00972206f3f0f693620928a0859e7eca6888c2","user":{"login":"matikrk","id":17196505,"avatar_url":"https://avatars2.githubusercontent.com/u/17196505?v=3","gravatar_id":"","url":"https://api.github.com/users/matikrk","html_url":"https://github.com/matikrk","followers_url":"https://api.github.com/users/matikrk/followers","following_url":"https://api.github.com/users/matikrk/following{/other_user}","gists_url":"https://api.github.com/users/matikrk/gists{/gist_id}","starred_url":"https://api.github.com/users/matikrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matikrk/subscriptions","organizations_url":"https://api.github.com/users/matikrk/orgs","repos_url":"https://api.github.com/users/matikrk/repos","events_url":"https://api.github.com/users/matikrk/events{/privacy}","received_events_url":"https://api.github.com/users/matikrk/received_events","type":"User","site_admin":false},"body":"constants extracted to variables","created_at":"2017-06-21T07:30:15Z","updated_at":"2017-06-21T07:30:15Z","html_url":"https://github.com/brainly/style-guide/pull/1005#discussion_r123172028","pull_request_url":"https://api.github.com/repos/brainly/style-guide/pulls/1005","_links":{"self":{"href":"https://api.github.com/repos/brainly/style-guide/pulls/comments/123172028"},"html":{"href":"https://github.com/brainly/style-guide/pull/1005#discussion_r123172028"},"pull_request":{"href":"https://api.github.com/repos/brainly/style-guide/pulls/1005"}}},"pull_request":{"url":"https://api.github.com/repos/brainly/style-guide/pulls/1005","id":126558147,"html_url":"https://github.com/brainly/style-guide/pull/1005","diff_url":"https://github.com/brainly/style-guide/pull/1005.diff","patch_url":"https://github.com/brainly/style-guide/pull/1005.patch","issue_url":"https://api.github.com/repos/brainly/style-guide/issues/1005","number":1005,"state":"open","locked":false,"title":"Bubble react component","user":{"login":"matikrk","id":17196505,"avatar_url":"https://avatars2.githubusercontent.com/u/17196505?v=3","gravatar_id":"","url":"https://api.github.com/users/matikrk","html_url":"https://github.com/matikrk","followers_url":"https://api.github.com/users/matikrk/followers","following_url":"https://api.github.com/users/matikrk/following{/other_user}","gists_url":"https://api.github.com/users/matikrk/gists{/gist_id}","starred_url":"https://api.github.com/users/matikrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matikrk/subscriptions","organizations_url":"https://api.github.com/users/matikrk/orgs","repos_url":"https://api.github.com/users/matikrk/repos","events_url":"https://api.github.com/users/matikrk/events{/privacy}","received_events_url":"https://api.github.com/users/matikrk/received_events","type":"User","site_admin":false},"body":"* create component\r\n* create page in React and replace old one\r\n* create DocsBlock.jsx component\r\n* create tests\r\n* eslint add env jest\r\n* add enzyme library for testing react","created_at":"2017-06-20T15:10:59Z","updated_at":"2017-06-21T07:30:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2f3b87c9ce428347b9fea82ce705aae6efb79348","assignee":null,"assignees":[],"requested_reviewers":[{"login":"vergilius","id":1142999,"avatar_url":"https://avatars1.githubusercontent.com/u/1142999?v=3","gravatar_id":"","url":"https://api.github.com/users/vergilius","html_url":"https://github.com/vergilius","followers_url":"https://api.github.com/users/vergilius/followers","following_url":"https://api.github.com/users/vergilius/following{/other_user}","gists_url":"https://api.github.com/users/vergilius/gists{/gist_id}","starred_url":"https://api.github.com/users/vergilius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vergilius/subscriptions","organizations_url":"https://api.github.com/users/vergilius/orgs","repos_url":"https://api.github.com/users/vergilius/repos","events_url":"https://api.github.com/users/vergilius/events{/privacy}","received_events_url":"https://api.github.com/users/vergilius/received_events","type":"User","site_admin":false},{"login":"matzimowski","id":1231144,"avatar_url":"https://avatars0.githubusercontent.com/u/1231144?v=3","gravatar_id":"","url":"https://api.github.com/users/matzimowski","html_url":"https://github.com/matzimowski","followers_url":"https://api.github.com/users/matzimowski/followers","following_url":"https://api.github.com/users/matzimowski/following{/other_user}","gists_url":"https://api.github.com/users/matzimowski/gists{/gist_id}","starred_url":"https://api.github.com/users/matzimowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matzimowski/subscriptions","organizations_url":"https://api.github.com/users/matzimowski/orgs","repos_url":"https://api.github.com/users/matzimowski/repos","events_url":"https://api.github.com/users/matzimowski/events{/privacy}","received_events_url":"https://api.github.com/users/matzimowski/received_events","type":"User","site_admin":false},{"login":"burakukula","id":4272331,"avatar_url":"https://avatars0.githubusercontent.com/u/4272331?v=3","gravatar_id":"","url":"https://api.github.com/users/burakukula","html_url":"https://github.com/burakukula","followers_url":"https://api.github.com/users/burakukula/followers","following_url":"https://api.github.com/users/burakukula/following{/other_user}","gists_url":"https://api.github.com/users/burakukula/gists{/gist_id}","starred_url":"https://api.github.com/users/burakukula/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burakukula/subscriptions","organizations_url":"https://api.github.com/users/burakukula/orgs","repos_url":"https://api.github.com/users/burakukula/repos","events_url":"https://api.github.com/users/burakukula/events{/privacy}","received_events_url":"https://api.github.com/users/burakukula/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/brainly/style-guide/pulls/1005/commits","review_comments_url":"https://api.github.com/repos/brainly/style-guide/pulls/1005/comments","review_comment_url":"https://api.github.com/repos/brainly/style-guide/pulls/comments{/number}","comments_url":"https://api.github.com/repos/brainly/style-guide/issues/1005/comments","statuses_url":"https://api.github.com/repos/brainly/style-guide/statuses/bc21b28fd05a873a8031a7e5b3cf078394831f38","head":{"label":"brainly:bubble-react-component","ref":"bubble-react-component","sha":"bc21b28fd05a873a8031a7e5b3cf078394831f38","user":{"login":"brainly","id":3603351,"avatar_url":"https://avatars3.githubusercontent.com/u/3603351?v=3","gravatar_id":"","url":"https://api.github.com/users/brainly","html_url":"https://github.com/brainly","followers_url":"https://api.github.com/users/brainly/followers","following_url":"https://api.github.com/users/brainly/following{/other_user}","gists_url":"https://api.github.com/users/brainly/gists{/gist_id}","starred_url":"https://api.github.com/users/brainly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brainly/subscriptions","organizations_url":"https://api.github.com/users/brainly/orgs","repos_url":"https://api.github.com/users/brainly/repos","events_url":"https://api.github.com/users/brainly/events{/privacy}","received_events_url":"https://api.github.com/users/brainly/received_events","type":"Organization","site_admin":false},"repo":{"id":37660230,"name":"style-guide","full_name":"brainly/style-guide","owner":{"login":"brainly","id":3603351,"avatar_url":"https://avatars3.githubusercontent.com/u/3603351?v=3","gravatar_id":"","url":"https://api.github.com/users/brainly","html_url":"https://github.com/brainly","followers_url":"https://api.github.com/users/brainly/followers","following_url":"https://api.github.com/users/brainly/following{/other_user}","gists_url":"https://api.github.com/users/brainly/gists{/gist_id}","starred_url":"https://api.github.com/users/brainly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brainly/subscriptions","organizations_url":"https://api.github.com/users/brainly/orgs","repos_url":"https://api.github.com/users/brainly/repos","events_url":"https://api.github.com/users/brainly/events{/privacy}","received_events_url":"https://api.github.com/users/brainly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/brainly/style-guide","description":":art: Brainly Front-End Style Guide","fork":false,"url":"https://api.github.com/repos/brainly/style-guide","forks_url":"https://api.github.com/repos/brainly/style-guide/forks","keys_url":"https://api.github.com/repos/brainly/style-guide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brainly/style-guide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brainly/style-guide/teams","hooks_url":"https://api.github.com/repos/brainly/style-guide/hooks","issue_events_url":"https://api.github.com/repos/brainly/style-guide/issues/events{/number}","events_url":"https://api.github.com/repos/brainly/style-guide/events","assignees_url":"https://api.github.com/repos/brainly/style-guide/assignees{/user}","branches_url":"https://api.github.com/repos/brainly/style-guide/branches{/branch}","tags_url":"https://api.github.com/repos/brainly/style-guide/tags","blobs_url":"https://api.github.com/repos/brainly/style-guide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brainly/style-guide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brainly/style-guide/git/refs{/sha}","trees_url":"https://api.github.com/repos/brainly/style-guide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brainly/style-guide/statuses/{sha}","languages_url":"https://api.github.com/repos/brainly/style-guide/languages","stargazers_url":"https://api.github.com/repos/brainly/style-guide/stargazers","contributors_url":"https://api.github.com/repos/brainly/style-guide/contributors","subscribers_url":"https://api.github.com/repos/brainly/style-guide/subscribers","subscription_url":"https://api.github.com/repos/brainly/style-guide/subscription","commits_url":"https://api.github.com/repos/brainly/style-guide/commits{/sha}","git_commits_url":"https://api.github.com/repos/brainly/style-guide/git/commits{/sha}","comments_url":"https://api.github.com/repos/brainly/style-guide/comments{/number}","issue_comment_url":"https://api.github.com/repos/brainly/style-guide/issues/comments{/number}","contents_url":"https://api.github.com/repos/brainly/style-guide/contents/{+path}","compare_url":"https://api.github.com/repos/brainly/style-guide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brainly/style-guide/merges","archive_url":"https://api.github.com/repos/brainly/style-guide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brainly/style-guide/downloads","issues_url":"https://api.github.com/repos/brainly/style-guide/issues{/number}","pulls_url":"https://api.github.com/repos/brainly/style-guide/pulls{/number}","milestones_url":"https://api.github.com/repos/brainly/style-guide/milestones{/number}","notifications_url":"https://api.github.com/repos/brainly/style-guide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brainly/style-guide/labels{/name}","releases_url":"https://api.github.com/repos/brainly/style-guide/releases{/id}","deployments_url":"https://api.github.com/repos/brainly/style-guide/deployments","created_at":"2015-06-18T13:12:08Z","updated_at":"2017-05-31T15:27:54Z","pushed_at":"2017-06-21T07:28:56Z","git_url":"git://github.com/brainly/style-guide.git","ssh_url":"git@github.com:brainly/style-guide.git","clone_url":"https://github.com/brainly/style-guide.git","svn_url":"https://github.com/brainly/style-guide","homepage":"https://styleguide.brainly.com/","size":12132,"stargazers_count":67,"watchers_count":67,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":41,"forks":14,"open_issues":41,"watchers":67,"default_branch":"master"}},"base":{"label":"brainly:master","ref":"master","sha":"2be62d0f92a31a16aae565fc9aa51fff025f4913","user":{"login":"brainly","id":3603351,"avatar_url":"https://avatars3.githubusercontent.com/u/3603351?v=3","gravatar_id":"","url":"https://api.github.com/users/brainly","html_url":"https://github.com/brainly","followers_url":"https://api.github.com/users/brainly/followers","following_url":"https://api.github.com/users/brainly/following{/other_user}","gists_url":"https://api.github.com/users/brainly/gists{/gist_id}","starred_url":"https://api.github.com/users/brainly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brainly/subscriptions","organizations_url":"https://api.github.com/users/brainly/orgs","repos_url":"https://api.github.com/users/brainly/repos","events_url":"https://api.github.com/users/brainly/events{/privacy}","received_events_url":"https://api.github.com/users/brainly/received_events","type":"Organization","site_admin":false},"repo":{"id":37660230,"name":"style-guide","full_name":"brainly/style-guide","owner":{"login":"brainly","id":3603351,"avatar_url":"https://avatars3.githubusercontent.com/u/3603351?v=3","gravatar_id":"","url":"https://api.github.com/users/brainly","html_url":"https://github.com/brainly","followers_url":"https://api.github.com/users/brainly/followers","following_url":"https://api.github.com/users/brainly/following{/other_user}","gists_url":"https://api.github.com/users/brainly/gists{/gist_id}","starred_url":"https://api.github.com/users/brainly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brainly/subscriptions","organizations_url":"https://api.github.com/users/brainly/orgs","repos_url":"https://api.github.com/users/brainly/repos","events_url":"https://api.github.com/users/brainly/events{/privacy}","received_events_url":"https://api.github.com/users/brainly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/brainly/style-guide","description":":art: Brainly Front-End Style Guide","fork":false,"url":"https://api.github.com/repos/brainly/style-guide","forks_url":"https://api.github.com/repos/brainly/style-guide/forks","keys_url":"https://api.github.com/repos/brainly/style-guide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brainly/style-guide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brainly/style-guide/teams","hooks_url":"https://api.github.com/repos/brainly/style-guide/hooks","issue_events_url":"https://api.github.com/repos/brainly/style-guide/issues/events{/number}","events_url":"https://api.github.com/repos/brainly/style-guide/events","assignees_url":"https://api.github.com/repos/brainly/style-guide/assignees{/user}","branches_url":"https://api.github.com/repos/brainly/style-guide/branches{/branch}","tags_url":"https://api.github.com/repos/brainly/style-guide/tags","blobs_url":"https://api.github.com/repos/brainly/style-guide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brainly/style-guide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brainly/style-guide/git/refs{/sha}","trees_url":"https://api.github.com/repos/brainly/style-guide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brainly/style-guide/statuses/{sha}","languages_url":"https://api.github.com/repos/brainly/style-guide/languages","stargazers_url":"https://api.github.com/repos/brainly/style-guide/stargazers","contributors_url":"https://api.github.com/repos/brainly/style-guide/contributors","subscribers_url":"https://api.github.com/repos/brainly/style-guide/subscribers","subscription_url":"https://api.github.com/repos/brainly/style-guide/subscription","commits_url":"https://api.github.com/repos/brainly/style-guide/commits{/sha}","git_commits_url":"https://api.github.com/repos/brainly/style-guide/git/commits{/sha}","comments_url":"https://api.github.com/repos/brainly/style-guide/comments{/number}","issue_comment_url":"https://api.github.com/repos/brainly/style-guide/issues/comments{/number}","contents_url":"https://api.github.com/repos/brainly/style-guide/contents/{+path}","compare_url":"https://api.github.com/repos/brainly/style-guide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brainly/style-guide/merges","archive_url":"https://api.github.com/repos/brainly/style-guide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brainly/style-guide/downloads","issues_url":"https://api.github.com/repos/brainly/style-guide/issues{/number}","pulls_url":"https://api.github.com/repos/brainly/style-guide/pulls{/number}","milestones_url":"https://api.github.com/repos/brainly/style-guide/milestones{/number}","notifications_url":"https://api.github.com/repos/brainly/style-guide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brainly/style-guide/labels{/name}","releases_url":"https://api.github.com/repos/brainly/style-guide/releases{/id}","deployments_url":"https://api.github.com/repos/brainly/style-guide/deployments","created_at":"2015-06-18T13:12:08Z","updated_at":"2017-05-31T15:27:54Z","pushed_at":"2017-06-21T07:28:56Z","git_url":"git://github.com/brainly/style-guide.git","ssh_url":"git@github.com:brainly/style-guide.git","clone_url":"https://github.com/brainly/style-guide.git","svn_url":"https://github.com/brainly/style-guide","homepage":"https://styleguide.brainly.com/","size":12132,"stargazers_count":67,"watchers_count":67,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":41,"forks":14,"open_issues":41,"watchers":67,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/brainly/style-guide/pulls/1005"},"html":{"href":"https://github.com/brainly/style-guide/pull/1005"},"issue":{"href":"https://api.github.com/repos/brainly/style-guide/issues/1005"},"comments":{"href":"https://api.github.com/repos/brainly/style-guide/issues/1005/comments"},"review_comments":{"href":"https://api.github.com/repos/brainly/style-guide/pulls/1005/comments"},"review_comment":{"href":"https://api.github.com/repos/brainly/style-guide/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/brainly/style-guide/pulls/1005/commits"},"statuses":{"href":"https://api.github.com/repos/brainly/style-guide/statuses/bc21b28fd05a873a8031a7e5b3cf078394831f38"}}}}
{"actor":{"display_login":"matikrk"}}