{"action":"created","comment":{"url":"https://api.github.com/repos/4gangteam/4gangteam/pulls/comments/186529831","pull_request_review_id":118124817,"id":186529831,"diff_hunk":"@@ -0,0 +1,84 @@\n+import React, {Component} from 'react';\n+import block from 'bem-cn';\n+\n+import {propTypes} from './propTypes';\n+import './index.scss';\n+\n+const bem = block('pagination');\n+\n+export default class Pagination extends Component {\n+    constructor() {\n+        super();\n+\n+        this.state = {\n+            current: 0,\n+            quantity: 0\n+        };\n+\n+        this.paginate = this.paginate.bind(this);\n+    }\n+\n+    componentWillMount() {\n+        this.setState({\n+            current: this.props.current,\n+            quantity: this.props.quantity\n+        });\n+    }\n+\n+    render() {\n+        const {\n+            mix,\n+            mods\n+        } = this.props;\n+\n+        const {\n+            current,\n+            quantity\n+        } = this.state;\n+\n+        return (\n+            <div className={bem(mods).mix(mix)()}>\n+                {/* @TODO: Здесь хочется использовать компонент Icon*/}\n+                <button","path":"src/UI/Pagination/index.js","position":42,"original_position":42,"commit_id":"973da1ba3737b3e266107d3a28c62e3dd594dfba","original_commit_id":"973da1ba3737b3e266107d3a28c62e3dd594dfba","user":{"login":"mrmlnc","id":7034281,"avatar_url":"https://avatars3.githubusercontent.com/u/7034281?v=4","gravatar_id":"","url":"https://api.github.com/users/mrmlnc","html_url":"https://github.com/mrmlnc","followers_url":"https://api.github.com/users/mrmlnc/followers","following_url":"https://api.github.com/users/mrmlnc/following{/other_user}","gists_url":"https://api.github.com/users/mrmlnc/gists{/gist_id}","starred_url":"https://api.github.com/users/mrmlnc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrmlnc/subscriptions","organizations_url":"https://api.github.com/users/mrmlnc/orgs","repos_url":"https://api.github.com/users/mrmlnc/repos","events_url":"https://api.github.com/users/mrmlnc/events{/privacy}","received_events_url":"https://api.github.com/users/mrmlnc/received_events","type":"User","site_admin":false},"body":"А разве у нас нет компонента кнопки? Вообще, кажется, что здесь должна быть не кнопка, а ссылка, если следовать семантике.","created_at":"2018-05-07T19:51:48Z","updated_at":"2018-05-07T19:51:58Z","html_url":"https://github.com/4gangteam/4gangteam/pull/64#discussion_r186529831","pull_request_url":"https://api.github.com/repos/4gangteam/4gangteam/pulls/64","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/4gangteam/4gangteam/pulls/comments/186529831"},"html":{"href":"https://github.com/4gangteam/4gangteam/pull/64#discussion_r186529831"},"pull_request":{"href":"https://api.github.com/repos/4gangteam/4gangteam/pulls/64"}}},"pull_request":{"url":"https://api.github.com/repos/4gangteam/4gangteam/pulls/64","id":186090589,"html_url":"https://github.com/4gangteam/4gangteam/pull/64","diff_url":"https://github.com/4gangteam/4gangteam/pull/64.diff","patch_url":"https://github.com/4gangteam/4gangteam/pull/64.patch","issue_url":"https://api.github.com/repos/4gangteam/4gangteam/issues/64","number":64,"state":"closed","locked":false,"title":"GANG-94: Компонент Pagination","user":{"login":"Udobnaja","id":8513713,"avatar_url":"https://avatars1.githubusercontent.com/u/8513713?v=4","gravatar_id":"","url":"https://api.github.com/users/Udobnaja","html_url":"https://github.com/Udobnaja","followers_url":"https://api.github.com/users/Udobnaja/followers","following_url":"https://api.github.com/users/Udobnaja/following{/other_user}","gists_url":"https://api.github.com/users/Udobnaja/gists{/gist_id}","starred_url":"https://api.github.com/users/Udobnaja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Udobnaja/subscriptions","organizations_url":"https://api.github.com/users/Udobnaja/orgs","repos_url":"https://api.github.com/users/Udobnaja/repos","events_url":"https://api.github.com/users/Udobnaja/events{/privacy}","received_events_url":"https://api.github.com/users/Udobnaja/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-04T20:13:44Z","updated_at":"2018-05-07T19:51:58Z","closed_at":"2018-05-04T20:13:53Z","merged_at":"2018-05-04T20:13:53Z","merge_commit_sha":"d3a274c59cdb5a1067e14e937cf0a906e3a634d7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/4gangteam/4gangteam/pulls/64/commits","review_comments_url":"https://api.github.com/repos/4gangteam/4gangteam/pulls/64/comments","review_comment_url":"https://api.github.com/repos/4gangteam/4gangteam/pulls/comments{/number}","comments_url":"https://api.github.com/repos/4gangteam/4gangteam/issues/64/comments","statuses_url":"https://api.github.com/repos/4gangteam/4gangteam/statuses/973da1ba3737b3e266107d3a28c62e3dd594dfba","head":{"label":"4gangteam:GANG-94","ref":"GANG-94","sha":"973da1ba3737b3e266107d3a28c62e3dd594dfba","user":{"login":"4gangteam","id":38832255,"avatar_url":"https://avatars3.githubusercontent.com/u/38832255?v=4","gravatar_id":"","url":"https://api.github.com/users/4gangteam","html_url":"https://github.com/4gangteam","followers_url":"https://api.github.com/users/4gangteam/followers","following_url":"https://api.github.com/users/4gangteam/following{/other_user}","gists_url":"https://api.github.com/users/4gangteam/gists{/gist_id}","starred_url":"https://api.github.com/users/4gangteam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4gangteam/subscriptions","organizations_url":"https://api.github.com/users/4gangteam/orgs","repos_url":"https://api.github.com/users/4gangteam/repos","events_url":"https://api.github.com/users/4gangteam/events{/privacy}","received_events_url":"https://api.github.com/users/4gangteam/received_events","type":"Organization","site_admin":false},"repo":{"id":131482791,"name":"4gangteam","full_name":"4gangteam/4gangteam","owner":{"login":"4gangteam","id":38832255,"avatar_url":"https://avatars3.githubusercontent.com/u/38832255?v=4","gravatar_id":"","url":"https://api.github.com/users/4gangteam","html_url":"https://github.com/4gangteam","followers_url":"https://api.github.com/users/4gangteam/followers","following_url":"https://api.github.com/users/4gangteam/following{/other_user}","gists_url":"https://api.github.com/users/4gangteam/gists{/gist_id}","starred_url":"https://api.github.com/users/4gangteam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4gangteam/subscriptions","organizations_url":"https://api.github.com/users/4gangteam/orgs","repos_url":"https://api.github.com/users/4gangteam/repos","events_url":"https://api.github.com/users/4gangteam/events{/privacy}","received_events_url":"https://api.github.com/users/4gangteam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/4gangteam/4gangteam","description":null,"fork":false,"url":"https://api.github.com/repos/4gangteam/4gangteam","forks_url":"https://api.github.com/repos/4gangteam/4gangteam/forks","keys_url":"https://api.github.com/repos/4gangteam/4gangteam/keys{/key_id}","collaborators_url":"https://api.github.com/repos/4gangteam/4gangteam/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/4gangteam/4gangteam/teams","hooks_url":"https://api.github.com/repos/4gangteam/4gangteam/hooks","issue_events_url":"https://api.github.com/repos/4gangteam/4gangteam/issues/events{/number}","events_url":"https://api.github.com/repos/4gangteam/4gangteam/events","assignees_url":"https://api.github.com/repos/4gangteam/4gangteam/assignees{/user}","branches_url":"https://api.github.com/repos/4gangteam/4gangteam/branches{/branch}","tags_url":"https://api.github.com/repos/4gangteam/4gangteam/tags","blobs_url":"https://api.github.com/repos/4gangteam/4gangteam/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/4gangteam/4gangteam/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/4gangteam/4gangteam/git/refs{/sha}","trees_url":"https://api.github.com/repos/4gangteam/4gangteam/git/trees{/sha}","statuses_url":"https://api.github.com/repos/4gangteam/4gangteam/statuses/{sha}","languages_url":"https://api.github.com/repos/4gangteam/4gangteam/languages","stargazers_url":"https://api.github.com/repos/4gangteam/4gangteam/stargazers","contributors_url":"https://api.github.com/repos/4gangteam/4gangteam/contributors","subscribers_url":"https://api.github.com/repos/4gangteam/4gangteam/subscribers","subscription_url":"https://api.github.com/repos/4gangteam/4gangteam/subscription","commits_url":"https://api.github.com/repos/4gangteam/4gangteam/commits{/sha}","git_commits_url":"https://api.github.com/repos/4gangteam/4gangteam/git/commits{/sha}","comments_url":"https://api.github.com/repos/4gangteam/4gangteam/comments{/number}","issue_comment_url":"https://api.github.com/repos/4gangteam/4gangteam/issues/comments{/number}","contents_url":"https://api.github.com/repos/4gangteam/4gangteam/contents/{+path}","compare_url":"https://api.github.com/repos/4gangteam/4gangteam/compare/{base}...{head}","merges_url":"https://api.github.com/repos/4gangteam/4gangteam/merges","archive_url":"https://api.github.com/repos/4gangteam/4gangteam/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/4gangteam/4gangteam/downloads","issues_url":"https://api.github.com/repos/4gangteam/4gangteam/issues{/number}","pulls_url":"https://api.github.com/repos/4gangteam/4gangteam/pulls{/number}","milestones_url":"https://api.github.com/repos/4gangteam/4gangteam/milestones{/number}","notifications_url":"https://api.github.com/repos/4gangteam/4gangteam/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/4gangteam/4gangteam/labels{/name}","releases_url":"https://api.github.com/repos/4gangteam/4gangteam/releases{/id}","deployments_url":"https://api.github.com/repos/4gangteam/4gangteam/deployments","created_at":"2018-04-29T09:48:01Z","updated_at":"2018-05-05T15:28:20Z","pushed_at":"2018-05-06T10:16:54Z","git_url":"git://github.com/4gangteam/4gangteam.git","ssh_url":"git@github.com:4gangteam/4gangteam.git","clone_url":"https://github.com/4gangteam/4gangteam.git","svn_url":"https://github.com/4gangteam/4gangteam","homepage":null,"size":1556,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","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":0,"license":null,"forks":0,"open_issues":0,"watchers":3,"default_branch":"master"}},"base":{"label":"4gangteam:dev","ref":"dev","sha":"8b5dc636003b43efc4b90a02c4b6ab5a2b86c0f3","user":{"login":"4gangteam","id":38832255,"avatar_url":"https://avatars3.githubusercontent.com/u/38832255?v=4","gravatar_id":"","url":"https://api.github.com/users/4gangteam","html_url":"https://github.com/4gangteam","followers_url":"https://api.github.com/users/4gangteam/followers","following_url":"https://api.github.com/users/4gangteam/following{/other_user}","gists_url":"https://api.github.com/users/4gangteam/gists{/gist_id}","starred_url":"https://api.github.com/users/4gangteam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4gangteam/subscriptions","organizations_url":"https://api.github.com/users/4gangteam/orgs","repos_url":"https://api.github.com/users/4gangteam/repos","events_url":"https://api.github.com/users/4gangteam/events{/privacy}","received_events_url":"https://api.github.com/users/4gangteam/received_events","type":"Organization","site_admin":false},"repo":{"id":131482791,"name":"4gangteam","full_name":"4gangteam/4gangteam","owner":{"login":"4gangteam","id":38832255,"avatar_url":"https://avatars3.githubusercontent.com/u/38832255?v=4","gravatar_id":"","url":"https://api.github.com/users/4gangteam","html_url":"https://github.com/4gangteam","followers_url":"https://api.github.com/users/4gangteam/followers","following_url":"https://api.github.com/users/4gangteam/following{/other_user}","gists_url":"https://api.github.com/users/4gangteam/gists{/gist_id}","starred_url":"https://api.github.com/users/4gangteam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4gangteam/subscriptions","organizations_url":"https://api.github.com/users/4gangteam/orgs","repos_url":"https://api.github.com/users/4gangteam/repos","events_url":"https://api.github.com/users/4gangteam/events{/privacy}","received_events_url":"https://api.github.com/users/4gangteam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/4gangteam/4gangteam","description":null,"fork":false,"url":"https://api.github.com/repos/4gangteam/4gangteam","forks_url":"https://api.github.com/repos/4gangteam/4gangteam/forks","keys_url":"https://api.github.com/repos/4gangteam/4gangteam/keys{/key_id}","collaborators_url":"https://api.github.com/repos/4gangteam/4gangteam/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/4gangteam/4gangteam/teams","hooks_url":"https://api.github.com/repos/4gangteam/4gangteam/hooks","issue_events_url":"https://api.github.com/repos/4gangteam/4gangteam/issues/events{/number}","events_url":"https://api.github.com/repos/4gangteam/4gangteam/events","assignees_url":"https://api.github.com/repos/4gangteam/4gangteam/assignees{/user}","branches_url":"https://api.github.com/repos/4gangteam/4gangteam/branches{/branch}","tags_url":"https://api.github.com/repos/4gangteam/4gangteam/tags","blobs_url":"https://api.github.com/repos/4gangteam/4gangteam/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/4gangteam/4gangteam/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/4gangteam/4gangteam/git/refs{/sha}","trees_url":"https://api.github.com/repos/4gangteam/4gangteam/git/trees{/sha}","statuses_url":"https://api.github.com/repos/4gangteam/4gangteam/statuses/{sha}","languages_url":"https://api.github.com/repos/4gangteam/4gangteam/languages","stargazers_url":"https://api.github.com/repos/4gangteam/4gangteam/stargazers","contributors_url":"https://api.github.com/repos/4gangteam/4gangteam/contributors","subscribers_url":"https://api.github.com/repos/4gangteam/4gangteam/subscribers","subscription_url":"https://api.github.com/repos/4gangteam/4gangteam/subscription","commits_url":"https://api.github.com/repos/4gangteam/4gangteam/commits{/sha}","git_commits_url":"https://api.github.com/repos/4gangteam/4gangteam/git/commits{/sha}","comments_url":"https://api.github.com/repos/4gangteam/4gangteam/comments{/number}","issue_comment_url":"https://api.github.com/repos/4gangteam/4gangteam/issues/comments{/number}","contents_url":"https://api.github.com/repos/4gangteam/4gangteam/contents/{+path}","compare_url":"https://api.github.com/repos/4gangteam/4gangteam/compare/{base}...{head}","merges_url":"https://api.github.com/repos/4gangteam/4gangteam/merges","archive_url":"https://api.github.com/repos/4gangteam/4gangteam/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/4gangteam/4gangteam/downloads","issues_url":"https://api.github.com/repos/4gangteam/4gangteam/issues{/number}","pulls_url":"https://api.github.com/repos/4gangteam/4gangteam/pulls{/number}","milestones_url":"https://api.github.com/repos/4gangteam/4gangteam/milestones{/number}","notifications_url":"https://api.github.com/repos/4gangteam/4gangteam/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/4gangteam/4gangteam/labels{/name}","releases_url":"https://api.github.com/repos/4gangteam/4gangteam/releases{/id}","deployments_url":"https://api.github.com/repos/4gangteam/4gangteam/deployments","created_at":"2018-04-29T09:48:01Z","updated_at":"2018-05-05T15:28:20Z","pushed_at":"2018-05-06T10:16:54Z","git_url":"git://github.com/4gangteam/4gangteam.git","ssh_url":"git@github.com:4gangteam/4gangteam.git","clone_url":"https://github.com/4gangteam/4gangteam.git","svn_url":"https://github.com/4gangteam/4gangteam","homepage":null,"size":1556,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","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":0,"license":null,"forks":0,"open_issues":0,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/4gangteam/4gangteam/pulls/64"},"html":{"href":"https://github.com/4gangteam/4gangteam/pull/64"},"issue":{"href":"https://api.github.com/repos/4gangteam/4gangteam/issues/64"},"comments":{"href":"https://api.github.com/repos/4gangteam/4gangteam/issues/64/comments"},"review_comments":{"href":"https://api.github.com/repos/4gangteam/4gangteam/pulls/64/comments"},"review_comment":{"href":"https://api.github.com/repos/4gangteam/4gangteam/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/4gangteam/4gangteam/pulls/64/commits"},"statuses":{"href":"https://api.github.com/repos/4gangteam/4gangteam/statuses/973da1ba3737b3e266107d3a28c62e3dd594dfba"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"mrmlnc"}}