{"action":"created","comment":{"url":"https://api.github.com/repos/Kitware/HPCCloud/pulls/comments/63064051","id":63064051,"diff_hunk":"@@ -77,6 +91,10 @@ const FileListing = React.createClass({\n         <a href={`api/v1/item/${file._id}/download`} target=\"_blank\">\n           <i className={style.downloadIcon}></i>\n         </a>\n+        { file.size <= 100000 ? (<i className={style.previewIcon}\n+          data-name={file.name} data-id={file._id}","path":"src/panels/FileListing/index.js","position":35,"original_position":35,"commit_id":"7d0732800a308868da87fbec46fa6b3ccdd34d18","original_commit_id":"7d0732800a308868da87fbec46fa6b3ccdd34d18","user":{"login":"cjh1","id":1031053,"avatar_url":"https://avatars.githubusercontent.com/u/1031053?v=3","gravatar_id":"","url":"https://api.github.com/users/cjh1","html_url":"https://github.com/cjh1","followers_url":"https://api.github.com/users/cjh1/followers","following_url":"https://api.github.com/users/cjh1/following{/other_user}","gists_url":"https://api.github.com/users/cjh1/gists{/gist_id}","starred_url":"https://api.github.com/users/cjh1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjh1/subscriptions","organizations_url":"https://api.github.com/users/cjh1/orgs","repos_url":"https://api.github.com/users/cjh1/repos","events_url":"https://api.github.com/users/cjh1/events{/privacy}","received_events_url":"https://api.github.com/users/cjh1/received_events","type":"User","site_admin":false},"body":"Whats the magic number? ","created_at":"2016-05-12T17:41:06Z","updated_at":"2016-05-12T17:41:06Z","html_url":"https://github.com/Kitware/HPCCloud/pull/390#discussion_r63064051","pull_request_url":"https://api.github.com/repos/Kitware/HPCCloud/pulls/390","_links":{"self":{"href":"https://api.github.com/repos/Kitware/HPCCloud/pulls/comments/63064051"},"html":{"href":"https://github.com/Kitware/HPCCloud/pull/390#discussion_r63064051"},"pull_request":{"href":"https://api.github.com/repos/Kitware/HPCCloud/pulls/390"}}},"pull_request":{"url":"https://api.github.com/repos/Kitware/HPCCloud/pulls/390","id":69752691,"html_url":"https://github.com/Kitware/HPCCloud/pull/390","diff_url":"https://github.com/Kitware/HPCCloud/pull/390.diff","patch_url":"https://github.com/Kitware/HPCCloud/pull/390.patch","issue_url":"https://api.github.com/repos/Kitware/HPCCloud/issues/390","number":390,"state":"open","locked":false,"title":"File preview","user":{"login":"TristanWright","id":13318121,"avatar_url":"https://avatars.githubusercontent.com/u/13318121?v=3","gravatar_id":"","url":"https://api.github.com/users/TristanWright","html_url":"https://github.com/TristanWright","followers_url":"https://api.github.com/users/TristanWright/followers","following_url":"https://api.github.com/users/TristanWright/following{/other_user}","gists_url":"https://api.github.com/users/TristanWright/gists{/gist_id}","starred_url":"https://api.github.com/users/TristanWright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TristanWright/subscriptions","organizations_url":"https://api.github.com/users/TristanWright/orgs","repos_url":"https://api.github.com/users/TristanWright/repos","events_url":"https://api.github.com/users/TristanWright/events{/privacy}","received_events_url":"https://api.github.com/users/TristanWright/received_events","type":"User","site_admin":false},"body":"requires `paraviewweb 1.5.3`","created_at":"2016-05-11T22:26:39Z","updated_at":"2016-05-12T17:41:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f16900c4be411d7ab1ab44f6b542eb4e8bfc428f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Kitware/HPCCloud/pulls/390/commits","review_comments_url":"https://api.github.com/repos/Kitware/HPCCloud/pulls/390/comments","review_comment_url":"https://api.github.com/repos/Kitware/HPCCloud/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Kitware/HPCCloud/issues/390/comments","statuses_url":"https://api.github.com/repos/Kitware/HPCCloud/statuses/7d0732800a308868da87fbec46fa6b3ccdd34d18","head":{"label":"Kitware:file-preview","ref":"file-preview","sha":"7d0732800a308868da87fbec46fa6b3ccdd34d18","user":{"login":"Kitware","id":87549,"avatar_url":"https://avatars.githubusercontent.com/u/87549?v=3","gravatar_id":"","url":"https://api.github.com/users/Kitware","html_url":"https://github.com/Kitware","followers_url":"https://api.github.com/users/Kitware/followers","following_url":"https://api.github.com/users/Kitware/following{/other_user}","gists_url":"https://api.github.com/users/Kitware/gists{/gist_id}","starred_url":"https://api.github.com/users/Kitware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kitware/subscriptions","organizations_url":"https://api.github.com/users/Kitware/orgs","repos_url":"https://api.github.com/users/Kitware/repos","events_url":"https://api.github.com/users/Kitware/events{/privacy}","received_events_url":"https://api.github.com/users/Kitware/received_events","type":"Organization","site_admin":false},"repo":{"id":40924266,"name":"HPCCloud","full_name":"Kitware/HPCCloud","owner":{"login":"Kitware","id":87549,"avatar_url":"https://avatars.githubusercontent.com/u/87549?v=3","gravatar_id":"","url":"https://api.github.com/users/Kitware","html_url":"https://github.com/Kitware","followers_url":"https://api.github.com/users/Kitware/followers","following_url":"https://api.github.com/users/Kitware/following{/other_user}","gists_url":"https://api.github.com/users/Kitware/gists{/gist_id}","starred_url":"https://api.github.com/users/Kitware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kitware/subscriptions","organizations_url":"https://api.github.com/users/Kitware/orgs","repos_url":"https://api.github.com/users/Kitware/repos","events_url":"https://api.github.com/users/Kitware/events{/privacy}","received_events_url":"https://api.github.com/users/Kitware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Kitware/HPCCloud","description":"A Cloud/Web-Based Simulation  Environment","fork":false,"url":"https://api.github.com/repos/Kitware/HPCCloud","forks_url":"https://api.github.com/repos/Kitware/HPCCloud/forks","keys_url":"https://api.github.com/repos/Kitware/HPCCloud/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kitware/HPCCloud/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kitware/HPCCloud/teams","hooks_url":"https://api.github.com/repos/Kitware/HPCCloud/hooks","issue_events_url":"https://api.github.com/repos/Kitware/HPCCloud/issues/events{/number}","events_url":"https://api.github.com/repos/Kitware/HPCCloud/events","assignees_url":"https://api.github.com/repos/Kitware/HPCCloud/assignees{/user}","branches_url":"https://api.github.com/repos/Kitware/HPCCloud/branches{/branch}","tags_url":"https://api.github.com/repos/Kitware/HPCCloud/tags","blobs_url":"https://api.github.com/repos/Kitware/HPCCloud/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kitware/HPCCloud/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kitware/HPCCloud/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kitware/HPCCloud/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kitware/HPCCloud/statuses/{sha}","languages_url":"https://api.github.com/repos/Kitware/HPCCloud/languages","stargazers_url":"https://api.github.com/repos/Kitware/HPCCloud/stargazers","contributors_url":"https://api.github.com/repos/Kitware/HPCCloud/contributors","subscribers_url":"https://api.github.com/repos/Kitware/HPCCloud/subscribers","subscription_url":"https://api.github.com/repos/Kitware/HPCCloud/subscription","commits_url":"https://api.github.com/repos/Kitware/HPCCloud/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kitware/HPCCloud/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kitware/HPCCloud/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kitware/HPCCloud/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kitware/HPCCloud/contents/{+path}","compare_url":"https://api.github.com/repos/Kitware/HPCCloud/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kitware/HPCCloud/merges","archive_url":"https://api.github.com/repos/Kitware/HPCCloud/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kitware/HPCCloud/downloads","issues_url":"https://api.github.com/repos/Kitware/HPCCloud/issues{/number}","pulls_url":"https://api.github.com/repos/Kitware/HPCCloud/pulls{/number}","milestones_url":"https://api.github.com/repos/Kitware/HPCCloud/milestones{/number}","notifications_url":"https://api.github.com/repos/Kitware/HPCCloud/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kitware/HPCCloud/labels{/name}","releases_url":"https://api.github.com/repos/Kitware/HPCCloud/releases{/id}","deployments_url":"https://api.github.com/repos/Kitware/HPCCloud/deployments","created_at":"2015-08-17T19:55:03Z","updated_at":"2016-05-04T21:43:06Z","pushed_at":"2016-05-12T17:32:59Z","git_url":"git://github.com/Kitware/HPCCloud.git","ssh_url":"git@github.com:Kitware/HPCCloud.git","clone_url":"https://github.com/Kitware/HPCCloud.git","svn_url":"https://github.com/Kitware/HPCCloud","homepage":"","size":8583,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":36,"forks":1,"open_issues":36,"watchers":4,"default_branch":"master"}},"base":{"label":"Kitware:master","ref":"master","sha":"9e7c88c1ecedd69167fecfc961a36bd90ddaf812","user":{"login":"Kitware","id":87549,"avatar_url":"https://avatars.githubusercontent.com/u/87549?v=3","gravatar_id":"","url":"https://api.github.com/users/Kitware","html_url":"https://github.com/Kitware","followers_url":"https://api.github.com/users/Kitware/followers","following_url":"https://api.github.com/users/Kitware/following{/other_user}","gists_url":"https://api.github.com/users/Kitware/gists{/gist_id}","starred_url":"https://api.github.com/users/Kitware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kitware/subscriptions","organizations_url":"https://api.github.com/users/Kitware/orgs","repos_url":"https://api.github.com/users/Kitware/repos","events_url":"https://api.github.com/users/Kitware/events{/privacy}","received_events_url":"https://api.github.com/users/Kitware/received_events","type":"Organization","site_admin":false},"repo":{"id":40924266,"name":"HPCCloud","full_name":"Kitware/HPCCloud","owner":{"login":"Kitware","id":87549,"avatar_url":"https://avatars.githubusercontent.com/u/87549?v=3","gravatar_id":"","url":"https://api.github.com/users/Kitware","html_url":"https://github.com/Kitware","followers_url":"https://api.github.com/users/Kitware/followers","following_url":"https://api.github.com/users/Kitware/following{/other_user}","gists_url":"https://api.github.com/users/Kitware/gists{/gist_id}","starred_url":"https://api.github.com/users/Kitware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kitware/subscriptions","organizations_url":"https://api.github.com/users/Kitware/orgs","repos_url":"https://api.github.com/users/Kitware/repos","events_url":"https://api.github.com/users/Kitware/events{/privacy}","received_events_url":"https://api.github.com/users/Kitware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Kitware/HPCCloud","description":"A Cloud/Web-Based Simulation  Environment","fork":false,"url":"https://api.github.com/repos/Kitware/HPCCloud","forks_url":"https://api.github.com/repos/Kitware/HPCCloud/forks","keys_url":"https://api.github.com/repos/Kitware/HPCCloud/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kitware/HPCCloud/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kitware/HPCCloud/teams","hooks_url":"https://api.github.com/repos/Kitware/HPCCloud/hooks","issue_events_url":"https://api.github.com/repos/Kitware/HPCCloud/issues/events{/number}","events_url":"https://api.github.com/repos/Kitware/HPCCloud/events","assignees_url":"https://api.github.com/repos/Kitware/HPCCloud/assignees{/user}","branches_url":"https://api.github.com/repos/Kitware/HPCCloud/branches{/branch}","tags_url":"https://api.github.com/repos/Kitware/HPCCloud/tags","blobs_url":"https://api.github.com/repos/Kitware/HPCCloud/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kitware/HPCCloud/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kitware/HPCCloud/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kitware/HPCCloud/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kitware/HPCCloud/statuses/{sha}","languages_url":"https://api.github.com/repos/Kitware/HPCCloud/languages","stargazers_url":"https://api.github.com/repos/Kitware/HPCCloud/stargazers","contributors_url":"https://api.github.com/repos/Kitware/HPCCloud/contributors","subscribers_url":"https://api.github.com/repos/Kitware/HPCCloud/subscribers","subscription_url":"https://api.github.com/repos/Kitware/HPCCloud/subscription","commits_url":"https://api.github.com/repos/Kitware/HPCCloud/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kitware/HPCCloud/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kitware/HPCCloud/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kitware/HPCCloud/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kitware/HPCCloud/contents/{+path}","compare_url":"https://api.github.com/repos/Kitware/HPCCloud/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kitware/HPCCloud/merges","archive_url":"https://api.github.com/repos/Kitware/HPCCloud/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kitware/HPCCloud/downloads","issues_url":"https://api.github.com/repos/Kitware/HPCCloud/issues{/number}","pulls_url":"https://api.github.com/repos/Kitware/HPCCloud/pulls{/number}","milestones_url":"https://api.github.com/repos/Kitware/HPCCloud/milestones{/number}","notifications_url":"https://api.github.com/repos/Kitware/HPCCloud/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kitware/HPCCloud/labels{/name}","releases_url":"https://api.github.com/repos/Kitware/HPCCloud/releases{/id}","deployments_url":"https://api.github.com/repos/Kitware/HPCCloud/deployments","created_at":"2015-08-17T19:55:03Z","updated_at":"2016-05-04T21:43:06Z","pushed_at":"2016-05-12T17:32:59Z","git_url":"git://github.com/Kitware/HPCCloud.git","ssh_url":"git@github.com:Kitware/HPCCloud.git","clone_url":"https://github.com/Kitware/HPCCloud.git","svn_url":"https://github.com/Kitware/HPCCloud","homepage":"","size":8583,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":36,"forks":1,"open_issues":36,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Kitware/HPCCloud/pulls/390"},"html":{"href":"https://github.com/Kitware/HPCCloud/pull/390"},"issue":{"href":"https://api.github.com/repos/Kitware/HPCCloud/issues/390"},"comments":{"href":"https://api.github.com/repos/Kitware/HPCCloud/issues/390/comments"},"review_comments":{"href":"https://api.github.com/repos/Kitware/HPCCloud/pulls/390/comments"},"review_comment":{"href":"https://api.github.com/repos/Kitware/HPCCloud/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Kitware/HPCCloud/pulls/390/commits"},"statuses":{"href":"https://api.github.com/repos/Kitware/HPCCloud/statuses/7d0732800a308868da87fbec46fa6b3ccdd34d18"}}}}