{"action":"created","comment":{"url":"https://api.github.com/repos/alphagov/govuk_publishing_components/pulls/comments/168542647","pull_request_review_id":96928226,"id":168542647,"diff_hunk":"@@ -0,0 +1,3 @@\n+.pub-c-feedback {\n+  display: none;","path":"app/assets/stylesheets/govuk_publishing_components/components/print/_feedback.scss","position":null,"original_position":2,"commit_id":"ec1c3e70a0859e9ee09217f5778a2e1c4942f5a7","original_commit_id":"bdd454fa7a8f3fff1c1dc0ba2fe762f58ee9dd8a","user":{"login":"andysellick","id":861310,"avatar_url":"https://avatars3.githubusercontent.com/u/861310?v=4","gravatar_id":"","url":"https://api.github.com/users/andysellick","html_url":"https://github.com/andysellick","followers_url":"https://api.github.com/users/andysellick/followers","following_url":"https://api.github.com/users/andysellick/following{/other_user}","gists_url":"https://api.github.com/users/andysellick/gists{/gist_id}","starred_url":"https://api.github.com/users/andysellick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andysellick/subscriptions","organizations_url":"https://api.github.com/users/andysellick/orgs","repos_url":"https://api.github.com/users/andysellick/repos","events_url":"https://api.github.com/users/andysellick/events{/privacy}","received_events_url":"https://api.github.com/users/andysellick/received_events","type":"User","site_admin":false},"body":"Ah, figured it out. It was in the print stylesheet for the components, but not the print stylesheet for the component guide. Obviously.","created_at":"2018-02-15T17:05:26Z","updated_at":"2018-02-15T17:05:26Z","html_url":"https://github.com/alphagov/govuk_publishing_components/pull/163#discussion_r168542647","pull_request_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/pulls/163","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/alphagov/govuk_publishing_components/pulls/comments/168542647"},"html":{"href":"https://github.com/alphagov/govuk_publishing_components/pull/163#discussion_r168542647"},"pull_request":{"href":"https://api.github.com/repos/alphagov/govuk_publishing_components/pulls/163"}},"in_reply_to_id":168462783},"pull_request":{"url":"https://api.github.com/repos/alphagov/govuk_publishing_components/pulls/163","id":169105201,"html_url":"https://github.com/alphagov/govuk_publishing_components/pull/163","diff_url":"https://github.com/alphagov/govuk_publishing_components/pull/163.diff","patch_url":"https://github.com/alphagov/govuk_publishing_components/pull/163.patch","issue_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/issues/163","number":163,"state":"open","locked":false,"title":"Add feedback component","user":{"login":"andysellick","id":861310,"avatar_url":"https://avatars3.githubusercontent.com/u/861310?v=4","gravatar_id":"","url":"https://api.github.com/users/andysellick","html_url":"https://github.com/andysellick","followers_url":"https://api.github.com/users/andysellick/followers","following_url":"https://api.github.com/users/andysellick/following{/other_user}","gists_url":"https://api.github.com/users/andysellick/gists{/gist_id}","starred_url":"https://api.github.com/users/andysellick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andysellick/subscriptions","organizations_url":"https://api.github.com/users/andysellick/orgs","repos_url":"https://api.github.com/users/andysellick/repos","events_url":"https://api.github.com/users/andysellick/events{/privacy}","received_events_url":"https://api.github.com/users/andysellick/received_events","type":"User","site_admin":false},"body":"Build the new feedback form to go at the foot of all GOV.UK pages. This is based on the code from the Service Manual but with some changes, as this version requires additional functionality.\r\n\r\nUltimately this component will be moved to the publishing components gem, but I started building it in static so getting it reviewed here because the commit history might prove useful to that.\r\n\r\nInitial state:\r\n\r\n![screen shot 2018-02-06 at 14 58 57](https://user-images.githubusercontent.com/861310/35866143-4c06d9c2-0b4e-11e8-92c8-ef46f4a21191.png)\r\n\r\nUsers have three options:\r\n\r\n1. click 'yes' (page is useful) records a GA event and shows a 'thanks for your feedback' message\r\n2. click 'no' (page is not useful) opens a form to take an email address to send a link to a survey to. This is a rework of the form that currently appears underneath the header of GOV.UK for some users at some times (you can trigger this by visiting GOV.UK and running GOVUK.userSurveys.displaySurvey(GOVUK.userSurveys.defaultSurvey) in the browser console)\r\n3. click 'is there anything wrong with this page?' opens a feedback form. This is a rework of the existing feedback form at the foot of GOV.UK\r\n\r\n**Result of option 1 (and the others, if submitted successfully):**\r\n\r\n![screen shot 2018-02-06 at 15 02 41](https://user-images.githubusercontent.com/861310/35866325-cdcb9268-0b4e-11e8-852b-e2564114ce6b.png)\r\n\r\n**'Page is not useful' form:**\r\n\r\n<img width=\"1021\" alt=\"screen shot 2018-02-15 at 08 49 19\" src=\"https://user-images.githubusercontent.com/861310/36247771-28735cc0-122d-11e8-8389-3f94864dd409.png\">\r\n\r\n**'Something wrong with page' form:**\r\n\r\n<img width=\"1016\" alt=\"screen shot 2018-02-15 at 08 48 27\" src=\"https://user-images.githubusercontent.com/861310/36247738-0e52c736-122d-11e8-8aff-0d025fae8697.png\">\r\n\r\nIf javascript is disabled, this form should be the only element that appears, and should still function.\r\n\r\n- this code was originally in static, where it received some feedback, [original PR is here](https://github.com/alphagov/static/pull/1235)\r\n- [Trello card](https://trello.com/c/oRLXhaTU/155-make-the-service-manual-feedback-pattern-a-component)\r\n- [Component guide](https://govuk-static-pr-1235.herokuapp.com/component-guide/feedback)","created_at":"2018-02-14T13:07:59Z","updated_at":"2018-02-15T17:05:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5171958d9a9b5d62d7a5881e4a07ed3dd6e63538","assignee":null,"assignees":[],"requested_reviewers":[{"login":"fofr","id":319055,"avatar_url":"https://avatars3.githubusercontent.com/u/319055?v=4","gravatar_id":"","url":"https://api.github.com/users/fofr","html_url":"https://github.com/fofr","followers_url":"https://api.github.com/users/fofr/followers","following_url":"https://api.github.com/users/fofr/following{/other_user}","gists_url":"https://api.github.com/users/fofr/gists{/gist_id}","starred_url":"https://api.github.com/users/fofr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fofr/subscriptions","organizations_url":"https://api.github.com/users/fofr/orgs","repos_url":"https://api.github.com/users/fofr/repos","events_url":"https://api.github.com/users/fofr/events{/privacy}","received_events_url":"https://api.github.com/users/fofr/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/pulls/163/commits","review_comments_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/pulls/163/comments","review_comment_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/issues/163/comments","statuses_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/statuses/ec1c3e70a0859e9ee09217f5778a2e1c4942f5a7","head":{"label":"alphagov:add-feedback-component","ref":"add-feedback-component","sha":"ec1c3e70a0859e9ee09217f5778a2e1c4942f5a7","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":97020666,"name":"govuk_publishing_components","full_name":"alphagov/govuk_publishing_components","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/govuk_publishing_components","description":"A gem to document components in GOV.UK frontend applications","fork":false,"url":"https://api.github.com/repos/alphagov/govuk_publishing_components","forks_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/forks","keys_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/teams","hooks_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/hooks","issue_events_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/events","assignees_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/tags","blobs_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/languages","stargazers_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/stargazers","contributors_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/contributors","subscribers_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/subscribers","subscription_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/subscription","commits_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/merges","archive_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/downloads","issues_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/deployments","created_at":"2017-07-12T14:59:27Z","updated_at":"2018-02-14T10:42:40Z","pushed_at":"2018-02-15T17:04:53Z","git_url":"git://github.com/alphagov/govuk_publishing_components.git","ssh_url":"git@github.com:alphagov/govuk_publishing_components.git","clone_url":"https://github.com/alphagov/govuk_publishing_components.git","svn_url":"https://github.com/alphagov/govuk_publishing_components","homepage":"https://govuk-publishing-components.herokuapp.com/component-guide","size":885,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":15,"watchers":2,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"09a7da368ff7e1396bc5dcf7c510ee903d7a18eb","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":97020666,"name":"govuk_publishing_components","full_name":"alphagov/govuk_publishing_components","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/govuk_publishing_components","description":"A gem to document components in GOV.UK frontend applications","fork":false,"url":"https://api.github.com/repos/alphagov/govuk_publishing_components","forks_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/forks","keys_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/teams","hooks_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/hooks","issue_events_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/events","assignees_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/tags","blobs_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/languages","stargazers_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/stargazers","contributors_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/contributors","subscribers_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/subscribers","subscription_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/subscription","commits_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/merges","archive_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/downloads","issues_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/govuk_publishing_components/deployments","created_at":"2017-07-12T14:59:27Z","updated_at":"2018-02-14T10:42:40Z","pushed_at":"2018-02-15T17:04:53Z","git_url":"git://github.com/alphagov/govuk_publishing_components.git","ssh_url":"git@github.com:alphagov/govuk_publishing_components.git","clone_url":"https://github.com/alphagov/govuk_publishing_components.git","svn_url":"https://github.com/alphagov/govuk_publishing_components","homepage":"https://govuk-publishing-components.herokuapp.com/component-guide","size":885,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":15,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/govuk_publishing_components/pulls/163"},"html":{"href":"https://github.com/alphagov/govuk_publishing_components/pull/163"},"issue":{"href":"https://api.github.com/repos/alphagov/govuk_publishing_components/issues/163"},"comments":{"href":"https://api.github.com/repos/alphagov/govuk_publishing_components/issues/163/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/govuk_publishing_components/pulls/163/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/govuk_publishing_components/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/govuk_publishing_components/pulls/163/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/govuk_publishing_components/statuses/ec1c3e70a0859e9ee09217f5778a2e1c4942f5a7"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"andysellick"}}