{"action":"opened","number":63,"pull_request":{"url":"https://api.github.com/repos/cfpb/college-costs/pulls/63","id":56056662,"html_url":"https://github.com/cfpb/college-costs/pull/63","diff_url":"https://github.com/cfpb/college-costs/pull/63.diff","patch_url":"https://github.com/cfpb/college-costs/pull/63.patch","issue_url":"https://api.github.com/repos/cfpb/college-costs/issues/63","number":63,"state":"open","locked":false,"title":"Add basic handling of multiple private loans","user":{"login":"mistergone","id":1490703,"avatar_url":"https://avatars.githubusercontent.com/u/1490703?v=3","gravatar_id":"","url":"https://api.github.com/users/mistergone","html_url":"https://github.com/mistergone","followers_url":"https://api.github.com/users/mistergone/followers","following_url":"https://api.github.com/users/mistergone/following{/other_user}","gists_url":"https://api.github.com/users/mistergone/gists{/gist_id}","starred_url":"https://api.github.com/users/mistergone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mistergone/subscriptions","organizations_url":"https://api.github.com/users/mistergone/orgs","repos_url":"https://api.github.com/users/mistergone/repos","events_url":"https://api.github.com/users/mistergone/events{/privacy}","received_events_url":"https://api.github.com/users/mistergone/received_events","type":"User","site_admin":false},"body":"This PR adds basic support for multiple private loans. As an important note, totals are not currently being calculated or displayed correctly. I decided that fix was out of scope for this PR, as it will involve another update to student-debt-calc. So, that will come soon!\r\n\r\n__Known bug__: Removing every private loan makes it impossible to add new private loans. My question is, \"Should the user be able to remove the last private loan\"? When we answer this, I will implement a fix one way or the other.\r\n\r\n## Additions\r\n- Added user interface for adding and removing private loans\r\n- Update version of student-debt-calc to support multiple private loans\r\n- Updated dispatchers to handle multiple private loans\r\n\r\n## Testing\r\n- Create a branch locally called `chuckisgreat`, then switch to that branch and pull in my latest repo. Fire up the old `runserver` and then try to add and remove private loans!\r\n\r\n## Review\r\n- @ascott1 @marteki @niqjohnson @higs4281 \r\n\r\n## Screenshots\r\n<img width=\"776\" alt=\"screen shot 2016-01-14 at 11 11 15 am\" src=\"https://cloud.githubusercontent.com/assets/1490703/12329714/9498c2d2-baaf-11e5-829f-77328e39a9f9.png\">\r\n\r\n## Todos\r\n- Fix loan totals to display proper numbers\r\n- Address \"removing all private loans\" bug, as detailed above\r\n\r\n## Checklist\r\n* [ ] Changes are limited to a single goal (no scope creep)\r\n* [ ] Code can be automatically merged (no conflicts)\r\n* [ ] Code follows the standards laid out in the [front end playbook](https://github.com/cfpb/front-end)\r\n* [ ] Passes all existing automated tests\r\n* [ ] New functions include new tests\r\n* [ ] New functions are documented (with a description, list of inputs, and expected output)\r\n* [ ] Placeholder code is flagged\r\n* [ ] Visually tested in supported browsers and devices \r\n* [ ] Project documentation has been updated (including the \"Unreleased\" section of the CHANGELOG)\r\n\r\n## Special Thanks\r\n@ascott1 and @marteki and @niqjohnson  and @higs4281 :  __Thanks for doing all this great work in my absence!!!__\r\n\r\n## Animated GIF\r\n![murdock-winks](https://cloud.githubusercontent.com/assets/1490703/12329832/2d6e7a9c-bab0-11e5-9795-fb6db41f6b12.gif)\r\n","created_at":"2016-01-14T16:18:11Z","updated_at":"2016-01-14T16:18:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cfpb/college-costs/pulls/63/commits","review_comments_url":"https://api.github.com/repos/cfpb/college-costs/pulls/63/comments","review_comment_url":"https://api.github.com/repos/cfpb/college-costs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cfpb/college-costs/issues/63/comments","statuses_url":"https://api.github.com/repos/cfpb/college-costs/statuses/4e14ee28971cfe632603c78659f2ab1d235dccee","head":{"label":"mistergone:master","ref":"master","sha":"4e14ee28971cfe632603c78659f2ab1d235dccee","user":{"login":"mistergone","id":1490703,"avatar_url":"https://avatars.githubusercontent.com/u/1490703?v=3","gravatar_id":"","url":"https://api.github.com/users/mistergone","html_url":"https://github.com/mistergone","followers_url":"https://api.github.com/users/mistergone/followers","following_url":"https://api.github.com/users/mistergone/following{/other_user}","gists_url":"https://api.github.com/users/mistergone/gists{/gist_id}","starred_url":"https://api.github.com/users/mistergone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mistergone/subscriptions","organizations_url":"https://api.github.com/users/mistergone/orgs","repos_url":"https://api.github.com/users/mistergone/repos","events_url":"https://api.github.com/users/mistergone/events{/privacy}","received_events_url":"https://api.github.com/users/mistergone/received_events","type":"User","site_admin":false},"repo":{"id":45491267,"name":"college-costs","full_name":"mistergone/college-costs","owner":{"login":"mistergone","id":1490703,"avatar_url":"https://avatars.githubusercontent.com/u/1490703?v=3","gravatar_id":"","url":"https://api.github.com/users/mistergone","html_url":"https://github.com/mistergone","followers_url":"https://api.github.com/users/mistergone/followers","following_url":"https://api.github.com/users/mistergone/following{/other_user}","gists_url":"https://api.github.com/users/mistergone/gists{/gist_id}","starred_url":"https://api.github.com/users/mistergone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mistergone/subscriptions","organizations_url":"https://api.github.com/users/mistergone/orgs","repos_url":"https://api.github.com/users/mistergone/repos","events_url":"https://api.github.com/users/mistergone/events{/privacy}","received_events_url":"https://api.github.com/users/mistergone/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mistergone/college-costs","description":"A tool to help students weigh the costs and rewards of a college program. ","fork":true,"url":"https://api.github.com/repos/mistergone/college-costs","forks_url":"https://api.github.com/repos/mistergone/college-costs/forks","keys_url":"https://api.github.com/repos/mistergone/college-costs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mistergone/college-costs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mistergone/college-costs/teams","hooks_url":"https://api.github.com/repos/mistergone/college-costs/hooks","issue_events_url":"https://api.github.com/repos/mistergone/college-costs/issues/events{/number}","events_url":"https://api.github.com/repos/mistergone/college-costs/events","assignees_url":"https://api.github.com/repos/mistergone/college-costs/assignees{/user}","branches_url":"https://api.github.com/repos/mistergone/college-costs/branches{/branch}","tags_url":"https://api.github.com/repos/mistergone/college-costs/tags","blobs_url":"https://api.github.com/repos/mistergone/college-costs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mistergone/college-costs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mistergone/college-costs/git/refs{/sha}","trees_url":"https://api.github.com/repos/mistergone/college-costs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mistergone/college-costs/statuses/{sha}","languages_url":"https://api.github.com/repos/mistergone/college-costs/languages","stargazers_url":"https://api.github.com/repos/mistergone/college-costs/stargazers","contributors_url":"https://api.github.com/repos/mistergone/college-costs/contributors","subscribers_url":"https://api.github.com/repos/mistergone/college-costs/subscribers","subscription_url":"https://api.github.com/repos/mistergone/college-costs/subscription","commits_url":"https://api.github.com/repos/mistergone/college-costs/commits{/sha}","git_commits_url":"https://api.github.com/repos/mistergone/college-costs/git/commits{/sha}","comments_url":"https://api.github.com/repos/mistergone/college-costs/comments{/number}","issue_comment_url":"https://api.github.com/repos/mistergone/college-costs/issues/comments{/number}","contents_url":"https://api.github.com/repos/mistergone/college-costs/contents/{+path}","compare_url":"https://api.github.com/repos/mistergone/college-costs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mistergone/college-costs/merges","archive_url":"https://api.github.com/repos/mistergone/college-costs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mistergone/college-costs/downloads","issues_url":"https://api.github.com/repos/mistergone/college-costs/issues{/number}","pulls_url":"https://api.github.com/repos/mistergone/college-costs/pulls{/number}","milestones_url":"https://api.github.com/repos/mistergone/college-costs/milestones{/number}","notifications_url":"https://api.github.com/repos/mistergone/college-costs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mistergone/college-costs/labels{/name}","releases_url":"https://api.github.com/repos/mistergone/college-costs/releases{/id}","created_at":"2015-11-03T19:45:04Z","updated_at":"2016-01-13T18:09:05Z","pushed_at":"2016-01-14T16:00:51Z","git_url":"git://github.com/mistergone/college-costs.git","ssh_url":"git@github.com:mistergone/college-costs.git","clone_url":"https://github.com/mistergone/college-costs.git","svn_url":"https://github.com/mistergone/college-costs","homepage":null,"size":8081,"stargazers_count":0,"watchers_count":0,"language":"CSS","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":"cfpb:master","ref":"master","sha":"ac25596a781a5910e47f008d35f5230ea9e27987","user":{"login":"cfpb","id":1071563,"avatar_url":"https://avatars.githubusercontent.com/u/1071563?v=3","gravatar_id":"","url":"https://api.github.com/users/cfpb","html_url":"https://github.com/cfpb","followers_url":"https://api.github.com/users/cfpb/followers","following_url":"https://api.github.com/users/cfpb/following{/other_user}","gists_url":"https://api.github.com/users/cfpb/gists{/gist_id}","starred_url":"https://api.github.com/users/cfpb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfpb/subscriptions","organizations_url":"https://api.github.com/users/cfpb/orgs","repos_url":"https://api.github.com/users/cfpb/repos","events_url":"https://api.github.com/users/cfpb/events{/privacy}","received_events_url":"https://api.github.com/users/cfpb/received_events","type":"Organization","site_admin":false},"repo":{"id":43300650,"name":"college-costs","full_name":"cfpb/college-costs","owner":{"login":"cfpb","id":1071563,"avatar_url":"https://avatars.githubusercontent.com/u/1071563?v=3","gravatar_id":"","url":"https://api.github.com/users/cfpb","html_url":"https://github.com/cfpb","followers_url":"https://api.github.com/users/cfpb/followers","following_url":"https://api.github.com/users/cfpb/following{/other_user}","gists_url":"https://api.github.com/users/cfpb/gists{/gist_id}","starred_url":"https://api.github.com/users/cfpb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfpb/subscriptions","organizations_url":"https://api.github.com/users/cfpb/orgs","repos_url":"https://api.github.com/users/cfpb/repos","events_url":"https://api.github.com/users/cfpb/events{/privacy}","received_events_url":"https://api.github.com/users/cfpb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cfpb/college-costs","description":"A tool to help students weigh the costs and rewards of a college program. ","fork":false,"url":"https://api.github.com/repos/cfpb/college-costs","forks_url":"https://api.github.com/repos/cfpb/college-costs/forks","keys_url":"https://api.github.com/repos/cfpb/college-costs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cfpb/college-costs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cfpb/college-costs/teams","hooks_url":"https://api.github.com/repos/cfpb/college-costs/hooks","issue_events_url":"https://api.github.com/repos/cfpb/college-costs/issues/events{/number}","events_url":"https://api.github.com/repos/cfpb/college-costs/events","assignees_url":"https://api.github.com/repos/cfpb/college-costs/assignees{/user}","branches_url":"https://api.github.com/repos/cfpb/college-costs/branches{/branch}","tags_url":"https://api.github.com/repos/cfpb/college-costs/tags","blobs_url":"https://api.github.com/repos/cfpb/college-costs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cfpb/college-costs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cfpb/college-costs/git/refs{/sha}","trees_url":"https://api.github.com/repos/cfpb/college-costs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cfpb/college-costs/statuses/{sha}","languages_url":"https://api.github.com/repos/cfpb/college-costs/languages","stargazers_url":"https://api.github.com/repos/cfpb/college-costs/stargazers","contributors_url":"https://api.github.com/repos/cfpb/college-costs/contributors","subscribers_url":"https://api.github.com/repos/cfpb/college-costs/subscribers","subscription_url":"https://api.github.com/repos/cfpb/college-costs/subscription","commits_url":"https://api.github.com/repos/cfpb/college-costs/commits{/sha}","git_commits_url":"https://api.github.com/repos/cfpb/college-costs/git/commits{/sha}","comments_url":"https://api.github.com/repos/cfpb/college-costs/comments{/number}","issue_comment_url":"https://api.github.com/repos/cfpb/college-costs/issues/comments{/number}","contents_url":"https://api.github.com/repos/cfpb/college-costs/contents/{+path}","compare_url":"https://api.github.com/repos/cfpb/college-costs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cfpb/college-costs/merges","archive_url":"https://api.github.com/repos/cfpb/college-costs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cfpb/college-costs/downloads","issues_url":"https://api.github.com/repos/cfpb/college-costs/issues{/number}","pulls_url":"https://api.github.com/repos/cfpb/college-costs/pulls{/number}","milestones_url":"https://api.github.com/repos/cfpb/college-costs/milestones{/number}","notifications_url":"https://api.github.com/repos/cfpb/college-costs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cfpb/college-costs/labels{/name}","releases_url":"https://api.github.com/repos/cfpb/college-costs/releases{/id}","created_at":"2015-09-28T12:51:23Z","updated_at":"2016-01-13T14:11:23Z","pushed_at":"2016-01-14T16:12:18Z","git_url":"git://github.com/cfpb/college-costs.git","ssh_url":"git@github.com:cfpb/college-costs.git","clone_url":"https://github.com/cfpb/college-costs.git","svn_url":"https://github.com/cfpb/college-costs","homepage":null,"size":8125,"stargazers_count":2,"watchers_count":2,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":4,"forks":13,"open_issues":4,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cfpb/college-costs/pulls/63"},"html":{"href":"https://github.com/cfpb/college-costs/pull/63"},"issue":{"href":"https://api.github.com/repos/cfpb/college-costs/issues/63"},"comments":{"href":"https://api.github.com/repos/cfpb/college-costs/issues/63/comments"},"review_comments":{"href":"https://api.github.com/repos/cfpb/college-costs/pulls/63/comments"},"review_comment":{"href":"https://api.github.com/repos/cfpb/college-costs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cfpb/college-costs/pulls/63/commits"},"statuses":{"href":"https://api.github.com/repos/cfpb/college-costs/statuses/4e14ee28971cfe632603c78659f2ab1d235dccee"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":7,"additions":93,"deletions":6,"changed_files":6}}