{"action":"closed","number":5,"pull_request":{"url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/pulls/5","id":58331809,"html_url":"https://github.com/alphagov/govuk_accessibility_sandbox/pull/5","diff_url":"https://github.com/alphagov/govuk_accessibility_sandbox/pull/5.diff","patch_url":"https://github.com/alphagov/govuk_accessibility_sandbox/pull/5.patch","issue_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/issues/5","number":5,"state":"closed","locked":false,"title":"Add service manual disclosure widget","user":{"login":"gemmaleigh","id":417754,"avatar_url":"https://avatars.githubusercontent.com/u/417754?v=3","gravatar_id":"","url":"https://api.github.com/users/gemmaleigh","html_url":"https://github.com/gemmaleigh","followers_url":"https://api.github.com/users/gemmaleigh/followers","following_url":"https://api.github.com/users/gemmaleigh/following{/other_user}","gists_url":"https://api.github.com/users/gemmaleigh/gists{/gist_id}","starred_url":"https://api.github.com/users/gemmaleigh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gemmaleigh/subscriptions","organizations_url":"https://api.github.com/users/gemmaleigh/orgs","repos_url":"https://api.github.com/users/gemmaleigh/repos","events_url":"https://api.github.com/users/gemmaleigh/events{/privacy}","received_events_url":"https://api.github.com/users/gemmaleigh/received_events","type":"User","site_admin":false},"body":"This PR adds the Service Manual disclosure widget, so that a demo of this widget can be tested here.\r\n\r\nThe widget looks like this when JS is disabled:\r\n\r\n![example radio buttons and checkboxes3](https://cloud.githubusercontent.com/assets/417754/12825908/6e6b01f2-cb70-11e5-9935-28f88e73e5b4.png)\r\n\r\nWhen JS is enabled, it looks like this:\r\n![example radio buttons and checkboxes](https://cloud.githubusercontent.com/assets/417754/12825913/776bced0-cb70-11e5-8f14-2b2410f6dc08.png)\r\n\r\nand when opened, it looks like this:\r\n![example radio buttons and checkboxes2](https://cloud.githubusercontent.com/assets/417754/12825909/7092ce42-cb70-11e5-9370-fac31b4712fb.png)\r\n\r\nSome new things being added here:\r\n- Adding the GOV.UK modules JS from the front-end tookit\r\n- Auto-starting any GOV.UK modules\r\n- Creating a Service Manual Disclosure module\r\n\r\nI've tried to keep the files for this PR tidy, by naming all assets related to this widget either service-manual-disclosure or I have put them in a `/service-manual-disclosure/` folder.\r\n\r\nThere's one in `/assets/images/` for the SVG sprite, fallback and screenshot needed for the index page describing the pattern.\r\n\r\nThe scss required for the pattern is a partial (as it doesn't need to generate its own stylesheet), this is imported by the application stylesheet. This might get messy as we add more patterns, there's probably a better way to do this - but I'm going with convention set by the date of birth pattern for now.\r\n","created_at":"2016-02-04T18:57:18Z","updated_at":"2016-02-06T07:16:01Z","closed_at":"2016-02-06T07:16:01Z","merged_at":"2016-02-06T07:16:01Z","merge_commit_sha":"5cf17129150c5c6aa46d34a263d9400ebb5166eb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/pulls/5/commits","review_comments_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/pulls/5/comments","review_comment_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/issues/5/comments","statuses_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/statuses/d407e4b658a927836a92a04a89bf4341f3b22d6d","head":{"label":"gemmaleigh:add-service-manual-disclosure-widget","ref":"add-service-manual-disclosure-widget","sha":"d407e4b658a927836a92a04a89bf4341f3b22d6d","user":{"login":"gemmaleigh","id":417754,"avatar_url":"https://avatars.githubusercontent.com/u/417754?v=3","gravatar_id":"","url":"https://api.github.com/users/gemmaleigh","html_url":"https://github.com/gemmaleigh","followers_url":"https://api.github.com/users/gemmaleigh/followers","following_url":"https://api.github.com/users/gemmaleigh/following{/other_user}","gists_url":"https://api.github.com/users/gemmaleigh/gists{/gist_id}","starred_url":"https://api.github.com/users/gemmaleigh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gemmaleigh/subscriptions","organizations_url":"https://api.github.com/users/gemmaleigh/orgs","repos_url":"https://api.github.com/users/gemmaleigh/repos","events_url":"https://api.github.com/users/gemmaleigh/events{/privacy}","received_events_url":"https://api.github.com/users/gemmaleigh/received_events","type":"User","site_admin":false},"repo":{"id":51096305,"name":"govuk_accessibility_sandbox","full_name":"gemmaleigh/govuk_accessibility_sandbox","owner":{"login":"gemmaleigh","id":417754,"avatar_url":"https://avatars.githubusercontent.com/u/417754?v=3","gravatar_id":"","url":"https://api.github.com/users/gemmaleigh","html_url":"https://github.com/gemmaleigh","followers_url":"https://api.github.com/users/gemmaleigh/followers","following_url":"https://api.github.com/users/gemmaleigh/following{/other_user}","gists_url":"https://api.github.com/users/gemmaleigh/gists{/gist_id}","starred_url":"https://api.github.com/users/gemmaleigh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gemmaleigh/subscriptions","organizations_url":"https://api.github.com/users/gemmaleigh/orgs","repos_url":"https://api.github.com/users/gemmaleigh/repos","events_url":"https://api.github.com/users/gemmaleigh/events{/privacy}","received_events_url":"https://api.github.com/users/gemmaleigh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gemmaleigh/govuk_accessibility_sandbox","description":"A place to build and view components with accessibility in mind and get feedback from the community and beyond.","fork":true,"url":"https://api.github.com/repos/gemmaleigh/govuk_accessibility_sandbox","forks_url":"https://api.github.com/repos/gemmaleigh/govuk_accessibility_sandbox/forks","keys_url":"https://api.github.com/repos/gemmaleigh/govuk_accessibility_sandbox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gemmaleigh/govuk_accessibility_sandbox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gemmaleigh/govuk_accessibility_sandbox/teams","hooks_url":"https://api.github.com/repos/gemmaleigh/govuk_accessibility_sandbox/hooks","issue_events_url":"https://api.github.com/repos/gemmaleigh/govuk_accessibility_sandbox/issues/events{/number}","events_url":"https://api.github.com/repos/gemmaleigh/govuk_accessibility_sandbox/events","assignees_url":"https://api.github.com/repos/gemmaleigh/govuk_accessibility_sandbox/assignees{/user}","branches_url":"https://api.github.com/repos/gemmaleigh/govuk_accessibility_sandbox/branches{/branch}","tags_url":"https://api.github.com/repos/gemmaleigh/govuk_accessibility_sandbox/tags","blobs_url":"https://api.github.com/repos/gemmaleigh/govuk_accessibility_sandbox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gemmaleigh/govuk_accessibility_sandbox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gemmaleigh/govuk_accessibility_sandbox/git/refs{/sha}","trees_url":"https://api.github.com/repos/gemmaleigh/govuk_accessibility_sandbox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gemmaleigh/govuk_accessibility_sandbox/statuses/{sha}","languages_url":"https://api.github.com/repos/gemmaleigh/govuk_accessibility_sandbox/languages","stargazers_url":"https://api.github.com/repos/gemmaleigh/govuk_accessibility_sandbox/stargazers","contributors_url":"https://api.github.com/repos/gemmaleigh/govuk_accessibility_sandbox/contributors","subscribers_url":"https://api.github.com/repos/gemmaleigh/govuk_accessibility_sandbox/subscribers","subscription_url":"https://api.github.com/repos/gemmaleigh/govuk_accessibility_sandbox/subscription","commits_url":"https://api.github.com/repos/gemmaleigh/govuk_accessibility_sandbox/commits{/sha}","git_commits_url":"https://api.github.com/repos/gemmaleigh/govuk_accessibility_sandbox/git/commits{/sha}","comments_url":"https://api.github.com/repos/gemmaleigh/govuk_accessibility_sandbox/comments{/number}","issue_comment_url":"https://api.github.com/repos/gemmaleigh/govuk_accessibility_sandbox/issues/comments{/number}","contents_url":"https://api.github.com/repos/gemmaleigh/govuk_accessibility_sandbox/contents/{+path}","compare_url":"https://api.github.com/repos/gemmaleigh/govuk_accessibility_sandbox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gemmaleigh/govuk_accessibility_sandbox/merges","archive_url":"https://api.github.com/repos/gemmaleigh/govuk_accessibility_sandbox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gemmaleigh/govuk_accessibility_sandbox/downloads","issues_url":"https://api.github.com/repos/gemmaleigh/govuk_accessibility_sandbox/issues{/number}","pulls_url":"https://api.github.com/repos/gemmaleigh/govuk_accessibility_sandbox/pulls{/number}","milestones_url":"https://api.github.com/repos/gemmaleigh/govuk_accessibility_sandbox/milestones{/number}","notifications_url":"https://api.github.com/repos/gemmaleigh/govuk_accessibility_sandbox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gemmaleigh/govuk_accessibility_sandbox/labels{/name}","releases_url":"https://api.github.com/repos/gemmaleigh/govuk_accessibility_sandbox/releases{/id}","deployments_url":"https://api.github.com/repos/gemmaleigh/govuk_accessibility_sandbox/deployments","created_at":"2016-02-04T18:32:05Z","updated_at":"2016-02-04T18:32:06Z","pushed_at":"2016-02-04T19:01:13Z","git_url":"git://github.com/gemmaleigh/govuk_accessibility_sandbox.git","ssh_url":"git@github.com:gemmaleigh/govuk_accessibility_sandbox.git","clone_url":"https://github.com/gemmaleigh/govuk_accessibility_sandbox.git","svn_url":"https://github.com/gemmaleigh/govuk_accessibility_sandbox","homepage":"","size":296,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"alphagov:master","ref":"master","sha":"da885cadcfa60a334c87a7433ee9bbec9e193a2d","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","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":46281323,"name":"govuk_accessibility_sandbox","full_name":"alphagov/govuk_accessibility_sandbox","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","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_accessibility_sandbox","description":"A place to build and view components with accessibility in mind and get feedback from the community and beyond.","fork":false,"url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox","forks_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/forks","keys_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/teams","hooks_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/hooks","issue_events_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/events","assignees_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/tags","blobs_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/languages","stargazers_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/stargazers","contributors_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/contributors","subscribers_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/subscribers","subscription_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/subscription","commits_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/merges","archive_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/downloads","issues_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/deployments","created_at":"2015-11-16T14:53:58Z","updated_at":"2016-01-26T15:43:07Z","pushed_at":"2016-02-06T07:16:01Z","git_url":"git://github.com/alphagov/govuk_accessibility_sandbox.git","ssh_url":"git@github.com:alphagov/govuk_accessibility_sandbox.git","clone_url":"https://github.com/alphagov/govuk_accessibility_sandbox.git","svn_url":"https://github.com/alphagov/govuk_accessibility_sandbox","homepage":"","size":298,"stargazers_count":2,"watchers_count":2,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/pulls/5"},"html":{"href":"https://github.com/alphagov/govuk_accessibility_sandbox/pull/5"},"issue":{"href":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/issues/5"},"comments":{"href":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/govuk_accessibility_sandbox/statuses/d407e4b658a927836a92a04a89bf4341f3b22d6d"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"aduggin","id":637801,"avatar_url":"https://avatars.githubusercontent.com/u/637801?v=3","gravatar_id":"","url":"https://api.github.com/users/aduggin","html_url":"https://github.com/aduggin","followers_url":"https://api.github.com/users/aduggin/followers","following_url":"https://api.github.com/users/aduggin/following{/other_user}","gists_url":"https://api.github.com/users/aduggin/gists{/gist_id}","starred_url":"https://api.github.com/users/aduggin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aduggin/subscriptions","organizations_url":"https://api.github.com/users/aduggin/orgs","repos_url":"https://api.github.com/users/aduggin/repos","events_url":"https://api.github.com/users/aduggin/events{/privacy}","received_events_url":"https://api.github.com/users/aduggin/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":14,"additions":518,"deletions":12,"changed_files":13}}