{"action":"created","comment":{"url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/pulls/comments/237522104","pull_request_review_id":179839306,"id":237522104,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNzUyMjEwNA==","diff_hunk":"@@ -0,0 +1,57 @@\n+import { inject, observer } from \"mobx-react\";\n+import * as React from \"react\";\n+import { BaseComponent, IBaseProps } from \"../../base\";\n+import OrganelleWrapper from \"./OrganelleWrapper\";\n+import { CollectButtonComponent } from \"../../collect-button\";\n+\n+import \"./cell-zoom.sass\";\n+\n+interface IProps extends IBaseProps {\n+  rowIndex: number;\n+}\n+interface IState {}\n+\n+@inject(\"stores\")\n+@observer\n+export class CellZoomComponent extends BaseComponent<IProps, IState> {\n+  public render() {\n+    const { cellZoom } = this.stores;\n+    const { rowIndex } = this.props;\n+    const { backpackIndex } = cellZoom.rows[rowIndex];\n+\n+    return (\n+      <div className=\"cell-zoom-panel\">\n+        <CollectButtonComponent\n+          backpackIndex={backpackIndex}\n+          clickMouse={this.clickMouse}\n+          clickEmpty={this.clickEmpty}\n+          clickClose={this.clickClose}\n+        />\n+        {\n+          backpackIndex != null &&\n+            <OrganelleWrapper elementName={`organelle-wrapper-${rowIndex}`} rowIndex={rowIndex}/>\n+        }\n+      </div>\n+    );\n+  }\n+\n+  private clickMouse = () => {\n+    // Clicks only work on empty slots\n+  }\n+\n+  private clickEmpty = () => {\n+    const { backpack, cellZoom } = this.stores;\n+    const { rowIndex } = this.props;\n+    const { activeSlot } = backpack;\n+    if (activeSlot != null) {\n+      cellZoom.setRowBackpackIndex(rowIndex, activeSlot, backpack);","path":"src/components/spaces/cell-zoom/cell-zoom.tsx","position":47,"original_position":47,"commit_id":"d7dcec45e6defb1918513ab345c841cc25dc1c6b","original_commit_id":"d7dcec45e6defb1918513ab345c841cc25dc1c6b","user":{"login":"sfentress","id":35721,"node_id":"MDQ6VXNlcjM1NzIx","avatar_url":"https://avatars2.githubusercontent.com/u/35721?v=4","gravatar_id":"","url":"https://api.github.com/users/sfentress","html_url":"https://github.com/sfentress","followers_url":"https://api.github.com/users/sfentress/followers","following_url":"https://api.github.com/users/sfentress/following{/other_user}","gists_url":"https://api.github.com/users/sfentress/gists{/gist_id}","starred_url":"https://api.github.com/users/sfentress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfentress/subscriptions","organizations_url":"https://api.github.com/users/sfentress/orgs","repos_url":"https://api.github.com/users/sfentress/repos","events_url":"https://api.github.com/users/sfentress/events{/privacy}","received_events_url":"https://api.github.com/users/sfentress/received_events","type":"User","site_admin":false},"body":":+1:","created_at":"2018-11-29T15:03:19Z","updated_at":"2018-11-29T15:18:52Z","html_url":"https://github.com/concord-consortium/connected-bio-spaces/pull/19#discussion_r237522104","pull_request_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/pulls/19","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/pulls/comments/237522104"},"html":{"href":"https://github.com/concord-consortium/connected-bio-spaces/pull/19#discussion_r237522104"},"pull_request":{"href":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/pulls/19","id":234535812,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0NTM1ODEy","html_url":"https://github.com/concord-consortium/connected-bio-spaces/pull/19","diff_url":"https://github.com/concord-consortium/connected-bio-spaces/pull/19.diff","patch_url":"https://github.com/concord-consortium/connected-bio-spaces/pull/19.patch","issue_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/issues/19","number":19,"state":"open","locked":false,"title":"Backpack Selection","user":{"login":"ekosmin","id":3824039,"node_id":"MDQ6VXNlcjM4MjQwMzk=","avatar_url":"https://avatars1.githubusercontent.com/u/3824039?v=4","gravatar_id":"","url":"https://api.github.com/users/ekosmin","html_url":"https://github.com/ekosmin","followers_url":"https://api.github.com/users/ekosmin/followers","following_url":"https://api.github.com/users/ekosmin/following{/other_user}","gists_url":"https://api.github.com/users/ekosmin/gists{/gist_id}","starred_url":"https://api.github.com/users/ekosmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekosmin/subscriptions","organizations_url":"https://api.github.com/users/ekosmin/orgs","repos_url":"https://api.github.com/users/ekosmin/repos","events_url":"https://api.github.com/users/ekosmin/events{/privacy}","received_events_url":"https://api.github.com/users/ekosmin/received_events","type":"User","site_admin":false},"body":"Adds the ability to select mice from the backpack and put them into the cell-zoom view. I have a few questions about how the cell views maintain their state and around component reuse that I'd like to touch base on at some point. I'll leave more specific comments in the code.\r\n\r\n@sfentress I'm hoping you can take the lead on this review; @mklewandowski I tagged you to take a look at the `collect-button` changes if you have a chance","created_at":"2018-11-29T07:35:38Z","updated_at":"2018-11-29T15:18:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ca47b183ac3028b194c3121544d6adcacbaff2d6","assignee":null,"assignees":[],"requested_reviewers":[{"login":"mklewandowski","id":5126913,"node_id":"MDQ6VXNlcjUxMjY5MTM=","avatar_url":"https://avatars0.githubusercontent.com/u/5126913?v=4","gravatar_id":"","url":"https://api.github.com/users/mklewandowski","html_url":"https://github.com/mklewandowski","followers_url":"https://api.github.com/users/mklewandowski/followers","following_url":"https://api.github.com/users/mklewandowski/following{/other_user}","gists_url":"https://api.github.com/users/mklewandowski/gists{/gist_id}","starred_url":"https://api.github.com/users/mklewandowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mklewandowski/subscriptions","organizations_url":"https://api.github.com/users/mklewandowski/orgs","repos_url":"https://api.github.com/users/mklewandowski/repos","events_url":"https://api.github.com/users/mklewandowski/events{/privacy}","received_events_url":"https://api.github.com/users/mklewandowski/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/pulls/19/commits","review_comments_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/pulls/19/comments","review_comment_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/pulls/comments{/number}","comments_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/issues/19/comments","statuses_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/statuses/d7dcec45e6defb1918513ab345c841cc25dc1c6b","head":{"label":"concord-consortium:backpack-selection","ref":"backpack-selection","sha":"d7dcec45e6defb1918513ab345c841cc25dc1c6b","user":{"login":"concord-consortium","id":319219,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxOTIxOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/319219?v=4","gravatar_id":"","url":"https://api.github.com/users/concord-consortium","html_url":"https://github.com/concord-consortium","followers_url":"https://api.github.com/users/concord-consortium/followers","following_url":"https://api.github.com/users/concord-consortium/following{/other_user}","gists_url":"https://api.github.com/users/concord-consortium/gists{/gist_id}","starred_url":"https://api.github.com/users/concord-consortium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/concord-consortium/subscriptions","organizations_url":"https://api.github.com/users/concord-consortium/orgs","repos_url":"https://api.github.com/users/concord-consortium/repos","events_url":"https://api.github.com/users/concord-consortium/events{/privacy}","received_events_url":"https://api.github.com/users/concord-consortium/received_events","type":"Organization","site_admin":false},"repo":{"id":154394424,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQzOTQ0MjQ=","name":"connected-bio-spaces","full_name":"concord-consortium/connected-bio-spaces","private":false,"owner":{"login":"concord-consortium","id":319219,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxOTIxOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/319219?v=4","gravatar_id":"","url":"https://api.github.com/users/concord-consortium","html_url":"https://github.com/concord-consortium","followers_url":"https://api.github.com/users/concord-consortium/followers","following_url":"https://api.github.com/users/concord-consortium/following{/other_user}","gists_url":"https://api.github.com/users/concord-consortium/gists{/gist_id}","starred_url":"https://api.github.com/users/concord-consortium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/concord-consortium/subscriptions","organizations_url":"https://api.github.com/users/concord-consortium/orgs","repos_url":"https://api.github.com/users/concord-consortium/repos","events_url":"https://api.github.com/users/concord-consortium/events{/privacy}","received_events_url":"https://api.github.com/users/concord-consortium/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/concord-consortium/connected-bio-spaces","description":"Container application for the Connected Bio project","fork":false,"url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces","forks_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/forks","keys_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/keys{/key_id}","collaborators_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/teams","hooks_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/hooks","issue_events_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/issues/events{/number}","events_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/events","assignees_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/assignees{/user}","branches_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/branches{/branch}","tags_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/tags","blobs_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/git/refs{/sha}","trees_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/git/trees{/sha}","statuses_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/statuses/{sha}","languages_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/languages","stargazers_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/stargazers","contributors_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/contributors","subscribers_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/subscribers","subscription_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/subscription","commits_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/commits{/sha}","git_commits_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/git/commits{/sha}","comments_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/comments{/number}","issue_comment_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/issues/comments{/number}","contents_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/contents/{+path}","compare_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/compare/{base}...{head}","merges_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/merges","archive_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/downloads","issues_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/issues{/number}","pulls_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/pulls{/number}","milestones_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/milestones{/number}","notifications_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/labels{/name}","releases_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/releases{/id}","deployments_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/deployments","created_at":"2018-10-23T20:45:01Z","updated_at":"2018-11-29T02:41:09Z","pushed_at":"2018-11-29T09:18:34Z","git_url":"git://github.com/concord-consortium/connected-bio-spaces.git","ssh_url":"git@github.com:concord-consortium/connected-bio-spaces.git","clone_url":"https://github.com/concord-consortium/connected-bio-spaces.git","svn_url":"https://github.com/concord-consortium/connected-bio-spaces","homepage":null,"size":2325,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"concord-consortium:master","ref":"master","sha":"b8edccc84ceca5704c948021a9a5c0c19f84c824","user":{"login":"concord-consortium","id":319219,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxOTIxOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/319219?v=4","gravatar_id":"","url":"https://api.github.com/users/concord-consortium","html_url":"https://github.com/concord-consortium","followers_url":"https://api.github.com/users/concord-consortium/followers","following_url":"https://api.github.com/users/concord-consortium/following{/other_user}","gists_url":"https://api.github.com/users/concord-consortium/gists{/gist_id}","starred_url":"https://api.github.com/users/concord-consortium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/concord-consortium/subscriptions","organizations_url":"https://api.github.com/users/concord-consortium/orgs","repos_url":"https://api.github.com/users/concord-consortium/repos","events_url":"https://api.github.com/users/concord-consortium/events{/privacy}","received_events_url":"https://api.github.com/users/concord-consortium/received_events","type":"Organization","site_admin":false},"repo":{"id":154394424,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQzOTQ0MjQ=","name":"connected-bio-spaces","full_name":"concord-consortium/connected-bio-spaces","private":false,"owner":{"login":"concord-consortium","id":319219,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxOTIxOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/319219?v=4","gravatar_id":"","url":"https://api.github.com/users/concord-consortium","html_url":"https://github.com/concord-consortium","followers_url":"https://api.github.com/users/concord-consortium/followers","following_url":"https://api.github.com/users/concord-consortium/following{/other_user}","gists_url":"https://api.github.com/users/concord-consortium/gists{/gist_id}","starred_url":"https://api.github.com/users/concord-consortium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/concord-consortium/subscriptions","organizations_url":"https://api.github.com/users/concord-consortium/orgs","repos_url":"https://api.github.com/users/concord-consortium/repos","events_url":"https://api.github.com/users/concord-consortium/events{/privacy}","received_events_url":"https://api.github.com/users/concord-consortium/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/concord-consortium/connected-bio-spaces","description":"Container application for the Connected Bio project","fork":false,"url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces","forks_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/forks","keys_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/keys{/key_id}","collaborators_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/teams","hooks_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/hooks","issue_events_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/issues/events{/number}","events_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/events","assignees_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/assignees{/user}","branches_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/branches{/branch}","tags_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/tags","blobs_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/git/refs{/sha}","trees_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/git/trees{/sha}","statuses_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/statuses/{sha}","languages_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/languages","stargazers_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/stargazers","contributors_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/contributors","subscribers_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/subscribers","subscription_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/subscription","commits_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/commits{/sha}","git_commits_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/git/commits{/sha}","comments_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/comments{/number}","issue_comment_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/issues/comments{/number}","contents_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/contents/{+path}","compare_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/compare/{base}...{head}","merges_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/merges","archive_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/downloads","issues_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/issues{/number}","pulls_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/pulls{/number}","milestones_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/milestones{/number}","notifications_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/labels{/name}","releases_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/releases{/id}","deployments_url":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/deployments","created_at":"2018-10-23T20:45:01Z","updated_at":"2018-11-29T02:41:09Z","pushed_at":"2018-11-29T09:18:34Z","git_url":"git://github.com/concord-consortium/connected-bio-spaces.git","ssh_url":"git@github.com:concord-consortium/connected-bio-spaces.git","clone_url":"https://github.com/concord-consortium/connected-bio-spaces.git","svn_url":"https://github.com/concord-consortium/connected-bio-spaces","homepage":null,"size":2325,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/pulls/19"},"html":{"href":"https://github.com/concord-consortium/connected-bio-spaces/pull/19"},"issue":{"href":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/issues/19"},"comments":{"href":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/concord-consortium/connected-bio-spaces/statuses/d7dcec45e6defb1918513ab345c841cc25dc1c6b"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"sfentress"}}