{"action":"created","comment":{"url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/pulls/comments/56215617","id":56215617,"diff_hunk":"@@ -0,0 +1,67 @@\n+import React from 'react'\n+import filesize from 'filesize'\n+\n+class Uploader extends React.Component {","path":"assets/jsx/uploader.jsx","position":4,"original_position":4,"commit_id":"c491d8d6c2b250d1389602ef0d68bd45359274e5","original_commit_id":"c491d8d6c2b250d1389602ef0d68bd45359274e5","user":{"login":"acdha","id":46565,"avatar_url":"https://avatars.githubusercontent.com/u/46565?v=3","gravatar_id":"","url":"https://api.github.com/users/acdha","html_url":"https://github.com/acdha","followers_url":"https://api.github.com/users/acdha/followers","following_url":"https://api.github.com/users/acdha/following{/other_user}","gists_url":"https://api.github.com/users/acdha/gists{/gist_id}","starred_url":"https://api.github.com/users/acdha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acdha/subscriptions","organizations_url":"https://api.github.com/users/acdha/orgs","repos_url":"https://api.github.com/users/acdha/repos","events_url":"https://api.github.com/users/acdha/events{/privacy}","received_events_url":"https://api.github.com/users/acdha/received_events","type":"User","site_admin":false},"body":"See previous comment re:class names – I'd vote for something like `UploadStatus`","created_at":"2016-03-15T18:27:08Z","updated_at":"2016-03-15T18:27:08Z","html_url":"https://github.com/LibraryOfCongress/bagger-js/pull/31#discussion_r56215617","pull_request_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/pulls/31","_links":{"self":{"href":"https://api.github.com/repos/LibraryOfCongress/bagger-js/pulls/comments/56215617"},"html":{"href":"https://github.com/LibraryOfCongress/bagger-js/pull/31#discussion_r56215617"},"pull_request":{"href":"https://api.github.com/repos/LibraryOfCongress/bagger-js/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/pulls/31","id":62792515,"html_url":"https://github.com/LibraryOfCongress/bagger-js/pull/31","diff_url":"https://github.com/LibraryOfCongress/bagger-js/pull/31.diff","patch_url":"https://github.com/LibraryOfCongress/bagger-js/pull/31.patch","issue_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/issues/31","number":31,"state":"open","locked":false,"title":"Cleaning up / adding Redux","user":{"login":"eikeon","id":206171,"avatar_url":"https://avatars.githubusercontent.com/u/206171?v=3","gravatar_id":"","url":"https://api.github.com/users/eikeon","html_url":"https://github.com/eikeon","followers_url":"https://api.github.com/users/eikeon/followers","following_url":"https://api.github.com/users/eikeon/following{/other_user}","gists_url":"https://api.github.com/users/eikeon/gists{/gist_id}","starred_url":"https://api.github.com/users/eikeon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eikeon/subscriptions","organizations_url":"https://api.github.com/users/eikeon/orgs","repos_url":"https://api.github.com/users/eikeon/repos","events_url":"https://api.github.com/users/eikeon/events{/privacy}","received_events_url":"https://api.github.com/users/eikeon/received_events","type":"User","site_admin":false},"body":"* [x] use redux to manage state\r\n* [x] replace use of react-addons and  Immutable.js with: https://blog.andyet.com/2015/08/06/what-the-flux-lets-redux/#simplest-possible-comparison-in-js\r\n* [x] finish uploadFile functionality\r\n* [x] bag contents presentation\r\n* [ ] restore uploadBytesPerSecond\r\n* [ ] restore active / total worker state\r\n* [ ] restore hashBytesPerSecond related state\r\n* [ ] restore uploadBytesPerSecond related state","created_at":"2016-03-14T18:10:08Z","updated_at":"2016-03-15T18:27:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7e1c67745db42d443c3f125c033e42cb14d6d8e0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/pulls/31/commits","review_comments_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/pulls/31/comments","review_comment_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/issues/31/comments","statuses_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/statuses/c491d8d6c2b250d1389602ef0d68bd45359274e5","head":{"label":"LibraryOfCongress:cleanup","ref":"cleanup","sha":"c491d8d6c2b250d1389602ef0d68bd45359274e5","user":{"login":"LibraryOfCongress","id":2070730,"avatar_url":"https://avatars.githubusercontent.com/u/2070730?v=3","gravatar_id":"","url":"https://api.github.com/users/LibraryOfCongress","html_url":"https://github.com/LibraryOfCongress","followers_url":"https://api.github.com/users/LibraryOfCongress/followers","following_url":"https://api.github.com/users/LibraryOfCongress/following{/other_user}","gists_url":"https://api.github.com/users/LibraryOfCongress/gists{/gist_id}","starred_url":"https://api.github.com/users/LibraryOfCongress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LibraryOfCongress/subscriptions","organizations_url":"https://api.github.com/users/LibraryOfCongress/orgs","repos_url":"https://api.github.com/users/LibraryOfCongress/repos","events_url":"https://api.github.com/users/LibraryOfCongress/events{/privacy}","received_events_url":"https://api.github.com/users/LibraryOfCongress/received_events","type":"Organization","site_admin":false},"repo":{"id":32612301,"name":"bagger-js","full_name":"LibraryOfCongress/bagger-js","owner":{"login":"LibraryOfCongress","id":2070730,"avatar_url":"https://avatars.githubusercontent.com/u/2070730?v=3","gravatar_id":"","url":"https://api.github.com/users/LibraryOfCongress","html_url":"https://github.com/LibraryOfCongress","followers_url":"https://api.github.com/users/LibraryOfCongress/followers","following_url":"https://api.github.com/users/LibraryOfCongress/following{/other_user}","gists_url":"https://api.github.com/users/LibraryOfCongress/gists{/gist_id}","starred_url":"https://api.github.com/users/LibraryOfCongress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LibraryOfCongress/subscriptions","organizations_url":"https://api.github.com/users/LibraryOfCongress/orgs","repos_url":"https://api.github.com/users/LibraryOfCongress/repos","events_url":"https://api.github.com/users/LibraryOfCongress/events{/privacy}","received_events_url":"https://api.github.com/users/LibraryOfCongress/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LibraryOfCongress/bagger-js","description":"Experiment doing BagIt processing in a static web application","fork":false,"url":"https://api.github.com/repos/LibraryOfCongress/bagger-js","forks_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/forks","keys_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/teams","hooks_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/hooks","issue_events_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/issues/events{/number}","events_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/events","assignees_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/assignees{/user}","branches_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/branches{/branch}","tags_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/tags","blobs_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/statuses/{sha}","languages_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/languages","stargazers_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/stargazers","contributors_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/contributors","subscribers_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/subscribers","subscription_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/subscription","commits_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/contents/{+path}","compare_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/merges","archive_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/downloads","issues_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/issues{/number}","pulls_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/pulls{/number}","milestones_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/milestones{/number}","notifications_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/labels{/name}","releases_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/releases{/id}","deployments_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/deployments","created_at":"2015-03-20T23:30:13Z","updated_at":"2016-02-03T19:57:46Z","pushed_at":"2016-03-15T16:22:59Z","git_url":"git://github.com/LibraryOfCongress/bagger-js.git","ssh_url":"git@github.com:LibraryOfCongress/bagger-js.git","clone_url":"https://github.com/LibraryOfCongress/bagger-js.git","svn_url":"https://github.com/LibraryOfCongress/bagger-js","homepage":"https://libraryofcongress.github.io/bagger-js/","size":1200,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":14,"forks":1,"open_issues":14,"watchers":7,"default_branch":"master"}},"base":{"label":"LibraryOfCongress:master","ref":"master","sha":"6107e2478dc41e26e58eea8f160f73a4a9e23ad2","user":{"login":"LibraryOfCongress","id":2070730,"avatar_url":"https://avatars.githubusercontent.com/u/2070730?v=3","gravatar_id":"","url":"https://api.github.com/users/LibraryOfCongress","html_url":"https://github.com/LibraryOfCongress","followers_url":"https://api.github.com/users/LibraryOfCongress/followers","following_url":"https://api.github.com/users/LibraryOfCongress/following{/other_user}","gists_url":"https://api.github.com/users/LibraryOfCongress/gists{/gist_id}","starred_url":"https://api.github.com/users/LibraryOfCongress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LibraryOfCongress/subscriptions","organizations_url":"https://api.github.com/users/LibraryOfCongress/orgs","repos_url":"https://api.github.com/users/LibraryOfCongress/repos","events_url":"https://api.github.com/users/LibraryOfCongress/events{/privacy}","received_events_url":"https://api.github.com/users/LibraryOfCongress/received_events","type":"Organization","site_admin":false},"repo":{"id":32612301,"name":"bagger-js","full_name":"LibraryOfCongress/bagger-js","owner":{"login":"LibraryOfCongress","id":2070730,"avatar_url":"https://avatars.githubusercontent.com/u/2070730?v=3","gravatar_id":"","url":"https://api.github.com/users/LibraryOfCongress","html_url":"https://github.com/LibraryOfCongress","followers_url":"https://api.github.com/users/LibraryOfCongress/followers","following_url":"https://api.github.com/users/LibraryOfCongress/following{/other_user}","gists_url":"https://api.github.com/users/LibraryOfCongress/gists{/gist_id}","starred_url":"https://api.github.com/users/LibraryOfCongress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LibraryOfCongress/subscriptions","organizations_url":"https://api.github.com/users/LibraryOfCongress/orgs","repos_url":"https://api.github.com/users/LibraryOfCongress/repos","events_url":"https://api.github.com/users/LibraryOfCongress/events{/privacy}","received_events_url":"https://api.github.com/users/LibraryOfCongress/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LibraryOfCongress/bagger-js","description":"Experiment doing BagIt processing in a static web application","fork":false,"url":"https://api.github.com/repos/LibraryOfCongress/bagger-js","forks_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/forks","keys_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/teams","hooks_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/hooks","issue_events_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/issues/events{/number}","events_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/events","assignees_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/assignees{/user}","branches_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/branches{/branch}","tags_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/tags","blobs_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/statuses/{sha}","languages_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/languages","stargazers_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/stargazers","contributors_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/contributors","subscribers_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/subscribers","subscription_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/subscription","commits_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/contents/{+path}","compare_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/merges","archive_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/downloads","issues_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/issues{/number}","pulls_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/pulls{/number}","milestones_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/milestones{/number}","notifications_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/labels{/name}","releases_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/releases{/id}","deployments_url":"https://api.github.com/repos/LibraryOfCongress/bagger-js/deployments","created_at":"2015-03-20T23:30:13Z","updated_at":"2016-02-03T19:57:46Z","pushed_at":"2016-03-15T16:22:59Z","git_url":"git://github.com/LibraryOfCongress/bagger-js.git","ssh_url":"git@github.com:LibraryOfCongress/bagger-js.git","clone_url":"https://github.com/LibraryOfCongress/bagger-js.git","svn_url":"https://github.com/LibraryOfCongress/bagger-js","homepage":"https://libraryofcongress.github.io/bagger-js/","size":1200,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":14,"forks":1,"open_issues":14,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LibraryOfCongress/bagger-js/pulls/31"},"html":{"href":"https://github.com/LibraryOfCongress/bagger-js/pull/31"},"issue":{"href":"https://api.github.com/repos/LibraryOfCongress/bagger-js/issues/31"},"comments":{"href":"https://api.github.com/repos/LibraryOfCongress/bagger-js/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/LibraryOfCongress/bagger-js/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/LibraryOfCongress/bagger-js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LibraryOfCongress/bagger-js/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/LibraryOfCongress/bagger-js/statuses/c491d8d6c2b250d1389602ef0d68bd45359274e5"}}}}