{"action":"created","comment":{"url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/pulls/comments/135887275","pull_request_review_id":59350715,"id":135887275,"diff_hunk":"@@ -0,0 +1,159 @@\n+import React, { Component } from 'react';\n+import styled from 'styled-components';\n+import PropTypes from 'prop-types';\n+\n+import arrow from '../../images/arrow.svg';\n+\n+const Wrapper = styled.div`\n+  @media (min-width: 48rem) {\n+    margin-left: ${props => (props.isSort ? 'auto' : '0')};\n+    position: relative;\n+  }\n+`;\n+\n+const FilterHeader = styled.div`\n+  padding: 0;\n+  padding-top: 1.5rem;\n+  padding-bottom: 1.5rem;\n+  padding-right: 1.25rem;\n+  margin-right: 1rem;\n+  position: relative;\n+  border: none;\n+  background-color: transparent;\n+  font-size: 0.75rem;\n+  font-family: \"Raleway\", \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n+  line-height: 1rem;\n+  font-weight: 400;\n+  color: ${props => (props.show ? '#171717' : 'inherit')};\n+  white-space: nowrap;\n+  cursor: pointer;\n+  z-index: 800;\n+  transition: all .2s linear;\n+  &::after {\n+    content: '';\n+    position: absolute;\n+    right: 0;\n+    top: 50%;\n+    width: 0.75rem;\n+    height: 0.375rem;\n+    transition: all .15s linear;\n+    transform: translateY(-50%)\n+      rotate(${props => (props.show ? '180deg' : '0')});\n+    -webkit-mask: url(${arrow}) center no-repeat;\n+    mask: url(${arrow}) center no-repeat;\n+    background-size: cover;\n+    background-color: #171717;\n+    ${props =>\n+    (props.active ? 'background-color: #999999' : 'background-color:#171717')};\n+    ${props => props.show || 'background-color:#171717'};\n+  }\n+  @media (min-width: 48rem) {\n+    margin-right: ${props => (props.isSort ? '0' : '3rem')};\n+    &:last-child {\n+      margin-right: 0;\n+    }\n+  }\n+`;\n+\n+const Dropdown = styled.div`\n+  padding: 1rem 1.5rem;\n+  padding-bottom: 1.5rem;\n+  position: absolute;\n+  z-index: 9999;\n+  box-sizing: border-box;\n+  left: 0;\n+  width: 100%;\n+  display: ${props => (props.show ? 'block' : 'none')};\n+  font-size: 0.75rem;\n+  line-height: 1rem;\n+  background-color: #f3f3f3;\n+  color: #171717;\n+  @media (min-width: 48rem) {\n+    left: auto;\n+    width: 23.5625rem;\n+    ${props => (props.isSort ? 'right:-1.5rem' : 'left:-1.5rem')};\n+  }\n+`;\n+\n+const Content = styled.p`\n+  margin: 0;\n+  padding: 0;\n+`;\n+\n+class Filter extends Component {\n+  constructor(props) {\n+    super(props);\n+    this.state = { showDropdown: false };","path":"src/Products/List/Filter.jsx","position":86,"original_position":86,"commit_id":"18d482a19698991f1521ea9a4f88b515114e45e0","original_commit_id":"18d482a19698991f1521ea9a4f88b515114e45e0","user":{"login":"evgenyrodionov","id":775692,"avatar_url":"https://avatars1.githubusercontent.com/u/775692?v=4","gravatar_id":"","url":"https://api.github.com/users/evgenyrodionov","html_url":"https://github.com/evgenyrodionov","followers_url":"https://api.github.com/users/evgenyrodionov/followers","following_url":"https://api.github.com/users/evgenyrodionov/following{/other_user}","gists_url":"https://api.github.com/users/evgenyrodionov/gists{/gist_id}","starred_url":"https://api.github.com/users/evgenyrodionov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evgenyrodionov/subscriptions","organizations_url":"https://api.github.com/users/evgenyrodionov/orgs","repos_url":"https://api.github.com/users/evgenyrodionov/repos","events_url":"https://api.github.com/users/evgenyrodionov/events{/privacy}","received_events_url":"https://api.github.com/users/evgenyrodionov/received_events","type":"User","site_admin":false},"body":"ты определись хоть, у тебя булеаны через `is*` идут или нет","created_at":"2017-08-29T19:19:59Z","updated_at":"2017-08-29T19:25:33Z","html_url":"https://github.com/alex4code/fake-burrberry-frontend/pull/7#discussion_r135887275","pull_request_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/pulls/comments/135887275"},"html":{"href":"https://github.com/alex4code/fake-burrberry-frontend/pull/7#discussion_r135887275"},"pull_request":{"href":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/pulls/7","id":137803834,"html_url":"https://github.com/alex4code/fake-burrberry-frontend/pull/7","diff_url":"https://github.com/alex4code/fake-burrberry-frontend/pull/7.diff","patch_url":"https://github.com/alex4code/fake-burrberry-frontend/pull/7.patch","issue_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/issues/7","number":7,"state":"open","locked":false,"title":"Feat/ux","user":{"login":"alex4code","id":5500344,"avatar_url":"https://avatars2.githubusercontent.com/u/5500344?v=4","gravatar_id":"","url":"https://api.github.com/users/alex4code","html_url":"https://github.com/alex4code","followers_url":"https://api.github.com/users/alex4code/followers","following_url":"https://api.github.com/users/alex4code/following{/other_user}","gists_url":"https://api.github.com/users/alex4code/gists{/gist_id}","starred_url":"https://api.github.com/users/alex4code/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex4code/subscriptions","organizations_url":"https://api.github.com/users/alex4code/orgs","repos_url":"https://api.github.com/users/alex4code/repos","events_url":"https://api.github.com/users/alex4code/events{/privacy}","received_events_url":"https://api.github.com/users/alex4code/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-08-26T16:33:53Z","updated_at":"2017-08-29T19:25:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8c865930d01af50aa482797c4f66113a347e121b","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/pulls/7/commits","review_comments_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/pulls/7/comments","review_comment_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/issues/7/comments","statuses_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/statuses/18d482a19698991f1521ea9a4f88b515114e45e0","head":{"label":"alex4code:feat/ux","ref":"feat/ux","sha":"18d482a19698991f1521ea9a4f88b515114e45e0","user":{"login":"alex4code","id":5500344,"avatar_url":"https://avatars2.githubusercontent.com/u/5500344?v=4","gravatar_id":"","url":"https://api.github.com/users/alex4code","html_url":"https://github.com/alex4code","followers_url":"https://api.github.com/users/alex4code/followers","following_url":"https://api.github.com/users/alex4code/following{/other_user}","gists_url":"https://api.github.com/users/alex4code/gists{/gist_id}","starred_url":"https://api.github.com/users/alex4code/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex4code/subscriptions","organizations_url":"https://api.github.com/users/alex4code/orgs","repos_url":"https://api.github.com/users/alex4code/repos","events_url":"https://api.github.com/users/alex4code/events{/privacy}","received_events_url":"https://api.github.com/users/alex4code/received_events","type":"User","site_admin":false},"repo":{"id":98722162,"name":"fake-burrberry-frontend","full_name":"alex4code/fake-burrberry-frontend","owner":{"login":"alex4code","id":5500344,"avatar_url":"https://avatars2.githubusercontent.com/u/5500344?v=4","gravatar_id":"","url":"https://api.github.com/users/alex4code","html_url":"https://github.com/alex4code","followers_url":"https://api.github.com/users/alex4code/followers","following_url":"https://api.github.com/users/alex4code/following{/other_user}","gists_url":"https://api.github.com/users/alex4code/gists{/gist_id}","starred_url":"https://api.github.com/users/alex4code/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex4code/subscriptions","organizations_url":"https://api.github.com/users/alex4code/orgs","repos_url":"https://api.github.com/users/alex4code/repos","events_url":"https://api.github.com/users/alex4code/events{/privacy}","received_events_url":"https://api.github.com/users/alex4code/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alex4code/fake-burrberry-frontend","description":null,"fork":false,"url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend","forks_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/forks","keys_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/teams","hooks_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/hooks","issue_events_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/events","assignees_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/tags","blobs_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/languages","stargazers_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/stargazers","contributors_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/contributors","subscribers_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/subscribers","subscription_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/subscription","commits_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/merges","archive_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/downloads","issues_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/labels{/name}","releases_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/deployments","created_at":"2017-07-29T09:20:56Z","updated_at":"2017-08-13T17:44:09Z","pushed_at":"2017-08-29T16:23:23Z","git_url":"git://github.com/alex4code/fake-burrberry-frontend.git","ssh_url":"git@github.com:alex4code/fake-burrberry-frontend.git","clone_url":"https://github.com/alex4code/fake-burrberry-frontend.git","svn_url":"https://github.com/alex4code/fake-burrberry-frontend","homepage":null,"size":37189,"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":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"alex4code:master","ref":"master","sha":"168372176111ea6a1a3283fdbf87f02d4ef5301e","user":{"login":"alex4code","id":5500344,"avatar_url":"https://avatars2.githubusercontent.com/u/5500344?v=4","gravatar_id":"","url":"https://api.github.com/users/alex4code","html_url":"https://github.com/alex4code","followers_url":"https://api.github.com/users/alex4code/followers","following_url":"https://api.github.com/users/alex4code/following{/other_user}","gists_url":"https://api.github.com/users/alex4code/gists{/gist_id}","starred_url":"https://api.github.com/users/alex4code/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex4code/subscriptions","organizations_url":"https://api.github.com/users/alex4code/orgs","repos_url":"https://api.github.com/users/alex4code/repos","events_url":"https://api.github.com/users/alex4code/events{/privacy}","received_events_url":"https://api.github.com/users/alex4code/received_events","type":"User","site_admin":false},"repo":{"id":98722162,"name":"fake-burrberry-frontend","full_name":"alex4code/fake-burrberry-frontend","owner":{"login":"alex4code","id":5500344,"avatar_url":"https://avatars2.githubusercontent.com/u/5500344?v=4","gravatar_id":"","url":"https://api.github.com/users/alex4code","html_url":"https://github.com/alex4code","followers_url":"https://api.github.com/users/alex4code/followers","following_url":"https://api.github.com/users/alex4code/following{/other_user}","gists_url":"https://api.github.com/users/alex4code/gists{/gist_id}","starred_url":"https://api.github.com/users/alex4code/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex4code/subscriptions","organizations_url":"https://api.github.com/users/alex4code/orgs","repos_url":"https://api.github.com/users/alex4code/repos","events_url":"https://api.github.com/users/alex4code/events{/privacy}","received_events_url":"https://api.github.com/users/alex4code/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alex4code/fake-burrberry-frontend","description":null,"fork":false,"url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend","forks_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/forks","keys_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/teams","hooks_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/hooks","issue_events_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/events","assignees_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/tags","blobs_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/languages","stargazers_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/stargazers","contributors_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/contributors","subscribers_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/subscribers","subscription_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/subscription","commits_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/merges","archive_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/downloads","issues_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/labels{/name}","releases_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/deployments","created_at":"2017-07-29T09:20:56Z","updated_at":"2017-08-13T17:44:09Z","pushed_at":"2017-08-29T16:23:23Z","git_url":"git://github.com/alex4code/fake-burrberry-frontend.git","ssh_url":"git@github.com:alex4code/fake-burrberry-frontend.git","clone_url":"https://github.com/alex4code/fake-burrberry-frontend.git","svn_url":"https://github.com/alex4code/fake-burrberry-frontend","homepage":null,"size":37189,"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":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/pulls/7"},"html":{"href":"https://github.com/alex4code/fake-burrberry-frontend/pull/7"},"issue":{"href":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/issues/7"},"comments":{"href":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/alex4code/fake-burrberry-frontend/statuses/18d482a19698991f1521ea9a4f88b515114e45e0"}}}}
{"actor":{"display_login":"evgenyrodionov"}}