{"action":"created","comment":{"url":"https://api.github.com/repos/chute/chute-display-components/pulls/comments/66355496","id":66355496,"diff_hunk":"@@ -0,0 +1,214 @@\n+'use strict'\n+\n+import React, {PropTypes} from 'react'\n+\n+import CenteredContentTable from 'cdc-components/shared/CenteredContentTable'\n+import Icon from 'cdc-components/shared/Icon'\n+\n+import classnames from 'classnames'\n+\n+/* improvement: bring the responsibility for 'active' */\n+/* into the lightbox, or place it in a store */\n+\n+import './DisplayWallLightbox.scss'\n+\n+export default React.createClass({\n+  propTypes: {\n+    active:               PropTypes.bool,\n+    currentAsset:         PropTypes.object.isRequired,\n+    nextAsset:            PropTypes.object,\n+    previousAsset:        PropTypes.object,\n+    onClickCurrentAsset:  PropTypes.func.isRequired,\n+    onClickNextAsset:     PropTypes.func.isRequired,\n+    onClickPreviousAsset: PropTypes.func.isRequired,\n+    deactivateLightbox:   PropTypes.func.isRequired\n+  },\n+\n+  getInitialState() {\n+    return {\n+      shareOptionsOpen: false,\n+      lightboxMaxWidth: 0\n+    }\n+  },\n+\n+  preventLightboxDeactivation(e) {\n+    e.stopPropagation()\n+  },\n+\n+  listenForEsc: function(event) {\n+    if (event.key === 'Escape' || event.keyCode === 27) {","path":"src/components/display-wall/grid/DisplayWallLightbox.jsx","position":37,"original_position":39,"commit_id":"34c2cbf045e55ad465f0c6652129397767edf323","original_commit_id":"37909059339912f16c6ee0a983013562c92e50a2","user":{"login":"jonathan-potter","id":3733595,"avatar_url":"https://avatars.githubusercontent.com/u/3733595?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathan-potter","html_url":"https://github.com/jonathan-potter","followers_url":"https://api.github.com/users/jonathan-potter/followers","following_url":"https://api.github.com/users/jonathan-potter/following{/other_user}","gists_url":"https://api.github.com/users/jonathan-potter/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathan-potter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathan-potter/subscriptions","organizations_url":"https://api.github.com/users/jonathan-potter/orgs","repos_url":"https://api.github.com/users/jonathan-potter/repos","events_url":"https://api.github.com/users/jonathan-potter/events{/privacy}","received_events_url":"https://api.github.com/users/jonathan-potter/received_events","type":"User","site_admin":false},"body":"@harby this part of the code is all yours","created_at":"2016-06-08T22:58:53Z","updated_at":"2016-06-08T22:58:53Z","html_url":"https://github.com/chute/chute-display-components/pull/63#discussion_r66355496","pull_request_url":"https://api.github.com/repos/chute/chute-display-components/pulls/63","_links":{"self":{"href":"https://api.github.com/repos/chute/chute-display-components/pulls/comments/66355496"},"html":{"href":"https://github.com/chute/chute-display-components/pull/63#discussion_r66355496"},"pull_request":{"href":"https://api.github.com/repos/chute/chute-display-components/pulls/63"}}},"pull_request":{"url":"https://api.github.com/repos/chute/chute-display-components/pulls/63","id":70774783,"html_url":"https://github.com/chute/chute-display-components/pull/63","diff_url":"https://github.com/chute/chute-display-components/pull/63.diff","patch_url":"https://github.com/chute/chute-display-components/pull/63.patch","issue_url":"https://api.github.com/repos/chute/chute-display-components/issues/63","number":63,"state":"open","locked":false,"title":"add components for new display","user":{"login":"jonathan-potter","id":3733595,"avatar_url":"https://avatars.githubusercontent.com/u/3733595?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathan-potter","html_url":"https://github.com/jonathan-potter","followers_url":"https://api.github.com/users/jonathan-potter/followers","following_url":"https://api.github.com/users/jonathan-potter/following{/other_user}","gists_url":"https://api.github.com/users/jonathan-potter/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathan-potter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathan-potter/subscriptions","organizations_url":"https://api.github.com/users/jonathan-potter/orgs","repos_url":"https://api.github.com/users/jonathan-potter/repos","events_url":"https://api.github.com/users/jonathan-potter/events{/privacy}","received_events_url":"https://api.github.com/users/jonathan-potter/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-19T22:18:20Z","updated_at":"2016-06-08T22:58:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"642ec1ab233854ed6726219999f7a3cea8da706e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chute/chute-display-components/pulls/63/commits","review_comments_url":"https://api.github.com/repos/chute/chute-display-components/pulls/63/comments","review_comment_url":"https://api.github.com/repos/chute/chute-display-components/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chute/chute-display-components/issues/63/comments","statuses_url":"https://api.github.com/repos/chute/chute-display-components/statuses/34c2cbf045e55ad465f0c6652129397767edf323","head":{"label":"chute:fix-dev-and-remove-hearts-and-shares","ref":"fix-dev-and-remove-hearts-and-shares","sha":"34c2cbf045e55ad465f0c6652129397767edf323","user":{"login":"chute","id":846285,"avatar_url":"https://avatars.githubusercontent.com/u/846285?v=3","gravatar_id":"","url":"https://api.github.com/users/chute","html_url":"https://github.com/chute","followers_url":"https://api.github.com/users/chute/followers","following_url":"https://api.github.com/users/chute/following{/other_user}","gists_url":"https://api.github.com/users/chute/gists{/gist_id}","starred_url":"https://api.github.com/users/chute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chute/subscriptions","organizations_url":"https://api.github.com/users/chute/orgs","repos_url":"https://api.github.com/users/chute/repos","events_url":"https://api.github.com/users/chute/events{/privacy}","received_events_url":"https://api.github.com/users/chute/received_events","type":"Organization","site_admin":false},"repo":{"id":41064248,"name":"chute-display-components","full_name":"chute/chute-display-components","owner":{"login":"chute","id":846285,"avatar_url":"https://avatars.githubusercontent.com/u/846285?v=3","gravatar_id":"","url":"https://api.github.com/users/chute","html_url":"https://github.com/chute","followers_url":"https://api.github.com/users/chute/followers","following_url":"https://api.github.com/users/chute/following{/other_user}","gists_url":"https://api.github.com/users/chute/gists{/gist_id}","starred_url":"https://api.github.com/users/chute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chute/subscriptions","organizations_url":"https://api.github.com/users/chute/orgs","repos_url":"https://api.github.com/users/chute/repos","events_url":"https://api.github.com/users/chute/events{/privacy}","received_events_url":"https://api.github.com/users/chute/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chute/chute-display-components","description":"","fork":false,"url":"https://api.github.com/repos/chute/chute-display-components","forks_url":"https://api.github.com/repos/chute/chute-display-components/forks","keys_url":"https://api.github.com/repos/chute/chute-display-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chute/chute-display-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chute/chute-display-components/teams","hooks_url":"https://api.github.com/repos/chute/chute-display-components/hooks","issue_events_url":"https://api.github.com/repos/chute/chute-display-components/issues/events{/number}","events_url":"https://api.github.com/repos/chute/chute-display-components/events","assignees_url":"https://api.github.com/repos/chute/chute-display-components/assignees{/user}","branches_url":"https://api.github.com/repos/chute/chute-display-components/branches{/branch}","tags_url":"https://api.github.com/repos/chute/chute-display-components/tags","blobs_url":"https://api.github.com/repos/chute/chute-display-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chute/chute-display-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chute/chute-display-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/chute/chute-display-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chute/chute-display-components/statuses/{sha}","languages_url":"https://api.github.com/repos/chute/chute-display-components/languages","stargazers_url":"https://api.github.com/repos/chute/chute-display-components/stargazers","contributors_url":"https://api.github.com/repos/chute/chute-display-components/contributors","subscribers_url":"https://api.github.com/repos/chute/chute-display-components/subscribers","subscription_url":"https://api.github.com/repos/chute/chute-display-components/subscription","commits_url":"https://api.github.com/repos/chute/chute-display-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/chute/chute-display-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/chute/chute-display-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/chute/chute-display-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/chute/chute-display-components/contents/{+path}","compare_url":"https://api.github.com/repos/chute/chute-display-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chute/chute-display-components/merges","archive_url":"https://api.github.com/repos/chute/chute-display-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chute/chute-display-components/downloads","issues_url":"https://api.github.com/repos/chute/chute-display-components/issues{/number}","pulls_url":"https://api.github.com/repos/chute/chute-display-components/pulls{/number}","milestones_url":"https://api.github.com/repos/chute/chute-display-components/milestones{/number}","notifications_url":"https://api.github.com/repos/chute/chute-display-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chute/chute-display-components/labels{/name}","releases_url":"https://api.github.com/repos/chute/chute-display-components/releases{/id}","deployments_url":"https://api.github.com/repos/chute/chute-display-components/deployments","created_at":"2015-08-19T23:10:06Z","updated_at":"2016-01-11T11:22:14Z","pushed_at":"2016-06-02T00:22:11Z","git_url":"git://github.com/chute/chute-display-components.git","ssh_url":"git@github.com:chute/chute-display-components.git","clone_url":"https://github.com/chute/chute-display-components.git","svn_url":"https://github.com/chute/chute-display-components","homepage":null,"size":657,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":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":"chute:master","ref":"master","sha":"c3e75e2ac0a061347647190660dd6f1f42c75ed7","user":{"login":"chute","id":846285,"avatar_url":"https://avatars.githubusercontent.com/u/846285?v=3","gravatar_id":"","url":"https://api.github.com/users/chute","html_url":"https://github.com/chute","followers_url":"https://api.github.com/users/chute/followers","following_url":"https://api.github.com/users/chute/following{/other_user}","gists_url":"https://api.github.com/users/chute/gists{/gist_id}","starred_url":"https://api.github.com/users/chute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chute/subscriptions","organizations_url":"https://api.github.com/users/chute/orgs","repos_url":"https://api.github.com/users/chute/repos","events_url":"https://api.github.com/users/chute/events{/privacy}","received_events_url":"https://api.github.com/users/chute/received_events","type":"Organization","site_admin":false},"repo":{"id":41064248,"name":"chute-display-components","full_name":"chute/chute-display-components","owner":{"login":"chute","id":846285,"avatar_url":"https://avatars.githubusercontent.com/u/846285?v=3","gravatar_id":"","url":"https://api.github.com/users/chute","html_url":"https://github.com/chute","followers_url":"https://api.github.com/users/chute/followers","following_url":"https://api.github.com/users/chute/following{/other_user}","gists_url":"https://api.github.com/users/chute/gists{/gist_id}","starred_url":"https://api.github.com/users/chute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chute/subscriptions","organizations_url":"https://api.github.com/users/chute/orgs","repos_url":"https://api.github.com/users/chute/repos","events_url":"https://api.github.com/users/chute/events{/privacy}","received_events_url":"https://api.github.com/users/chute/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chute/chute-display-components","description":"","fork":false,"url":"https://api.github.com/repos/chute/chute-display-components","forks_url":"https://api.github.com/repos/chute/chute-display-components/forks","keys_url":"https://api.github.com/repos/chute/chute-display-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chute/chute-display-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chute/chute-display-components/teams","hooks_url":"https://api.github.com/repos/chute/chute-display-components/hooks","issue_events_url":"https://api.github.com/repos/chute/chute-display-components/issues/events{/number}","events_url":"https://api.github.com/repos/chute/chute-display-components/events","assignees_url":"https://api.github.com/repos/chute/chute-display-components/assignees{/user}","branches_url":"https://api.github.com/repos/chute/chute-display-components/branches{/branch}","tags_url":"https://api.github.com/repos/chute/chute-display-components/tags","blobs_url":"https://api.github.com/repos/chute/chute-display-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chute/chute-display-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chute/chute-display-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/chute/chute-display-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chute/chute-display-components/statuses/{sha}","languages_url":"https://api.github.com/repos/chute/chute-display-components/languages","stargazers_url":"https://api.github.com/repos/chute/chute-display-components/stargazers","contributors_url":"https://api.github.com/repos/chute/chute-display-components/contributors","subscribers_url":"https://api.github.com/repos/chute/chute-display-components/subscribers","subscription_url":"https://api.github.com/repos/chute/chute-display-components/subscription","commits_url":"https://api.github.com/repos/chute/chute-display-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/chute/chute-display-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/chute/chute-display-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/chute/chute-display-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/chute/chute-display-components/contents/{+path}","compare_url":"https://api.github.com/repos/chute/chute-display-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chute/chute-display-components/merges","archive_url":"https://api.github.com/repos/chute/chute-display-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chute/chute-display-components/downloads","issues_url":"https://api.github.com/repos/chute/chute-display-components/issues{/number}","pulls_url":"https://api.github.com/repos/chute/chute-display-components/pulls{/number}","milestones_url":"https://api.github.com/repos/chute/chute-display-components/milestones{/number}","notifications_url":"https://api.github.com/repos/chute/chute-display-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chute/chute-display-components/labels{/name}","releases_url":"https://api.github.com/repos/chute/chute-display-components/releases{/id}","deployments_url":"https://api.github.com/repos/chute/chute-display-components/deployments","created_at":"2015-08-19T23:10:06Z","updated_at":"2016-01-11T11:22:14Z","pushed_at":"2016-06-02T00:22:11Z","git_url":"git://github.com/chute/chute-display-components.git","ssh_url":"git@github.com:chute/chute-display-components.git","clone_url":"https://github.com/chute/chute-display-components.git","svn_url":"https://github.com/chute/chute-display-components","homepage":null,"size":657,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":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/chute/chute-display-components/pulls/63"},"html":{"href":"https://github.com/chute/chute-display-components/pull/63"},"issue":{"href":"https://api.github.com/repos/chute/chute-display-components/issues/63"},"comments":{"href":"https://api.github.com/repos/chute/chute-display-components/issues/63/comments"},"review_comments":{"href":"https://api.github.com/repos/chute/chute-display-components/pulls/63/comments"},"review_comment":{"href":"https://api.github.com/repos/chute/chute-display-components/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chute/chute-display-components/pulls/63/commits"},"statuses":{"href":"https://api.github.com/repos/chute/chute-display-components/statuses/34c2cbf045e55ad465f0c6652129397767edf323"}}}}
{"actor":{"display_login":"jonathan-potter"}}