{"action":"created","comment":{"url":"https://api.github.com/repos/topbox-rci/rci-components/pulls/comments/215662995","pull_request_review_id":152977373,"id":215662995,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNTY2Mjk5NQ==","diff_hunk":"@@ -1,40 +1,46 @@\n-import React, { PureComponent } from 'react';\n+import React, { Component } from 'react';\n import { CSSTransition } from 'react-transition-group';\n import classNames from 'classnames';\n import { IconClose } from '../icons';\n import { animationTime } from '../util/animation';\n \n import styles from './sideDrawer.scss';\n \n-export default class SideDrawer extends PureComponent {\n+export default class SideDrawer extends Component {\n     static defaultProps = {\n-        appearFrom: 'right'\n-    }\n-    state = {\n+        appearFrom: 'right',\n         showing: false\n-    }\n+    };\n \n-    toggle = () => {\n-        this.setState(prevState => (\n-            { showing: !prevState.showing }\n-        ));\n-    }\n+    /* istanbul ignore next */ // https://github.com/gotwarlost/istanbul/issues/690\n+    constructor(props) {\n+        super(props);\n+\n+        this.sliderContainer = React.createRef();\n+        this.sliderWrap = React.createRef();\n \n-    open = () => {\n-        this.setState({ showing: true });\n+        // below value referenced from ./sideDrawer.scss\n+        this.breakpointSmallWindow = 378;","path":"components/sideDrawer/sideDrawer.js","position":36,"original_position":36,"commit_id":"d1aec47e45edc98f539c5bf8ae3e08b5d5f1da80","original_commit_id":"d1aec47e45edc98f539c5bf8ae3e08b5d5f1da80","user":{"login":"troyblank","id":996725,"node_id":"MDQ6VXNlcjk5NjcyNQ==","avatar_url":"https://avatars0.githubusercontent.com/u/996725?v=4","gravatar_id":"","url":"https://api.github.com/users/troyblank","html_url":"https://github.com/troyblank","followers_url":"https://api.github.com/users/troyblank/followers","following_url":"https://api.github.com/users/troyblank/following{/other_user}","gists_url":"https://api.github.com/users/troyblank/gists{/gist_id}","starred_url":"https://api.github.com/users/troyblank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/troyblank/subscriptions","organizations_url":"https://api.github.com/users/troyblank/orgs","repos_url":"https://api.github.com/users/troyblank/repos","events_url":"https://api.github.com/users/troyblank/events{/privacy}","received_events_url":"https://api.github.com/users/troyblank/received_events","type":"User","site_admin":false},"body":"A couple things here, why can't css handle this? Also if this is really needed we should put it in a central location to so both use the same value.","created_at":"2018-09-06T15:08:11Z","updated_at":"2018-09-06T15:10:49Z","html_url":"https://github.com/topbox-rci/rci-components/pull/729#discussion_r215662995","pull_request_url":"https://api.github.com/repos/topbox-rci/rci-components/pulls/729","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/topbox-rci/rci-components/pulls/comments/215662995"},"html":{"href":"https://github.com/topbox-rci/rci-components/pull/729#discussion_r215662995"},"pull_request":{"href":"https://api.github.com/repos/topbox-rci/rci-components/pulls/729"}}},"pull_request":{"url":"https://api.github.com/repos/topbox-rci/rci-components/pulls/729","id":213306779,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEzMzA2Nzc5","html_url":"https://github.com/topbox-rci/rci-components/pull/729","diff_url":"https://github.com/topbox-rci/rci-components/pull/729.diff","patch_url":"https://github.com/topbox-rci/rci-components/pull/729.patch","issue_url":"https://api.github.com/repos/topbox-rci/rci-components/issues/729","number":729,"state":"open","locked":false,"title":"TFW-1839 - Implement SideDrawer into Workflow","user":{"login":"jasonhale","id":3496073,"node_id":"MDQ6VXNlcjM0OTYwNzM=","avatar_url":"https://avatars0.githubusercontent.com/u/3496073?v=4","gravatar_id":"","url":"https://api.github.com/users/jasonhale","html_url":"https://github.com/jasonhale","followers_url":"https://api.github.com/users/jasonhale/followers","following_url":"https://api.github.com/users/jasonhale/following{/other_user}","gists_url":"https://api.github.com/users/jasonhale/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonhale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonhale/subscriptions","organizations_url":"https://api.github.com/users/jasonhale/orgs","repos_url":"https://api.github.com/users/jasonhale/repos","events_url":"https://api.github.com/users/jasonhale/events{/privacy}","received_events_url":"https://api.github.com/users/jasonhale/received_events","type":"User","site_admin":false},"body":"Added the new SideDrawer to the filters in Workflow.\r\nChanged the SideDrawer to a completely controlled component for better integration, and modified it a bit (added a footer, to go with the header) to work better with the design.\r\n\r\nAlso, updated the demo for SideDrawer.","created_at":"2018-09-05T14:05:13Z","updated_at":"2018-09-06T15:10:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"382cb7b6e544506c6b7d18b81005ccf36ece83ca","assignee":null,"assignees":[],"requested_reviewers":[{"login":"tVeratti","id":6993836,"node_id":"MDQ6VXNlcjY5OTM4MzY=","avatar_url":"https://avatars3.githubusercontent.com/u/6993836?v=4","gravatar_id":"","url":"https://api.github.com/users/tVeratti","html_url":"https://github.com/tVeratti","followers_url":"https://api.github.com/users/tVeratti/followers","following_url":"https://api.github.com/users/tVeratti/following{/other_user}","gists_url":"https://api.github.com/users/tVeratti/gists{/gist_id}","starred_url":"https://api.github.com/users/tVeratti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tVeratti/subscriptions","organizations_url":"https://api.github.com/users/tVeratti/orgs","repos_url":"https://api.github.com/users/tVeratti/repos","events_url":"https://api.github.com/users/tVeratti/events{/privacy}","received_events_url":"https://api.github.com/users/tVeratti/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/topbox-rci/rci-components/pulls/729/commits","review_comments_url":"https://api.github.com/repos/topbox-rci/rci-components/pulls/729/comments","review_comment_url":"https://api.github.com/repos/topbox-rci/rci-components/pulls/comments{/number}","comments_url":"https://api.github.com/repos/topbox-rci/rci-components/issues/729/comments","statuses_url":"https://api.github.com/repos/topbox-rci/rci-components/statuses/d1aec47e45edc98f539c5bf8ae3e08b5d5f1da80","head":{"label":"topbox-rci:TFW-1839","ref":"TFW-1839","sha":"d1aec47e45edc98f539c5bf8ae3e08b5d5f1da80","user":{"login":"topbox-rci","id":12717371,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNzE3Mzcx","avatar_url":"https://avatars0.githubusercontent.com/u/12717371?v=4","gravatar_id":"","url":"https://api.github.com/users/topbox-rci","html_url":"https://github.com/topbox-rci","followers_url":"https://api.github.com/users/topbox-rci/followers","following_url":"https://api.github.com/users/topbox-rci/following{/other_user}","gists_url":"https://api.github.com/users/topbox-rci/gists{/gist_id}","starred_url":"https://api.github.com/users/topbox-rci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/topbox-rci/subscriptions","organizations_url":"https://api.github.com/users/topbox-rci/orgs","repos_url":"https://api.github.com/users/topbox-rci/repos","events_url":"https://api.github.com/users/topbox-rci/events{/privacy}","received_events_url":"https://api.github.com/users/topbox-rci/received_events","type":"Organization","site_admin":false},"repo":{"id":76394133,"node_id":"MDEwOlJlcG9zaXRvcnk3NjM5NDEzMw==","name":"rci-components","full_name":"topbox-rci/rci-components","owner":{"login":"topbox-rci","id":12717371,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNzE3Mzcx","avatar_url":"https://avatars0.githubusercontent.com/u/12717371?v=4","gravatar_id":"","url":"https://api.github.com/users/topbox-rci","html_url":"https://github.com/topbox-rci","followers_url":"https://api.github.com/users/topbox-rci/followers","following_url":"https://api.github.com/users/topbox-rci/following{/other_user}","gists_url":"https://api.github.com/users/topbox-rci/gists{/gist_id}","starred_url":"https://api.github.com/users/topbox-rci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/topbox-rci/subscriptions","organizations_url":"https://api.github.com/users/topbox-rci/orgs","repos_url":"https://api.github.com/users/topbox-rci/repos","events_url":"https://api.github.com/users/topbox-rci/events{/privacy}","received_events_url":"https://api.github.com/users/topbox-rci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/topbox-rci/rci-components","description":"React components for the RCI project","fork":false,"url":"https://api.github.com/repos/topbox-rci/rci-components","forks_url":"https://api.github.com/repos/topbox-rci/rci-components/forks","keys_url":"https://api.github.com/repos/topbox-rci/rci-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/topbox-rci/rci-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/topbox-rci/rci-components/teams","hooks_url":"https://api.github.com/repos/topbox-rci/rci-components/hooks","issue_events_url":"https://api.github.com/repos/topbox-rci/rci-components/issues/events{/number}","events_url":"https://api.github.com/repos/topbox-rci/rci-components/events","assignees_url":"https://api.github.com/repos/topbox-rci/rci-components/assignees{/user}","branches_url":"https://api.github.com/repos/topbox-rci/rci-components/branches{/branch}","tags_url":"https://api.github.com/repos/topbox-rci/rci-components/tags","blobs_url":"https://api.github.com/repos/topbox-rci/rci-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/topbox-rci/rci-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/topbox-rci/rci-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/topbox-rci/rci-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/topbox-rci/rci-components/statuses/{sha}","languages_url":"https://api.github.com/repos/topbox-rci/rci-components/languages","stargazers_url":"https://api.github.com/repos/topbox-rci/rci-components/stargazers","contributors_url":"https://api.github.com/repos/topbox-rci/rci-components/contributors","subscribers_url":"https://api.github.com/repos/topbox-rci/rci-components/subscribers","subscription_url":"https://api.github.com/repos/topbox-rci/rci-components/subscription","commits_url":"https://api.github.com/repos/topbox-rci/rci-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/topbox-rci/rci-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/topbox-rci/rci-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/topbox-rci/rci-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/topbox-rci/rci-components/contents/{+path}","compare_url":"https://api.github.com/repos/topbox-rci/rci-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/topbox-rci/rci-components/merges","archive_url":"https://api.github.com/repos/topbox-rci/rci-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/topbox-rci/rci-components/downloads","issues_url":"https://api.github.com/repos/topbox-rci/rci-components/issues{/number}","pulls_url":"https://api.github.com/repos/topbox-rci/rci-components/pulls{/number}","milestones_url":"https://api.github.com/repos/topbox-rci/rci-components/milestones{/number}","notifications_url":"https://api.github.com/repos/topbox-rci/rci-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/topbox-rci/rci-components/labels{/name}","releases_url":"https://api.github.com/repos/topbox-rci/rci-components/releases{/id}","deployments_url":"https://api.github.com/repos/topbox-rci/rci-components/deployments","created_at":"2016-12-13T20:05:28Z","updated_at":"2018-08-27T17:54:39Z","pushed_at":"2018-09-06T14:23:08Z","git_url":"git://github.com/topbox-rci/rci-components.git","ssh_url":"git@github.com:topbox-rci/rci-components.git","clone_url":"https://github.com/topbox-rci/rci-components.git","svn_url":"https://github.com/topbox-rci/rci-components","homepage":null,"size":2657,"stargazers_count":1,"watchers_count":1,"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":3,"license":null,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"topbox-rci:develop","ref":"develop","sha":"e5865a3626df3d674e61a67f7f0d3d0e8e82ced8","user":{"login":"topbox-rci","id":12717371,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNzE3Mzcx","avatar_url":"https://avatars0.githubusercontent.com/u/12717371?v=4","gravatar_id":"","url":"https://api.github.com/users/topbox-rci","html_url":"https://github.com/topbox-rci","followers_url":"https://api.github.com/users/topbox-rci/followers","following_url":"https://api.github.com/users/topbox-rci/following{/other_user}","gists_url":"https://api.github.com/users/topbox-rci/gists{/gist_id}","starred_url":"https://api.github.com/users/topbox-rci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/topbox-rci/subscriptions","organizations_url":"https://api.github.com/users/topbox-rci/orgs","repos_url":"https://api.github.com/users/topbox-rci/repos","events_url":"https://api.github.com/users/topbox-rci/events{/privacy}","received_events_url":"https://api.github.com/users/topbox-rci/received_events","type":"Organization","site_admin":false},"repo":{"id":76394133,"node_id":"MDEwOlJlcG9zaXRvcnk3NjM5NDEzMw==","name":"rci-components","full_name":"topbox-rci/rci-components","owner":{"login":"topbox-rci","id":12717371,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNzE3Mzcx","avatar_url":"https://avatars0.githubusercontent.com/u/12717371?v=4","gravatar_id":"","url":"https://api.github.com/users/topbox-rci","html_url":"https://github.com/topbox-rci","followers_url":"https://api.github.com/users/topbox-rci/followers","following_url":"https://api.github.com/users/topbox-rci/following{/other_user}","gists_url":"https://api.github.com/users/topbox-rci/gists{/gist_id}","starred_url":"https://api.github.com/users/topbox-rci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/topbox-rci/subscriptions","organizations_url":"https://api.github.com/users/topbox-rci/orgs","repos_url":"https://api.github.com/users/topbox-rci/repos","events_url":"https://api.github.com/users/topbox-rci/events{/privacy}","received_events_url":"https://api.github.com/users/topbox-rci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/topbox-rci/rci-components","description":"React components for the RCI project","fork":false,"url":"https://api.github.com/repos/topbox-rci/rci-components","forks_url":"https://api.github.com/repos/topbox-rci/rci-components/forks","keys_url":"https://api.github.com/repos/topbox-rci/rci-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/topbox-rci/rci-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/topbox-rci/rci-components/teams","hooks_url":"https://api.github.com/repos/topbox-rci/rci-components/hooks","issue_events_url":"https://api.github.com/repos/topbox-rci/rci-components/issues/events{/number}","events_url":"https://api.github.com/repos/topbox-rci/rci-components/events","assignees_url":"https://api.github.com/repos/topbox-rci/rci-components/assignees{/user}","branches_url":"https://api.github.com/repos/topbox-rci/rci-components/branches{/branch}","tags_url":"https://api.github.com/repos/topbox-rci/rci-components/tags","blobs_url":"https://api.github.com/repos/topbox-rci/rci-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/topbox-rci/rci-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/topbox-rci/rci-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/topbox-rci/rci-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/topbox-rci/rci-components/statuses/{sha}","languages_url":"https://api.github.com/repos/topbox-rci/rci-components/languages","stargazers_url":"https://api.github.com/repos/topbox-rci/rci-components/stargazers","contributors_url":"https://api.github.com/repos/topbox-rci/rci-components/contributors","subscribers_url":"https://api.github.com/repos/topbox-rci/rci-components/subscribers","subscription_url":"https://api.github.com/repos/topbox-rci/rci-components/subscription","commits_url":"https://api.github.com/repos/topbox-rci/rci-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/topbox-rci/rci-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/topbox-rci/rci-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/topbox-rci/rci-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/topbox-rci/rci-components/contents/{+path}","compare_url":"https://api.github.com/repos/topbox-rci/rci-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/topbox-rci/rci-components/merges","archive_url":"https://api.github.com/repos/topbox-rci/rci-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/topbox-rci/rci-components/downloads","issues_url":"https://api.github.com/repos/topbox-rci/rci-components/issues{/number}","pulls_url":"https://api.github.com/repos/topbox-rci/rci-components/pulls{/number}","milestones_url":"https://api.github.com/repos/topbox-rci/rci-components/milestones{/number}","notifications_url":"https://api.github.com/repos/topbox-rci/rci-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/topbox-rci/rci-components/labels{/name}","releases_url":"https://api.github.com/repos/topbox-rci/rci-components/releases{/id}","deployments_url":"https://api.github.com/repos/topbox-rci/rci-components/deployments","created_at":"2016-12-13T20:05:28Z","updated_at":"2018-08-27T17:54:39Z","pushed_at":"2018-09-06T14:23:08Z","git_url":"git://github.com/topbox-rci/rci-components.git","ssh_url":"git@github.com:topbox-rci/rci-components.git","clone_url":"https://github.com/topbox-rci/rci-components.git","svn_url":"https://github.com/topbox-rci/rci-components","homepage":null,"size":2657,"stargazers_count":1,"watchers_count":1,"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":3,"license":null,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/topbox-rci/rci-components/pulls/729"},"html":{"href":"https://github.com/topbox-rci/rci-components/pull/729"},"issue":{"href":"https://api.github.com/repos/topbox-rci/rci-components/issues/729"},"comments":{"href":"https://api.github.com/repos/topbox-rci/rci-components/issues/729/comments"},"review_comments":{"href":"https://api.github.com/repos/topbox-rci/rci-components/pulls/729/comments"},"review_comment":{"href":"https://api.github.com/repos/topbox-rci/rci-components/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/topbox-rci/rci-components/pulls/729/commits"},"statuses":{"href":"https://api.github.com/repos/topbox-rci/rci-components/statuses/d1aec47e45edc98f539c5bf8ae3e08b5d5f1da80"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"troyblank"}}