{"action":"created","comment":{"url":"https://api.github.com/repos/Meeve/3d-editor/pulls/comments/209531183","pull_request_review_id":145559949,"id":209531183,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwOTUzMTE4Mw==","diff_hunk":"@@ -67,13 +68,23 @@ class PanelResizer extends React.Component {\n                  onMouseDown={this.diagonallyResize.bind(this, rowCounter, colCounter)}></div> : <div></div>;\n     }\n \n+    getComponentToRender(el) {\n+        let componentWidth = _.sum(this.props.panelLayout.columnSizes.slice(el.colStart - 1, el.colEnd - 1));\n+        let componentHeight = _.sum(this.props.panelLayout.rowSizes.slice(el.rowStart - 1, el.rowEnd - 1));","path":"src/components/PanelResizer.js","position":25,"original_position":25,"commit_id":"09405ec1a10ac337d309815e4885506ff0866efb","original_commit_id":"09405ec1a10ac337d309815e4885506ff0866efb","user":{"login":"Danon","id":13367735,"node_id":"MDQ6VXNlcjEzMzY3NzM1","avatar_url":"https://avatars2.githubusercontent.com/u/13367735?v=4","gravatar_id":"","url":"https://api.github.com/users/Danon","html_url":"https://github.com/Danon","followers_url":"https://api.github.com/users/Danon/followers","following_url":"https://api.github.com/users/Danon/following{/other_user}","gists_url":"https://api.github.com/users/Danon/gists{/gist_id}","starred_url":"https://api.github.com/users/Danon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Danon/subscriptions","organizations_url":"https://api.github.com/users/Danon/orgs","repos_url":"https://api.github.com/users/Danon/repos","events_url":"https://api.github.com/users/Danon/events{/privacy}","received_events_url":"https://api.github.com/users/Danon/received_events","type":"User","site_admin":false},"body":"I would extract those to `comppnentHeight()` and `componentWidth()` methods ","created_at":"2018-08-13T08:42:14Z","updated_at":"2018-08-13T08:46:27Z","html_url":"https://github.com/Meeve/3d-editor/pull/7#discussion_r209531183","pull_request_url":"https://api.github.com/repos/Meeve/3d-editor/pulls/7","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/Meeve/3d-editor/pulls/comments/209531183"},"html":{"href":"https://github.com/Meeve/3d-editor/pull/7#discussion_r209531183"},"pull_request":{"href":"https://api.github.com/repos/Meeve/3d-editor/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/Meeve/3d-editor/pulls/7","id":207830116,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3ODMwMTE2","html_url":"https://github.com/Meeve/3d-editor/pull/7","diff_url":"https://github.com/Meeve/3d-editor/pull/7.diff","patch_url":"https://github.com/Meeve/3d-editor/pull/7.patch","issue_url":"https://api.github.com/repos/Meeve/3d-editor/issues/7","number":7,"state":"open","locked":false,"title":"ScrollerComponent","user":{"login":"Meeve","id":12329207,"node_id":"MDQ6VXNlcjEyMzI5MjA3","avatar_url":"https://avatars1.githubusercontent.com/u/12329207?v=4","gravatar_id":"","url":"https://api.github.com/users/Meeve","html_url":"https://github.com/Meeve","followers_url":"https://api.github.com/users/Meeve/followers","following_url":"https://api.github.com/users/Meeve/following{/other_user}","gists_url":"https://api.github.com/users/Meeve/gists{/gist_id}","starred_url":"https://api.github.com/users/Meeve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Meeve/subscriptions","organizations_url":"https://api.github.com/users/Meeve/orgs","repos_url":"https://api.github.com/users/Meeve/repos","events_url":"https://api.github.com/users/Meeve/events{/privacy}","received_events_url":"https://api.github.com/users/Meeve/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-12T16:52:27Z","updated_at":"2018-08-13T08:46:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2edcb6614feaf2424253b0247fe7a4a63f28643d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Meeve/3d-editor/pulls/7/commits","review_comments_url":"https://api.github.com/repos/Meeve/3d-editor/pulls/7/comments","review_comment_url":"https://api.github.com/repos/Meeve/3d-editor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Meeve/3d-editor/issues/7/comments","statuses_url":"https://api.github.com/repos/Meeve/3d-editor/statuses/09405ec1a10ac337d309815e4885506ff0866efb","head":{"label":"Meeve:ScrollComponent","ref":"ScrollComponent","sha":"09405ec1a10ac337d309815e4885506ff0866efb","user":{"login":"Meeve","id":12329207,"node_id":"MDQ6VXNlcjEyMzI5MjA3","avatar_url":"https://avatars1.githubusercontent.com/u/12329207?v=4","gravatar_id":"","url":"https://api.github.com/users/Meeve","html_url":"https://github.com/Meeve","followers_url":"https://api.github.com/users/Meeve/followers","following_url":"https://api.github.com/users/Meeve/following{/other_user}","gists_url":"https://api.github.com/users/Meeve/gists{/gist_id}","starred_url":"https://api.github.com/users/Meeve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Meeve/subscriptions","organizations_url":"https://api.github.com/users/Meeve/orgs","repos_url":"https://api.github.com/users/Meeve/repos","events_url":"https://api.github.com/users/Meeve/events{/privacy}","received_events_url":"https://api.github.com/users/Meeve/received_events","type":"User","site_admin":false},"repo":{"id":143519634,"node_id":"MDEwOlJlcG9zaXRvcnkxNDM1MTk2MzQ=","name":"3d-editor","full_name":"Meeve/3d-editor","owner":{"login":"Meeve","id":12329207,"node_id":"MDQ6VXNlcjEyMzI5MjA3","avatar_url":"https://avatars1.githubusercontent.com/u/12329207?v=4","gravatar_id":"","url":"https://api.github.com/users/Meeve","html_url":"https://github.com/Meeve","followers_url":"https://api.github.com/users/Meeve/followers","following_url":"https://api.github.com/users/Meeve/following{/other_user}","gists_url":"https://api.github.com/users/Meeve/gists{/gist_id}","starred_url":"https://api.github.com/users/Meeve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Meeve/subscriptions","organizations_url":"https://api.github.com/users/Meeve/orgs","repos_url":"https://api.github.com/users/Meeve/repos","events_url":"https://api.github.com/users/Meeve/events{/privacy}","received_events_url":"https://api.github.com/users/Meeve/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Meeve/3d-editor","description":null,"fork":false,"url":"https://api.github.com/repos/Meeve/3d-editor","forks_url":"https://api.github.com/repos/Meeve/3d-editor/forks","keys_url":"https://api.github.com/repos/Meeve/3d-editor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Meeve/3d-editor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Meeve/3d-editor/teams","hooks_url":"https://api.github.com/repos/Meeve/3d-editor/hooks","issue_events_url":"https://api.github.com/repos/Meeve/3d-editor/issues/events{/number}","events_url":"https://api.github.com/repos/Meeve/3d-editor/events","assignees_url":"https://api.github.com/repos/Meeve/3d-editor/assignees{/user}","branches_url":"https://api.github.com/repos/Meeve/3d-editor/branches{/branch}","tags_url":"https://api.github.com/repos/Meeve/3d-editor/tags","blobs_url":"https://api.github.com/repos/Meeve/3d-editor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Meeve/3d-editor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Meeve/3d-editor/git/refs{/sha}","trees_url":"https://api.github.com/repos/Meeve/3d-editor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Meeve/3d-editor/statuses/{sha}","languages_url":"https://api.github.com/repos/Meeve/3d-editor/languages","stargazers_url":"https://api.github.com/repos/Meeve/3d-editor/stargazers","contributors_url":"https://api.github.com/repos/Meeve/3d-editor/contributors","subscribers_url":"https://api.github.com/repos/Meeve/3d-editor/subscribers","subscription_url":"https://api.github.com/repos/Meeve/3d-editor/subscription","commits_url":"https://api.github.com/repos/Meeve/3d-editor/commits{/sha}","git_commits_url":"https://api.github.com/repos/Meeve/3d-editor/git/commits{/sha}","comments_url":"https://api.github.com/repos/Meeve/3d-editor/comments{/number}","issue_comment_url":"https://api.github.com/repos/Meeve/3d-editor/issues/comments{/number}","contents_url":"https://api.github.com/repos/Meeve/3d-editor/contents/{+path}","compare_url":"https://api.github.com/repos/Meeve/3d-editor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Meeve/3d-editor/merges","archive_url":"https://api.github.com/repos/Meeve/3d-editor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Meeve/3d-editor/downloads","issues_url":"https://api.github.com/repos/Meeve/3d-editor/issues{/number}","pulls_url":"https://api.github.com/repos/Meeve/3d-editor/pulls{/number}","milestones_url":"https://api.github.com/repos/Meeve/3d-editor/milestones{/number}","notifications_url":"https://api.github.com/repos/Meeve/3d-editor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Meeve/3d-editor/labels{/name}","releases_url":"https://api.github.com/repos/Meeve/3d-editor/releases{/id}","deployments_url":"https://api.github.com/repos/Meeve/3d-editor/deployments","created_at":"2018-08-04T10:29:04Z","updated_at":"2018-08-11T14:17:36Z","pushed_at":"2018-08-12T16:54:44Z","git_url":"git://github.com/Meeve/3d-editor.git","ssh_url":"git@github.com:Meeve/3d-editor.git","clone_url":"https://github.com/Meeve/3d-editor.git","svn_url":"https://github.com/Meeve/3d-editor","homepage":null,"size":237,"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,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Meeve:master","ref":"master","sha":"b8045b1dac06f4b7c576b509cb311709a7ca98e3","user":{"login":"Meeve","id":12329207,"node_id":"MDQ6VXNlcjEyMzI5MjA3","avatar_url":"https://avatars1.githubusercontent.com/u/12329207?v=4","gravatar_id":"","url":"https://api.github.com/users/Meeve","html_url":"https://github.com/Meeve","followers_url":"https://api.github.com/users/Meeve/followers","following_url":"https://api.github.com/users/Meeve/following{/other_user}","gists_url":"https://api.github.com/users/Meeve/gists{/gist_id}","starred_url":"https://api.github.com/users/Meeve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Meeve/subscriptions","organizations_url":"https://api.github.com/users/Meeve/orgs","repos_url":"https://api.github.com/users/Meeve/repos","events_url":"https://api.github.com/users/Meeve/events{/privacy}","received_events_url":"https://api.github.com/users/Meeve/received_events","type":"User","site_admin":false},"repo":{"id":143519634,"node_id":"MDEwOlJlcG9zaXRvcnkxNDM1MTk2MzQ=","name":"3d-editor","full_name":"Meeve/3d-editor","owner":{"login":"Meeve","id":12329207,"node_id":"MDQ6VXNlcjEyMzI5MjA3","avatar_url":"https://avatars1.githubusercontent.com/u/12329207?v=4","gravatar_id":"","url":"https://api.github.com/users/Meeve","html_url":"https://github.com/Meeve","followers_url":"https://api.github.com/users/Meeve/followers","following_url":"https://api.github.com/users/Meeve/following{/other_user}","gists_url":"https://api.github.com/users/Meeve/gists{/gist_id}","starred_url":"https://api.github.com/users/Meeve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Meeve/subscriptions","organizations_url":"https://api.github.com/users/Meeve/orgs","repos_url":"https://api.github.com/users/Meeve/repos","events_url":"https://api.github.com/users/Meeve/events{/privacy}","received_events_url":"https://api.github.com/users/Meeve/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Meeve/3d-editor","description":null,"fork":false,"url":"https://api.github.com/repos/Meeve/3d-editor","forks_url":"https://api.github.com/repos/Meeve/3d-editor/forks","keys_url":"https://api.github.com/repos/Meeve/3d-editor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Meeve/3d-editor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Meeve/3d-editor/teams","hooks_url":"https://api.github.com/repos/Meeve/3d-editor/hooks","issue_events_url":"https://api.github.com/repos/Meeve/3d-editor/issues/events{/number}","events_url":"https://api.github.com/repos/Meeve/3d-editor/events","assignees_url":"https://api.github.com/repos/Meeve/3d-editor/assignees{/user}","branches_url":"https://api.github.com/repos/Meeve/3d-editor/branches{/branch}","tags_url":"https://api.github.com/repos/Meeve/3d-editor/tags","blobs_url":"https://api.github.com/repos/Meeve/3d-editor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Meeve/3d-editor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Meeve/3d-editor/git/refs{/sha}","trees_url":"https://api.github.com/repos/Meeve/3d-editor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Meeve/3d-editor/statuses/{sha}","languages_url":"https://api.github.com/repos/Meeve/3d-editor/languages","stargazers_url":"https://api.github.com/repos/Meeve/3d-editor/stargazers","contributors_url":"https://api.github.com/repos/Meeve/3d-editor/contributors","subscribers_url":"https://api.github.com/repos/Meeve/3d-editor/subscribers","subscription_url":"https://api.github.com/repos/Meeve/3d-editor/subscription","commits_url":"https://api.github.com/repos/Meeve/3d-editor/commits{/sha}","git_commits_url":"https://api.github.com/repos/Meeve/3d-editor/git/commits{/sha}","comments_url":"https://api.github.com/repos/Meeve/3d-editor/comments{/number}","issue_comment_url":"https://api.github.com/repos/Meeve/3d-editor/issues/comments{/number}","contents_url":"https://api.github.com/repos/Meeve/3d-editor/contents/{+path}","compare_url":"https://api.github.com/repos/Meeve/3d-editor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Meeve/3d-editor/merges","archive_url":"https://api.github.com/repos/Meeve/3d-editor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Meeve/3d-editor/downloads","issues_url":"https://api.github.com/repos/Meeve/3d-editor/issues{/number}","pulls_url":"https://api.github.com/repos/Meeve/3d-editor/pulls{/number}","milestones_url":"https://api.github.com/repos/Meeve/3d-editor/milestones{/number}","notifications_url":"https://api.github.com/repos/Meeve/3d-editor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Meeve/3d-editor/labels{/name}","releases_url":"https://api.github.com/repos/Meeve/3d-editor/releases{/id}","deployments_url":"https://api.github.com/repos/Meeve/3d-editor/deployments","created_at":"2018-08-04T10:29:04Z","updated_at":"2018-08-11T14:17:36Z","pushed_at":"2018-08-12T16:54:44Z","git_url":"git://github.com/Meeve/3d-editor.git","ssh_url":"git@github.com:Meeve/3d-editor.git","clone_url":"https://github.com/Meeve/3d-editor.git","svn_url":"https://github.com/Meeve/3d-editor","homepage":null,"size":237,"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,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Meeve/3d-editor/pulls/7"},"html":{"href":"https://github.com/Meeve/3d-editor/pull/7"},"issue":{"href":"https://api.github.com/repos/Meeve/3d-editor/issues/7"},"comments":{"href":"https://api.github.com/repos/Meeve/3d-editor/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/Meeve/3d-editor/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/Meeve/3d-editor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Meeve/3d-editor/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/Meeve/3d-editor/statuses/09405ec1a10ac337d309815e4885506ff0866efb"}},"author_association":"OWNER"}}
{"actor":{"display_login":"Danon"}}