{"action":"closed","number":83,"pull_request":{"url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/pulls/83","id":18952610,"html_url":"https://github.com/codeforamerica/calfresh-and-so-clean/pull/83","diff_url":"https://github.com/codeforamerica/calfresh-and-so-clean/pull/83.diff","patch_url":"https://github.com/codeforamerica/calfresh-and-so-clean/pull/83.patch","issue_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/issues/83","number":83,"state":"closed","locked":false,"title":"63 image compression","user":{"login":"alanjosephwilliams","id":2983464,"avatar_url":"https://avatars.githubusercontent.com/u/2983464?v=3","gravatar_id":"","url":"https://api.github.com/users/alanjosephwilliams","html_url":"https://github.com/alanjosephwilliams","followers_url":"https://api.github.com/users/alanjosephwilliams/followers","following_url":"https://api.github.com/users/alanjosephwilliams/following{/other_user}","gists_url":"https://api.github.com/users/alanjosephwilliams/gists{/gist_id}","starred_url":"https://api.github.com/users/alanjosephwilliams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanjosephwilliams/subscriptions","organizations_url":"https://api.github.com/users/alanjosephwilliams/orgs","repos_url":"https://api.github.com/users/alanjosephwilliams/repos","events_url":"https://api.github.com/users/alanjosephwilliams/events{/privacy}","received_events_url":"https://api.github.com/users/alanjosephwilliams/received_events","type":"User","site_admin":false},"body":"- This PR should conform to our feature branch > rebase > PR workflow\r\n- This PR should resolve #63  \r\n- This PR contains javascript that needs to be refactored into its own file, and currently is loaded via index.erb. If this is grounds for rejection, that's fine.\r\n- The JS implements a feature creating proportionally consistent, smaller versions of images uploaded by the user. A new FileData object is then used to collect and group these new small image and data entered into the  form's text fields. \r\n- An XHR request is used to pass that data to the server, and prevent the default submission of the form.\r\n- On success of that XHR request, we use window.location to route the user to /applications. This may or may not be a sufficiently intelligent way to redirect the user.\r\n- We use the simplest loading animation possible on submission, which is a \"loading\" state for buttons that comes off the shelf with bootstrap.","created_at":"2014-07-28T07:19:27Z","updated_at":"2015-01-10T00:36:50Z","closed_at":"2015-01-10T00:36:50Z","merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/pulls/83/commits","review_comments_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/pulls/83/comments","review_comment_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/pulls/comments/{number}","comments_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/issues/83/comments","statuses_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/statuses/16ad1397675c3a88dc3668900bff594ec084b548","head":{"label":"codeforamerica:63-image-compression","ref":"63-image-compression","sha":"16ad1397675c3a88dc3668900bff594ec084b548","user":{"login":"codeforamerica","id":337792,"avatar_url":"https://avatars.githubusercontent.com/u/337792?v=3","gravatar_id":"","url":"https://api.github.com/users/codeforamerica","html_url":"https://github.com/codeforamerica","followers_url":"https://api.github.com/users/codeforamerica/followers","following_url":"https://api.github.com/users/codeforamerica/following{/other_user}","gists_url":"https://api.github.com/users/codeforamerica/gists{/gist_id}","starred_url":"https://api.github.com/users/codeforamerica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeforamerica/subscriptions","organizations_url":"https://api.github.com/users/codeforamerica/orgs","repos_url":"https://api.github.com/users/codeforamerica/repos","events_url":"https://api.github.com/users/codeforamerica/events{/privacy}","received_events_url":"https://api.github.com/users/codeforamerica/received_events","type":"Organization","site_admin":false},"repo":{"id":19191689,"name":"calfresh-and-so-clean","full_name":"codeforamerica/calfresh-and-so-clean","owner":{"login":"codeforamerica","id":337792,"avatar_url":"https://avatars.githubusercontent.com/u/337792?v=3","gravatar_id":"","url":"https://api.github.com/users/codeforamerica","html_url":"https://github.com/codeforamerica","followers_url":"https://api.github.com/users/codeforamerica/followers","following_url":"https://api.github.com/users/codeforamerica/following{/other_user}","gists_url":"https://api.github.com/users/codeforamerica/gists{/gist_id}","starred_url":"https://api.github.com/users/codeforamerica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeforamerica/subscriptions","organizations_url":"https://api.github.com/users/codeforamerica/orgs","repos_url":"https://api.github.com/users/codeforamerica/repos","events_url":"https://api.github.com/users/codeforamerica/events{/privacy}","received_events_url":"https://api.github.com/users/codeforamerica/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codeforamerica/calfresh-and-so-clean","description":"Minimalist online application for CalFresh and Medi-Cal","fork":false,"url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean","forks_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/forks","keys_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/teams","hooks_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/hooks","issue_events_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/issues/events{/number}","events_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/events","assignees_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/assignees{/user}","branches_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/branches{/branch}","tags_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/tags","blobs_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/git/refs{/sha}","trees_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/statuses/{sha}","languages_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/languages","stargazers_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/stargazers","contributors_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/contributors","subscribers_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/subscribers","subscription_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/subscription","commits_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/commits{/sha}","git_commits_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/git/commits{/sha}","comments_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/comments{/number}","issue_comment_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/issues/comments/{number}","contents_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/contents/{+path}","compare_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/merges","archive_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/downloads","issues_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/issues{/number}","pulls_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/pulls{/number}","milestones_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/milestones{/number}","notifications_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/labels{/name}","releases_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/releases{/id}","created_at":"2014-04-27T00:04:29Z","updated_at":"2015-01-09T23:27:39Z","pushed_at":"2015-01-09T23:28:50Z","git_url":"git://github.com/codeforamerica/calfresh-and-so-clean.git","ssh_url":"git@github.com:codeforamerica/calfresh-and-so-clean.git","clone_url":"https://github.com/codeforamerica/calfresh-and-so-clean.git","svn_url":"https://github.com/codeforamerica/calfresh-and-so-clean","homepage":"http://clean-demo.herokuapp.com","size":2928,"stargazers_count":10,"watchers_count":10,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":67,"forks":2,"open_issues":67,"watchers":10,"default_branch":"master"}},"base":{"label":"codeforamerica:master","ref":"master","sha":"270e2ec2bee21f2db8dc8d44ededa321e905110b","user":{"login":"codeforamerica","id":337792,"avatar_url":"https://avatars.githubusercontent.com/u/337792?v=3","gravatar_id":"","url":"https://api.github.com/users/codeforamerica","html_url":"https://github.com/codeforamerica","followers_url":"https://api.github.com/users/codeforamerica/followers","following_url":"https://api.github.com/users/codeforamerica/following{/other_user}","gists_url":"https://api.github.com/users/codeforamerica/gists{/gist_id}","starred_url":"https://api.github.com/users/codeforamerica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeforamerica/subscriptions","organizations_url":"https://api.github.com/users/codeforamerica/orgs","repos_url":"https://api.github.com/users/codeforamerica/repos","events_url":"https://api.github.com/users/codeforamerica/events{/privacy}","received_events_url":"https://api.github.com/users/codeforamerica/received_events","type":"Organization","site_admin":false},"repo":{"id":19191689,"name":"calfresh-and-so-clean","full_name":"codeforamerica/calfresh-and-so-clean","owner":{"login":"codeforamerica","id":337792,"avatar_url":"https://avatars.githubusercontent.com/u/337792?v=3","gravatar_id":"","url":"https://api.github.com/users/codeforamerica","html_url":"https://github.com/codeforamerica","followers_url":"https://api.github.com/users/codeforamerica/followers","following_url":"https://api.github.com/users/codeforamerica/following{/other_user}","gists_url":"https://api.github.com/users/codeforamerica/gists{/gist_id}","starred_url":"https://api.github.com/users/codeforamerica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeforamerica/subscriptions","organizations_url":"https://api.github.com/users/codeforamerica/orgs","repos_url":"https://api.github.com/users/codeforamerica/repos","events_url":"https://api.github.com/users/codeforamerica/events{/privacy}","received_events_url":"https://api.github.com/users/codeforamerica/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codeforamerica/calfresh-and-so-clean","description":"Minimalist online application for CalFresh and Medi-Cal","fork":false,"url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean","forks_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/forks","keys_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/teams","hooks_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/hooks","issue_events_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/issues/events{/number}","events_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/events","assignees_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/assignees{/user}","branches_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/branches{/branch}","tags_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/tags","blobs_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/git/refs{/sha}","trees_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/statuses/{sha}","languages_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/languages","stargazers_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/stargazers","contributors_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/contributors","subscribers_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/subscribers","subscription_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/subscription","commits_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/commits{/sha}","git_commits_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/git/commits{/sha}","comments_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/comments{/number}","issue_comment_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/issues/comments/{number}","contents_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/contents/{+path}","compare_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/merges","archive_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/downloads","issues_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/issues{/number}","pulls_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/pulls{/number}","milestones_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/milestones{/number}","notifications_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/labels{/name}","releases_url":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/releases{/id}","created_at":"2014-04-27T00:04:29Z","updated_at":"2015-01-09T23:27:39Z","pushed_at":"2015-01-09T23:28:50Z","git_url":"git://github.com/codeforamerica/calfresh-and-so-clean.git","ssh_url":"git@github.com:codeforamerica/calfresh-and-so-clean.git","clone_url":"https://github.com/codeforamerica/calfresh-and-so-clean.git","svn_url":"https://github.com/codeforamerica/calfresh-and-so-clean","homepage":"http://clean-demo.herokuapp.com","size":2928,"stargazers_count":10,"watchers_count":10,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":67,"forks":2,"open_issues":67,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/pulls/83"},"html":{"href":"https://github.com/codeforamerica/calfresh-and-so-clean/pull/83"},"issue":{"href":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/issues/83"},"comments":{"href":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/issues/83/comments"},"review_comments":{"href":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/pulls/83/comments"},"review_comment":{"href":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/pulls/83/commits"},"statuses":{"href":"https://api.github.com/repos/codeforamerica/calfresh-and-so-clean/statuses/16ad1397675c3a88dc3668900bff594ec084b548"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":2,"review_comments":0,"commits":8,"additions":142,"deletions":8,"changed_files":2}}