{"action":"opened","number":7,"pull_request":{"url":"https://api.github.com/repos/cfpb/complaint-intake/pulls/7","id":72887403,"html_url":"https://github.com/cfpb/complaint-intake/pull/7","diff_url":"https://github.com/cfpb/complaint-intake/pull/7.diff","patch_url":"https://github.com/cfpb/complaint-intake/pull/7.patch","issue_url":"https://api.github.com/repos/cfpb/complaint-intake/issues/7","number":7,"state":"open","locked":false,"title":"Add follow-up mortgage questions","user":{"login":"niqjohnson","id":1862695,"avatar_url":"https://avatars.githubusercontent.com/u/1862695?v=3","gravatar_id":"","url":"https://api.github.com/users/niqjohnson","html_url":"https://github.com/niqjohnson","followers_url":"https://api.github.com/users/niqjohnson/followers","following_url":"https://api.github.com/users/niqjohnson/following{/other_user}","gists_url":"https://api.github.com/users/niqjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/niqjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niqjohnson/subscriptions","organizations_url":"https://api.github.com/users/niqjohnson/orgs","repos_url":"https://api.github.com/users/niqjohnson/repos","events_url":"https://api.github.com/users/niqjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/niqjohnson/received_events","type":"User","site_admin":false},"body":"Add follow-up questions for mortgage complaints\r\n\r\n## Additions\r\n\r\n- Follow-up questions for mortgage complaints when the issue selected is either \"problems with the mortgage servicer when you are making payments\" or \"problems with the mortgage servicer when you are unable to pay\"\r\n\r\n## Removals\r\n\r\n- Outdated versions of mortgage follow-up questions\r\n\r\n## Changes\r\n\r\n- Fixed how the `active` class is applied to accommodate multiple sub-issue questions \r\n\r\n## Testing\r\n\r\n1. On step 1, select \"Mortgage\" as the product and \"Home mortgage\" as the sub-product\r\n2. On step 2, select either \"problems with the mortgage servicer when you are making payments\" or \"problems with the mortgage servicer when you are unable to pay\" as the issue\r\n3. You should see two follow-up questions. Up to six follow-up questions will appear depending on how you answer the questions, like so:\r\n  1. Are you concerned about losing your home to foreclosure? [Yes/No]\r\n  2. Have you missed any mortgage payments or are you in default on your mortgage [Yes/No]\r\n  3. (If yes to question 2) Is there a date scheduled for the foreclosure sale of your home? [Yes/No]\r\n  4. (If yes to question 3) When is the scheduled foreclosure sale? [Date]\r\n  5. (If yes to question 1 or question 2): Did you pay a company to help you avoid foreclosure? [Yes/No]\r\n  6. (If yes to question 5): What is the name of the company you paid to avoid foreclosure? [Yes/No]\r\n4. Changing answers to any of the questions should hide or show the relevant follow-ups\r\n\r\n## Review\r\n\r\n- @anselmbradford \r\n\r\n## Screenshots\r\n\r\n![mortgage-followups](https://cloud.githubusercontent.com/assets/1862695/15861740/53a145ac-2c9b-11e6-8460-560a08b861c3.png)","created_at":"2016-06-07T14:40:02Z","updated_at":"2016-06-07T14:40:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cfpb/complaint-intake/pulls/7/commits","review_comments_url":"https://api.github.com/repos/cfpb/complaint-intake/pulls/7/comments","review_comment_url":"https://api.github.com/repos/cfpb/complaint-intake/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cfpb/complaint-intake/issues/7/comments","statuses_url":"https://api.github.com/repos/cfpb/complaint-intake/statuses/99441872ccb951527fe2a619590a7612769e72dd","head":{"label":"cfpb:mortgage-questions","ref":"mortgage-questions","sha":"99441872ccb951527fe2a619590a7612769e72dd","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":55182489,"name":"complaint-intake","full_name":"cfpb/complaint-intake","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/complaint-intake","description":"Improving the forms used by consumers to submit complaints about the financial marketplace.","fork":false,"url":"https://api.github.com/repos/cfpb/complaint-intake","forks_url":"https://api.github.com/repos/cfpb/complaint-intake/forks","keys_url":"https://api.github.com/repos/cfpb/complaint-intake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cfpb/complaint-intake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cfpb/complaint-intake/teams","hooks_url":"https://api.github.com/repos/cfpb/complaint-intake/hooks","issue_events_url":"https://api.github.com/repos/cfpb/complaint-intake/issues/events{/number}","events_url":"https://api.github.com/repos/cfpb/complaint-intake/events","assignees_url":"https://api.github.com/repos/cfpb/complaint-intake/assignees{/user}","branches_url":"https://api.github.com/repos/cfpb/complaint-intake/branches{/branch}","tags_url":"https://api.github.com/repos/cfpb/complaint-intake/tags","blobs_url":"https://api.github.com/repos/cfpb/complaint-intake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cfpb/complaint-intake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cfpb/complaint-intake/git/refs{/sha}","trees_url":"https://api.github.com/repos/cfpb/complaint-intake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cfpb/complaint-intake/statuses/{sha}","languages_url":"https://api.github.com/repos/cfpb/complaint-intake/languages","stargazers_url":"https://api.github.com/repos/cfpb/complaint-intake/stargazers","contributors_url":"https://api.github.com/repos/cfpb/complaint-intake/contributors","subscribers_url":"https://api.github.com/repos/cfpb/complaint-intake/subscribers","subscription_url":"https://api.github.com/repos/cfpb/complaint-intake/subscription","commits_url":"https://api.github.com/repos/cfpb/complaint-intake/commits{/sha}","git_commits_url":"https://api.github.com/repos/cfpb/complaint-intake/git/commits{/sha}","comments_url":"https://api.github.com/repos/cfpb/complaint-intake/comments{/number}","issue_comment_url":"https://api.github.com/repos/cfpb/complaint-intake/issues/comments{/number}","contents_url":"https://api.github.com/repos/cfpb/complaint-intake/contents/{+path}","compare_url":"https://api.github.com/repos/cfpb/complaint-intake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cfpb/complaint-intake/merges","archive_url":"https://api.github.com/repos/cfpb/complaint-intake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cfpb/complaint-intake/downloads","issues_url":"https://api.github.com/repos/cfpb/complaint-intake/issues{/number}","pulls_url":"https://api.github.com/repos/cfpb/complaint-intake/pulls{/number}","milestones_url":"https://api.github.com/repos/cfpb/complaint-intake/milestones{/number}","notifications_url":"https://api.github.com/repos/cfpb/complaint-intake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cfpb/complaint-intake/labels{/name}","releases_url":"https://api.github.com/repos/cfpb/complaint-intake/releases{/id}","deployments_url":"https://api.github.com/repos/cfpb/complaint-intake/deployments","created_at":"2016-03-31T20:57:32Z","updated_at":"2016-05-26T20:47:16Z","pushed_at":"2016-06-07T14:40:03Z","git_url":"git://github.com/cfpb/complaint-intake.git","ssh_url":"git@github.com:cfpb/complaint-intake.git","clone_url":"https://github.com/cfpb/complaint-intake.git","svn_url":"https://github.com/cfpb/complaint-intake","homepage":"http://www.consumerfinance.gov/","size":4011,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"cfpb:master","ref":"master","sha":"78eb582328b44c95d591c282fefef7a216a20044","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":55182489,"name":"complaint-intake","full_name":"cfpb/complaint-intake","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/complaint-intake","description":"Improving the forms used by consumers to submit complaints about the financial marketplace.","fork":false,"url":"https://api.github.com/repos/cfpb/complaint-intake","forks_url":"https://api.github.com/repos/cfpb/complaint-intake/forks","keys_url":"https://api.github.com/repos/cfpb/complaint-intake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cfpb/complaint-intake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cfpb/complaint-intake/teams","hooks_url":"https://api.github.com/repos/cfpb/complaint-intake/hooks","issue_events_url":"https://api.github.com/repos/cfpb/complaint-intake/issues/events{/number}","events_url":"https://api.github.com/repos/cfpb/complaint-intake/events","assignees_url":"https://api.github.com/repos/cfpb/complaint-intake/assignees{/user}","branches_url":"https://api.github.com/repos/cfpb/complaint-intake/branches{/branch}","tags_url":"https://api.github.com/repos/cfpb/complaint-intake/tags","blobs_url":"https://api.github.com/repos/cfpb/complaint-intake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cfpb/complaint-intake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cfpb/complaint-intake/git/refs{/sha}","trees_url":"https://api.github.com/repos/cfpb/complaint-intake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cfpb/complaint-intake/statuses/{sha}","languages_url":"https://api.github.com/repos/cfpb/complaint-intake/languages","stargazers_url":"https://api.github.com/repos/cfpb/complaint-intake/stargazers","contributors_url":"https://api.github.com/repos/cfpb/complaint-intake/contributors","subscribers_url":"https://api.github.com/repos/cfpb/complaint-intake/subscribers","subscription_url":"https://api.github.com/repos/cfpb/complaint-intake/subscription","commits_url":"https://api.github.com/repos/cfpb/complaint-intake/commits{/sha}","git_commits_url":"https://api.github.com/repos/cfpb/complaint-intake/git/commits{/sha}","comments_url":"https://api.github.com/repos/cfpb/complaint-intake/comments{/number}","issue_comment_url":"https://api.github.com/repos/cfpb/complaint-intake/issues/comments{/number}","contents_url":"https://api.github.com/repos/cfpb/complaint-intake/contents/{+path}","compare_url":"https://api.github.com/repos/cfpb/complaint-intake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cfpb/complaint-intake/merges","archive_url":"https://api.github.com/repos/cfpb/complaint-intake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cfpb/complaint-intake/downloads","issues_url":"https://api.github.com/repos/cfpb/complaint-intake/issues{/number}","pulls_url":"https://api.github.com/repos/cfpb/complaint-intake/pulls{/number}","milestones_url":"https://api.github.com/repos/cfpb/complaint-intake/milestones{/number}","notifications_url":"https://api.github.com/repos/cfpb/complaint-intake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cfpb/complaint-intake/labels{/name}","releases_url":"https://api.github.com/repos/cfpb/complaint-intake/releases{/id}","deployments_url":"https://api.github.com/repos/cfpb/complaint-intake/deployments","created_at":"2016-03-31T20:57:32Z","updated_at":"2016-05-26T20:47:16Z","pushed_at":"2016-06-07T14:40:03Z","git_url":"git://github.com/cfpb/complaint-intake.git","ssh_url":"git@github.com:cfpb/complaint-intake.git","clone_url":"https://github.com/cfpb/complaint-intake.git","svn_url":"https://github.com/cfpb/complaint-intake","homepage":"http://www.consumerfinance.gov/","size":4011,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cfpb/complaint-intake/pulls/7"},"html":{"href":"https://github.com/cfpb/complaint-intake/pull/7"},"issue":{"href":"https://api.github.com/repos/cfpb/complaint-intake/issues/7"},"comments":{"href":"https://api.github.com/repos/cfpb/complaint-intake/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/cfpb/complaint-intake/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/cfpb/complaint-intake/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cfpb/complaint-intake/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/cfpb/complaint-intake/statuses/99441872ccb951527fe2a619590a7612769e72dd"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":5,"additions":284,"deletions":175,"changed_files":4}}
{"actor":{"display_login":"niqjohnson"}}