{"action":"created","comment":{"url":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls/comments/34903930","id":34903930,"diff_hunk":"@@ -2,6 +2,12 @@ class QuestionBuilder\n \tdef self.build(associate_consultant)\n \t\tquestions = {}\n \n+\t\tquestions[\"Comments\"] = Review::Question.new(\"Comments\", \" General Comments\", [\"project_worked_on\", \"role_description\", \"comments\"],\n+\t\t\t\t\t\t\t\t\t\t\"<p>\\\n+\t\t\t\t\t\t\t\t\t\t\t<div class = \\'ideaListHeader\\'><b> Only have a minute? </b>\\\n+\t\t\t\t\t\t\t\t\t\t\tQuickly share your feedback for #{associate_consultant}, or click continue to provide in-depth commentary.</div>\\","path":"app/models/question_builder.rb","position":7,"original_position":7,"commit_id":"77437a3c2e2efe52061eeccd79117dc739db4ba0","original_commit_id":"77437a3c2e2efe52061eeccd79117dc739db4ba0","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Tab detected.","created_at":"2015-07-17T16:06:06Z","updated_at":"2015-07-17T16:06:06Z","html_url":"https://github.com/ReviewSite/ReviewSite/pull/199#discussion_r34903930","pull_request_url":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls/199","_links":{"self":{"href":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls/comments/34903930"},"html":{"href":"https://github.com/ReviewSite/ReviewSite/pull/199#discussion_r34903930"},"pull_request":{"href":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls/199"}}},"pull_request":{"url":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls/199","id":40246084,"html_url":"https://github.com/ReviewSite/ReviewSite/pull/199","diff_url":"https://github.com/ReviewSite/ReviewSite/pull/199.diff","patch_url":"https://github.com/ReviewSite/ReviewSite/pull/199.patch","issue_url":"https://api.github.com/repos/ReviewSite/ReviewSite/issues/199","number":199,"state":"open","locked":false,"title":"Improve feedback form","user":{"login":"bteng22","id":6289711,"avatar_url":"https://avatars.githubusercontent.com/u/6289711?v=3","gravatar_id":"","url":"https://api.github.com/users/bteng22","html_url":"https://github.com/bteng22","followers_url":"https://api.github.com/users/bteng22/followers","following_url":"https://api.github.com/users/bteng22/following{/other_user}","gists_url":"https://api.github.com/users/bteng22/gists{/gist_id}","starred_url":"https://api.github.com/users/bteng22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bteng22/subscriptions","organizations_url":"https://api.github.com/users/bteng22/orgs","repos_url":"https://api.github.com/users/bteng22/repos","events_url":"https://api.github.com/users/bteng22/events{/privacy}","received_events_url":"https://api.github.com/users/bteng22/received_events","type":"User","site_admin":false},"body":"Improved Feedback form UI as per requirements stated in story #108. Some details to note below:\r\n\r\n-The comments field label for 'General Comments' was kept short due to some quick feedback I got around the office. It can be easily changed down the road if need be.\r\n-Having separate functionality for the 'General Comments' section (removing icon and accordion description) was a bit clunky and required some awkward ERB <% if %> statements throughout the _form.html.erb. If there is an alternative or better way feel free to let me know! \r\n-Also, separating the text inputs from the accordion descriptions and how the headers/text fields correspond to each other when the respective accordion is clicked is a bit verbose atm (uses html-attributes and id's to reference each other). Again, feel free to let me know if there is a framework or better way to handle this. Since this functionality was manipulating the DOM, developing an rspec/jasmine test was difficult for the 'Continue' button. If there is any input in this area let me know—I struggled a bit when it came to this. \r\n\r\nThanks!","created_at":"2015-07-17T16:05:55Z","updated_at":"2015-07-17T16:06:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4fdfde512a187878c8da9edd63642f28a575af44","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls/199/commits","review_comments_url":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls/199/comments","review_comment_url":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ReviewSite/ReviewSite/issues/199/comments","statuses_url":"https://api.github.com/repos/ReviewSite/ReviewSite/statuses/77437a3c2e2efe52061eeccd79117dc739db4ba0","head":{"label":"bteng22:improve-feedback-form","ref":"improve-feedback-form","sha":"77437a3c2e2efe52061eeccd79117dc739db4ba0","user":{"login":"bteng22","id":6289711,"avatar_url":"https://avatars.githubusercontent.com/u/6289711?v=3","gravatar_id":"","url":"https://api.github.com/users/bteng22","html_url":"https://github.com/bteng22","followers_url":"https://api.github.com/users/bteng22/followers","following_url":"https://api.github.com/users/bteng22/following{/other_user}","gists_url":"https://api.github.com/users/bteng22/gists{/gist_id}","starred_url":"https://api.github.com/users/bteng22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bteng22/subscriptions","organizations_url":"https://api.github.com/users/bteng22/orgs","repos_url":"https://api.github.com/users/bteng22/repos","events_url":"https://api.github.com/users/bteng22/events{/privacy}","received_events_url":"https://api.github.com/users/bteng22/received_events","type":"User","site_admin":false},"repo":{"id":38622800,"name":"ReviewSite","full_name":"bteng22/ReviewSite","owner":{"login":"bteng22","id":6289711,"avatar_url":"https://avatars.githubusercontent.com/u/6289711?v=3","gravatar_id":"","url":"https://api.github.com/users/bteng22","html_url":"https://github.com/bteng22","followers_url":"https://api.github.com/users/bteng22/followers","following_url":"https://api.github.com/users/bteng22/following{/other_user}","gists_url":"https://api.github.com/users/bteng22/gists{/gist_id}","starred_url":"https://api.github.com/users/bteng22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bteng22/subscriptions","organizations_url":"https://api.github.com/users/bteng22/orgs","repos_url":"https://api.github.com/users/bteng22/repos","events_url":"https://api.github.com/users/bteng22/events{/privacy}","received_events_url":"https://api.github.com/users/bteng22/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bteng22/ReviewSite","description":"Rails app to track reviews for Associate Consultants","fork":true,"url":"https://api.github.com/repos/bteng22/ReviewSite","forks_url":"https://api.github.com/repos/bteng22/ReviewSite/forks","keys_url":"https://api.github.com/repos/bteng22/ReviewSite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bteng22/ReviewSite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bteng22/ReviewSite/teams","hooks_url":"https://api.github.com/repos/bteng22/ReviewSite/hooks","issue_events_url":"https://api.github.com/repos/bteng22/ReviewSite/issues/events{/number}","events_url":"https://api.github.com/repos/bteng22/ReviewSite/events","assignees_url":"https://api.github.com/repos/bteng22/ReviewSite/assignees{/user}","branches_url":"https://api.github.com/repos/bteng22/ReviewSite/branches{/branch}","tags_url":"https://api.github.com/repos/bteng22/ReviewSite/tags","blobs_url":"https://api.github.com/repos/bteng22/ReviewSite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bteng22/ReviewSite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bteng22/ReviewSite/git/refs{/sha}","trees_url":"https://api.github.com/repos/bteng22/ReviewSite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bteng22/ReviewSite/statuses/{sha}","languages_url":"https://api.github.com/repos/bteng22/ReviewSite/languages","stargazers_url":"https://api.github.com/repos/bteng22/ReviewSite/stargazers","contributors_url":"https://api.github.com/repos/bteng22/ReviewSite/contributors","subscribers_url":"https://api.github.com/repos/bteng22/ReviewSite/subscribers","subscription_url":"https://api.github.com/repos/bteng22/ReviewSite/subscription","commits_url":"https://api.github.com/repos/bteng22/ReviewSite/commits{/sha}","git_commits_url":"https://api.github.com/repos/bteng22/ReviewSite/git/commits{/sha}","comments_url":"https://api.github.com/repos/bteng22/ReviewSite/comments{/number}","issue_comment_url":"https://api.github.com/repos/bteng22/ReviewSite/issues/comments{/number}","contents_url":"https://api.github.com/repos/bteng22/ReviewSite/contents/{+path}","compare_url":"https://api.github.com/repos/bteng22/ReviewSite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bteng22/ReviewSite/merges","archive_url":"https://api.github.com/repos/bteng22/ReviewSite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bteng22/ReviewSite/downloads","issues_url":"https://api.github.com/repos/bteng22/ReviewSite/issues{/number}","pulls_url":"https://api.github.com/repos/bteng22/ReviewSite/pulls{/number}","milestones_url":"https://api.github.com/repos/bteng22/ReviewSite/milestones{/number}","notifications_url":"https://api.github.com/repos/bteng22/ReviewSite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bteng22/ReviewSite/labels{/name}","releases_url":"https://api.github.com/repos/bteng22/ReviewSite/releases{/id}","created_at":"2015-07-06T14:08:28Z","updated_at":"2015-07-06T14:08:28Z","pushed_at":"2015-07-17T00:18:15Z","git_url":"git://github.com/bteng22/ReviewSite.git","ssh_url":"git@github.com:bteng22/ReviewSite.git","clone_url":"https://github.com/bteng22/ReviewSite.git","svn_url":"https://github.com/bteng22/ReviewSite","homepage":"","size":13565,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"ReviewSite:master","ref":"master","sha":"2c2f8d76c24d850daea7a28d0b2d17db4fec7710","user":{"login":"ReviewSite","id":3036902,"avatar_url":"https://avatars.githubusercontent.com/u/3036902?v=3","gravatar_id":"","url":"https://api.github.com/users/ReviewSite","html_url":"https://github.com/ReviewSite","followers_url":"https://api.github.com/users/ReviewSite/followers","following_url":"https://api.github.com/users/ReviewSite/following{/other_user}","gists_url":"https://api.github.com/users/ReviewSite/gists{/gist_id}","starred_url":"https://api.github.com/users/ReviewSite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReviewSite/subscriptions","organizations_url":"https://api.github.com/users/ReviewSite/orgs","repos_url":"https://api.github.com/users/ReviewSite/repos","events_url":"https://api.github.com/users/ReviewSite/events{/privacy}","received_events_url":"https://api.github.com/users/ReviewSite/received_events","type":"Organization","site_admin":false},"repo":{"id":8145895,"name":"ReviewSite","full_name":"ReviewSite/ReviewSite","owner":{"login":"ReviewSite","id":3036902,"avatar_url":"https://avatars.githubusercontent.com/u/3036902?v=3","gravatar_id":"","url":"https://api.github.com/users/ReviewSite","html_url":"https://github.com/ReviewSite","followers_url":"https://api.github.com/users/ReviewSite/followers","following_url":"https://api.github.com/users/ReviewSite/following{/other_user}","gists_url":"https://api.github.com/users/ReviewSite/gists{/gist_id}","starred_url":"https://api.github.com/users/ReviewSite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReviewSite/subscriptions","organizations_url":"https://api.github.com/users/ReviewSite/orgs","repos_url":"https://api.github.com/users/ReviewSite/repos","events_url":"https://api.github.com/users/ReviewSite/events{/privacy}","received_events_url":"https://api.github.com/users/ReviewSite/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ReviewSite/ReviewSite","description":"Rails app to track reviews for Associate Consultants","fork":false,"url":"https://api.github.com/repos/ReviewSite/ReviewSite","forks_url":"https://api.github.com/repos/ReviewSite/ReviewSite/forks","keys_url":"https://api.github.com/repos/ReviewSite/ReviewSite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ReviewSite/ReviewSite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ReviewSite/ReviewSite/teams","hooks_url":"https://api.github.com/repos/ReviewSite/ReviewSite/hooks","issue_events_url":"https://api.github.com/repos/ReviewSite/ReviewSite/issues/events{/number}","events_url":"https://api.github.com/repos/ReviewSite/ReviewSite/events","assignees_url":"https://api.github.com/repos/ReviewSite/ReviewSite/assignees{/user}","branches_url":"https://api.github.com/repos/ReviewSite/ReviewSite/branches{/branch}","tags_url":"https://api.github.com/repos/ReviewSite/ReviewSite/tags","blobs_url":"https://api.github.com/repos/ReviewSite/ReviewSite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ReviewSite/ReviewSite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ReviewSite/ReviewSite/git/refs{/sha}","trees_url":"https://api.github.com/repos/ReviewSite/ReviewSite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ReviewSite/ReviewSite/statuses/{sha}","languages_url":"https://api.github.com/repos/ReviewSite/ReviewSite/languages","stargazers_url":"https://api.github.com/repos/ReviewSite/ReviewSite/stargazers","contributors_url":"https://api.github.com/repos/ReviewSite/ReviewSite/contributors","subscribers_url":"https://api.github.com/repos/ReviewSite/ReviewSite/subscribers","subscription_url":"https://api.github.com/repos/ReviewSite/ReviewSite/subscription","commits_url":"https://api.github.com/repos/ReviewSite/ReviewSite/commits{/sha}","git_commits_url":"https://api.github.com/repos/ReviewSite/ReviewSite/git/commits{/sha}","comments_url":"https://api.github.com/repos/ReviewSite/ReviewSite/comments{/number}","issue_comment_url":"https://api.github.com/repos/ReviewSite/ReviewSite/issues/comments{/number}","contents_url":"https://api.github.com/repos/ReviewSite/ReviewSite/contents/{+path}","compare_url":"https://api.github.com/repos/ReviewSite/ReviewSite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ReviewSite/ReviewSite/merges","archive_url":"https://api.github.com/repos/ReviewSite/ReviewSite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ReviewSite/ReviewSite/downloads","issues_url":"https://api.github.com/repos/ReviewSite/ReviewSite/issues{/number}","pulls_url":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls{/number}","milestones_url":"https://api.github.com/repos/ReviewSite/ReviewSite/milestones{/number}","notifications_url":"https://api.github.com/repos/ReviewSite/ReviewSite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ReviewSite/ReviewSite/labels{/name}","releases_url":"https://api.github.com/repos/ReviewSite/ReviewSite/releases{/id}","created_at":"2013-02-11T20:28:38Z","updated_at":"2015-07-17T14:31:24Z","pushed_at":"2015-07-17T16:05:55Z","git_url":"git://github.com/ReviewSite/ReviewSite.git","ssh_url":"git@github.com:ReviewSite/ReviewSite.git","clone_url":"https://github.com/ReviewSite/ReviewSite.git","svn_url":"https://github.com/ReviewSite/ReviewSite","homepage":"","size":15979,"stargazers_count":8,"watchers_count":8,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":2,"forks":22,"open_issues":2,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls/199"},"html":{"href":"https://github.com/ReviewSite/ReviewSite/pull/199"},"issue":{"href":"https://api.github.com/repos/ReviewSite/ReviewSite/issues/199"},"comments":{"href":"https://api.github.com/repos/ReviewSite/ReviewSite/issues/199/comments"},"review_comments":{"href":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls/199/comments"},"review_comment":{"href":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls/199/commits"},"statuses":{"href":"https://api.github.com/repos/ReviewSite/ReviewSite/statuses/77437a3c2e2efe52061eeccd79117dc739db4ba0"}}}}