{"action":"created","comment":{"url":"https://api.github.com/repos/unsinkablecircus/opengallery/pulls/comments/57420152","id":57420152,"diff_hunk":"@@ -0,0 +1,38 @@\n+import React from 'react';\n+import Dropzone from 'react-dropzone'\n+import FlatButton from 'material-ui/lib/flat-button';\n+\n+const DropZone = ({","path":"client/components/photo/dropZone.js","position":5,"original_position":5,"commit_id":"50009739be9c23c9dd8ce30d6ff7cf4be04d8218","original_commit_id":"50009739be9c23c9dd8ce30d6ff7cf4be04d8218","user":{"login":"danielwong2268","id":16235335,"avatar_url":"https://avatars.githubusercontent.com/u/16235335?v=3","gravatar_id":"","url":"https://api.github.com/users/danielwong2268","html_url":"https://github.com/danielwong2268","followers_url":"https://api.github.com/users/danielwong2268/followers","following_url":"https://api.github.com/users/danielwong2268/following{/other_user}","gists_url":"https://api.github.com/users/danielwong2268/gists{/gist_id}","starred_url":"https://api.github.com/users/danielwong2268/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielwong2268/subscriptions","organizations_url":"https://api.github.com/users/danielwong2268/orgs","repos_url":"https://api.github.com/users/danielwong2268/repos","events_url":"https://api.github.com/users/danielwong2268/events{/privacy}","received_events_url":"https://api.github.com/users/danielwong2268/received_events","type":"User","site_admin":false},"body":"I think the reason DropZone wasn't re-rendering on upload is bc it's re-render method isn't subbed to the store. You would either need to hook it up with connect, or subscribe/unsubscribe in life cycle methods","created_at":"2016-03-25T05:18:11Z","updated_at":"2016-03-25T05:18:11Z","html_url":"https://github.com/unsinkablecircus/opengallery/pull/68#discussion_r57420152","pull_request_url":"https://api.github.com/repos/unsinkablecircus/opengallery/pulls/68","_links":{"self":{"href":"https://api.github.com/repos/unsinkablecircus/opengallery/pulls/comments/57420152"},"html":{"href":"https://github.com/unsinkablecircus/opengallery/pull/68#discussion_r57420152"},"pull_request":{"href":"https://api.github.com/repos/unsinkablecircus/opengallery/pulls/68"}}},"pull_request":{"url":"https://api.github.com/repos/unsinkablecircus/opengallery/pulls/68","id":64128036,"html_url":"https://github.com/unsinkablecircus/opengallery/pull/68","diff_url":"https://github.com/unsinkablecircus/opengallery/pull/68.diff","patch_url":"https://github.com/unsinkablecircus/opengallery/pull/68.patch","issue_url":"https://api.github.com/repos/unsinkablecircus/opengallery/issues/68","number":68,"state":"open","locked":false,"title":"Image upload client side","user":{"login":"megaohms","id":10580356,"avatar_url":"https://avatars.githubusercontent.com/u/10580356?v=3","gravatar_id":"","url":"https://api.github.com/users/megaohms","html_url":"https://github.com/megaohms","followers_url":"https://api.github.com/users/megaohms/followers","following_url":"https://api.github.com/users/megaohms/following{/other_user}","gists_url":"https://api.github.com/users/megaohms/gists{/gist_id}","starred_url":"https://api.github.com/users/megaohms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/megaohms/subscriptions","organizations_url":"https://api.github.com/users/megaohms/orgs","repos_url":"https://api.github.com/users/megaohms/repos","events_url":"https://api.github.com/users/megaohms/events{/privacy}","received_events_url":"https://api.github.com/users/megaohms/received_events","type":"User","site_admin":false},"body":"- Toggle create icon in the nav bar to open upload photo modal\r\n- Drag photo to upload\r\n- Photo upload instantly on drop\r\n- Photo description data submits a second post request to update postgres record for that photo","created_at":"2016-03-25T03:36:30Z","updated_at":"2016-03-25T05:18:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8560d34aa289bc4dbd8609a684ffa5dc85704165","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/unsinkablecircus/opengallery/pulls/68/commits","review_comments_url":"https://api.github.com/repos/unsinkablecircus/opengallery/pulls/68/comments","review_comment_url":"https://api.github.com/repos/unsinkablecircus/opengallery/pulls/comments{/number}","comments_url":"https://api.github.com/repos/unsinkablecircus/opengallery/issues/68/comments","statuses_url":"https://api.github.com/repos/unsinkablecircus/opengallery/statuses/50009739be9c23c9dd8ce30d6ff7cf4be04d8218","head":{"label":"megaohms:dropZone","ref":"dropZone","sha":"50009739be9c23c9dd8ce30d6ff7cf4be04d8218","user":{"login":"megaohms","id":10580356,"avatar_url":"https://avatars.githubusercontent.com/u/10580356?v=3","gravatar_id":"","url":"https://api.github.com/users/megaohms","html_url":"https://github.com/megaohms","followers_url":"https://api.github.com/users/megaohms/followers","following_url":"https://api.github.com/users/megaohms/following{/other_user}","gists_url":"https://api.github.com/users/megaohms/gists{/gist_id}","starred_url":"https://api.github.com/users/megaohms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/megaohms/subscriptions","organizations_url":"https://api.github.com/users/megaohms/orgs","repos_url":"https://api.github.com/users/megaohms/repos","events_url":"https://api.github.com/users/megaohms/events{/privacy}","received_events_url":"https://api.github.com/users/megaohms/received_events","type":"User","site_admin":false},"repo":{"id":53639560,"name":"opengallery","full_name":"megaohms/opengallery","owner":{"login":"megaohms","id":10580356,"avatar_url":"https://avatars.githubusercontent.com/u/10580356?v=3","gravatar_id":"","url":"https://api.github.com/users/megaohms","html_url":"https://github.com/megaohms","followers_url":"https://api.github.com/users/megaohms/followers","following_url":"https://api.github.com/users/megaohms/following{/other_user}","gists_url":"https://api.github.com/users/megaohms/gists{/gist_id}","starred_url":"https://api.github.com/users/megaohms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/megaohms/subscriptions","organizations_url":"https://api.github.com/users/megaohms/orgs","repos_url":"https://api.github.com/users/megaohms/repos","events_url":"https://api.github.com/users/megaohms/events{/privacy}","received_events_url":"https://api.github.com/users/megaohms/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/megaohms/opengallery","description":"","fork":true,"url":"https://api.github.com/repos/megaohms/opengallery","forks_url":"https://api.github.com/repos/megaohms/opengallery/forks","keys_url":"https://api.github.com/repos/megaohms/opengallery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/megaohms/opengallery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/megaohms/opengallery/teams","hooks_url":"https://api.github.com/repos/megaohms/opengallery/hooks","issue_events_url":"https://api.github.com/repos/megaohms/opengallery/issues/events{/number}","events_url":"https://api.github.com/repos/megaohms/opengallery/events","assignees_url":"https://api.github.com/repos/megaohms/opengallery/assignees{/user}","branches_url":"https://api.github.com/repos/megaohms/opengallery/branches{/branch}","tags_url":"https://api.github.com/repos/megaohms/opengallery/tags","blobs_url":"https://api.github.com/repos/megaohms/opengallery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/megaohms/opengallery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/megaohms/opengallery/git/refs{/sha}","trees_url":"https://api.github.com/repos/megaohms/opengallery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/megaohms/opengallery/statuses/{sha}","languages_url":"https://api.github.com/repos/megaohms/opengallery/languages","stargazers_url":"https://api.github.com/repos/megaohms/opengallery/stargazers","contributors_url":"https://api.github.com/repos/megaohms/opengallery/contributors","subscribers_url":"https://api.github.com/repos/megaohms/opengallery/subscribers","subscription_url":"https://api.github.com/repos/megaohms/opengallery/subscription","commits_url":"https://api.github.com/repos/megaohms/opengallery/commits{/sha}","git_commits_url":"https://api.github.com/repos/megaohms/opengallery/git/commits{/sha}","comments_url":"https://api.github.com/repos/megaohms/opengallery/comments{/number}","issue_comment_url":"https://api.github.com/repos/megaohms/opengallery/issues/comments{/number}","contents_url":"https://api.github.com/repos/megaohms/opengallery/contents/{+path}","compare_url":"https://api.github.com/repos/megaohms/opengallery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/megaohms/opengallery/merges","archive_url":"https://api.github.com/repos/megaohms/opengallery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/megaohms/opengallery/downloads","issues_url":"https://api.github.com/repos/megaohms/opengallery/issues{/number}","pulls_url":"https://api.github.com/repos/megaohms/opengallery/pulls{/number}","milestones_url":"https://api.github.com/repos/megaohms/opengallery/milestones{/number}","notifications_url":"https://api.github.com/repos/megaohms/opengallery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/megaohms/opengallery/labels{/name}","releases_url":"https://api.github.com/repos/megaohms/opengallery/releases{/id}","deployments_url":"https://api.github.com/repos/megaohms/opengallery/deployments","created_at":"2016-03-11T04:29:44Z","updated_at":"2016-03-14T23:55:41Z","pushed_at":"2016-03-25T03:32:05Z","git_url":"git://github.com/megaohms/opengallery.git","ssh_url":"git@github.com:megaohms/opengallery.git","clone_url":"https://github.com/megaohms/opengallery.git","svn_url":"https://github.com/megaohms/opengallery","homepage":null,"size":409,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"unsinkablecircus:master","ref":"master","sha":"c7484a4b2c4bd831a58eca58395aa1cfde96b732","user":{"login":"unsinkablecircus","id":17773651,"avatar_url":"https://avatars.githubusercontent.com/u/17773651?v=3","gravatar_id":"","url":"https://api.github.com/users/unsinkablecircus","html_url":"https://github.com/unsinkablecircus","followers_url":"https://api.github.com/users/unsinkablecircus/followers","following_url":"https://api.github.com/users/unsinkablecircus/following{/other_user}","gists_url":"https://api.github.com/users/unsinkablecircus/gists{/gist_id}","starred_url":"https://api.github.com/users/unsinkablecircus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unsinkablecircus/subscriptions","organizations_url":"https://api.github.com/users/unsinkablecircus/orgs","repos_url":"https://api.github.com/users/unsinkablecircus/repos","events_url":"https://api.github.com/users/unsinkablecircus/events{/privacy}","received_events_url":"https://api.github.com/users/unsinkablecircus/received_events","type":"Organization","site_admin":false},"repo":{"id":53635946,"name":"opengallery","full_name":"unsinkablecircus/opengallery","owner":{"login":"unsinkablecircus","id":17773651,"avatar_url":"https://avatars.githubusercontent.com/u/17773651?v=3","gravatar_id":"","url":"https://api.github.com/users/unsinkablecircus","html_url":"https://github.com/unsinkablecircus","followers_url":"https://api.github.com/users/unsinkablecircus/followers","following_url":"https://api.github.com/users/unsinkablecircus/following{/other_user}","gists_url":"https://api.github.com/users/unsinkablecircus/gists{/gist_id}","starred_url":"https://api.github.com/users/unsinkablecircus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unsinkablecircus/subscriptions","organizations_url":"https://api.github.com/users/unsinkablecircus/orgs","repos_url":"https://api.github.com/users/unsinkablecircus/repos","events_url":"https://api.github.com/users/unsinkablecircus/events{/privacy}","received_events_url":"https://api.github.com/users/unsinkablecircus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/unsinkablecircus/opengallery","description":"","fork":false,"url":"https://api.github.com/repos/unsinkablecircus/opengallery","forks_url":"https://api.github.com/repos/unsinkablecircus/opengallery/forks","keys_url":"https://api.github.com/repos/unsinkablecircus/opengallery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/unsinkablecircus/opengallery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/unsinkablecircus/opengallery/teams","hooks_url":"https://api.github.com/repos/unsinkablecircus/opengallery/hooks","issue_events_url":"https://api.github.com/repos/unsinkablecircus/opengallery/issues/events{/number}","events_url":"https://api.github.com/repos/unsinkablecircus/opengallery/events","assignees_url":"https://api.github.com/repos/unsinkablecircus/opengallery/assignees{/user}","branches_url":"https://api.github.com/repos/unsinkablecircus/opengallery/branches{/branch}","tags_url":"https://api.github.com/repos/unsinkablecircus/opengallery/tags","blobs_url":"https://api.github.com/repos/unsinkablecircus/opengallery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/unsinkablecircus/opengallery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/unsinkablecircus/opengallery/git/refs{/sha}","trees_url":"https://api.github.com/repos/unsinkablecircus/opengallery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/unsinkablecircus/opengallery/statuses/{sha}","languages_url":"https://api.github.com/repos/unsinkablecircus/opengallery/languages","stargazers_url":"https://api.github.com/repos/unsinkablecircus/opengallery/stargazers","contributors_url":"https://api.github.com/repos/unsinkablecircus/opengallery/contributors","subscribers_url":"https://api.github.com/repos/unsinkablecircus/opengallery/subscribers","subscription_url":"https://api.github.com/repos/unsinkablecircus/opengallery/subscription","commits_url":"https://api.github.com/repos/unsinkablecircus/opengallery/commits{/sha}","git_commits_url":"https://api.github.com/repos/unsinkablecircus/opengallery/git/commits{/sha}","comments_url":"https://api.github.com/repos/unsinkablecircus/opengallery/comments{/number}","issue_comment_url":"https://api.github.com/repos/unsinkablecircus/opengallery/issues/comments{/number}","contents_url":"https://api.github.com/repos/unsinkablecircus/opengallery/contents/{+path}","compare_url":"https://api.github.com/repos/unsinkablecircus/opengallery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/unsinkablecircus/opengallery/merges","archive_url":"https://api.github.com/repos/unsinkablecircus/opengallery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/unsinkablecircus/opengallery/downloads","issues_url":"https://api.github.com/repos/unsinkablecircus/opengallery/issues{/number}","pulls_url":"https://api.github.com/repos/unsinkablecircus/opengallery/pulls{/number}","milestones_url":"https://api.github.com/repos/unsinkablecircus/opengallery/milestones{/number}","notifications_url":"https://api.github.com/repos/unsinkablecircus/opengallery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/unsinkablecircus/opengallery/labels{/name}","releases_url":"https://api.github.com/repos/unsinkablecircus/opengallery/releases{/id}","deployments_url":"https://api.github.com/repos/unsinkablecircus/opengallery/deployments","created_at":"2016-03-11T03:15:54Z","updated_at":"2016-03-11T20:09:02Z","pushed_at":"2016-03-25T03:36:31Z","git_url":"git://github.com/unsinkablecircus/opengallery.git","ssh_url":"git@github.com:unsinkablecircus/opengallery.git","clone_url":"https://github.com/unsinkablecircus/opengallery.git","svn_url":"https://github.com/unsinkablecircus/opengallery","homepage":null,"size":359,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":14,"forks":4,"open_issues":14,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/unsinkablecircus/opengallery/pulls/68"},"html":{"href":"https://github.com/unsinkablecircus/opengallery/pull/68"},"issue":{"href":"https://api.github.com/repos/unsinkablecircus/opengallery/issues/68"},"comments":{"href":"https://api.github.com/repos/unsinkablecircus/opengallery/issues/68/comments"},"review_comments":{"href":"https://api.github.com/repos/unsinkablecircus/opengallery/pulls/68/comments"},"review_comment":{"href":"https://api.github.com/repos/unsinkablecircus/opengallery/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/unsinkablecircus/opengallery/pulls/68/commits"},"statuses":{"href":"https://api.github.com/repos/unsinkablecircus/opengallery/statuses/50009739be9c23c9dd8ce30d6ff7cf4be04d8218"}}}}