{"action":"opened","number":41,"pull_request":{"url":"https://api.github.com/repos/alphagov/service-manual-frontend/pulls/41","id":77437694,"html_url":"https://github.com/alphagov/service-manual-frontend/pull/41","diff_url":"https://github.com/alphagov/service-manual-frontend/pull/41.diff","patch_url":"https://github.com/alphagov/service-manual-frontend/pull/41.patch","issue_url":"https://api.github.com/repos/alphagov/service-manual-frontend/issues/41","number":41,"state":"open","locked":false,"title":"Don't render blank section headings for topics 'without sections'","user":{"login":"36degrees","id":121939,"avatar_url":"https://avatars.githubusercontent.com/u/121939?v=3","gravatar_id":"","url":"https://api.github.com/users/36degrees","html_url":"https://github.com/36degrees","followers_url":"https://api.github.com/users/36degrees/followers","following_url":"https://api.github.com/users/36degrees/following{/other_user}","gists_url":"https://api.github.com/users/36degrees/gists{/gist_id}","starred_url":"https://api.github.com/users/36degrees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/36degrees/subscriptions","organizations_url":"https://api.github.com/users/36degrees/orgs","repos_url":"https://api.github.com/users/36degrees/repos","events_url":"https://api.github.com/users/36degrees/events{/privacy}","received_events_url":"https://api.github.com/users/36degrees/received_events","type":"User","site_admin":false},"body":"Some topics have been configured with only one section which has neither a name nor a description. From a presentation point of view, we treat those topics as if they are 'sectionless'.\r\n\r\nPreviously the front-end did not handle that case very well – it still rendered a heading for the section, including a heading and description. This lead to blank h2s which is bad from an accessibility point of view (and also just not a great thing to do)\r\n\r\nNow, for topics where there is exactly one section AND that section does not have a title, we skip the header and just output a list of links.","created_at":"2016-07-14T11:04:10Z","updated_at":"2016-07-14T11:04:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/service-manual-frontend/pulls/41/commits","review_comments_url":"https://api.github.com/repos/alphagov/service-manual-frontend/pulls/41/comments","review_comment_url":"https://api.github.com/repos/alphagov/service-manual-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/service-manual-frontend/issues/41/comments","statuses_url":"https://api.github.com/repos/alphagov/service-manual-frontend/statuses/b182269b3d91b1c4395b0508210609586ec5c1d2","head":{"label":"alphagov:amend-non-collapsed-list-markup-revised","ref":"amend-non-collapsed-list-markup-revised","sha":"b182269b3d91b1c4395b0508210609586ec5c1d2","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":53954106,"name":"service-manual-frontend","full_name":"alphagov/service-manual-frontend","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/service-manual-frontend","description":"","fork":false,"url":"https://api.github.com/repos/alphagov/service-manual-frontend","forks_url":"https://api.github.com/repos/alphagov/service-manual-frontend/forks","keys_url":"https://api.github.com/repos/alphagov/service-manual-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/service-manual-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/service-manual-frontend/teams","hooks_url":"https://api.github.com/repos/alphagov/service-manual-frontend/hooks","issue_events_url":"https://api.github.com/repos/alphagov/service-manual-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/service-manual-frontend/events","assignees_url":"https://api.github.com/repos/alphagov/service-manual-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/service-manual-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/service-manual-frontend/tags","blobs_url":"https://api.github.com/repos/alphagov/service-manual-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/service-manual-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/service-manual-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/service-manual-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/service-manual-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/service-manual-frontend/languages","stargazers_url":"https://api.github.com/repos/alphagov/service-manual-frontend/stargazers","contributors_url":"https://api.github.com/repos/alphagov/service-manual-frontend/contributors","subscribers_url":"https://api.github.com/repos/alphagov/service-manual-frontend/subscribers","subscription_url":"https://api.github.com/repos/alphagov/service-manual-frontend/subscription","commits_url":"https://api.github.com/repos/alphagov/service-manual-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/service-manual-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/service-manual-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/service-manual-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/service-manual-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/service-manual-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/service-manual-frontend/merges","archive_url":"https://api.github.com/repos/alphagov/service-manual-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/service-manual-frontend/downloads","issues_url":"https://api.github.com/repos/alphagov/service-manual-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/service-manual-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/service-manual-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/service-manual-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/service-manual-frontend/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/service-manual-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/service-manual-frontend/deployments","created_at":"2016-03-15T15:04:00Z","updated_at":"2016-03-15T19:40:31Z","pushed_at":"2016-07-14T10:56:17Z","git_url":"git://github.com/alphagov/service-manual-frontend.git","ssh_url":"git@github.com:alphagov/service-manual-frontend.git","clone_url":"https://github.com/alphagov/service-manual-frontend.git","svn_url":"https://github.com/alphagov/service-manual-frontend","homepage":null,"size":944,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"d9bed8816cd767b3e4042e66a906bfd52c9b2146","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":53954106,"name":"service-manual-frontend","full_name":"alphagov/service-manual-frontend","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/service-manual-frontend","description":"","fork":false,"url":"https://api.github.com/repos/alphagov/service-manual-frontend","forks_url":"https://api.github.com/repos/alphagov/service-manual-frontend/forks","keys_url":"https://api.github.com/repos/alphagov/service-manual-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/service-manual-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/service-manual-frontend/teams","hooks_url":"https://api.github.com/repos/alphagov/service-manual-frontend/hooks","issue_events_url":"https://api.github.com/repos/alphagov/service-manual-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/service-manual-frontend/events","assignees_url":"https://api.github.com/repos/alphagov/service-manual-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/service-manual-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/service-manual-frontend/tags","blobs_url":"https://api.github.com/repos/alphagov/service-manual-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/service-manual-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/service-manual-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/service-manual-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/service-manual-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/service-manual-frontend/languages","stargazers_url":"https://api.github.com/repos/alphagov/service-manual-frontend/stargazers","contributors_url":"https://api.github.com/repos/alphagov/service-manual-frontend/contributors","subscribers_url":"https://api.github.com/repos/alphagov/service-manual-frontend/subscribers","subscription_url":"https://api.github.com/repos/alphagov/service-manual-frontend/subscription","commits_url":"https://api.github.com/repos/alphagov/service-manual-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/service-manual-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/service-manual-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/service-manual-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/service-manual-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/service-manual-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/service-manual-frontend/merges","archive_url":"https://api.github.com/repos/alphagov/service-manual-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/service-manual-frontend/downloads","issues_url":"https://api.github.com/repos/alphagov/service-manual-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/service-manual-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/service-manual-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/service-manual-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/service-manual-frontend/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/service-manual-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/service-manual-frontend/deployments","created_at":"2016-03-15T15:04:00Z","updated_at":"2016-03-15T19:40:31Z","pushed_at":"2016-07-14T10:56:17Z","git_url":"git://github.com/alphagov/service-manual-frontend.git","ssh_url":"git@github.com:alphagov/service-manual-frontend.git","clone_url":"https://github.com/alphagov/service-manual-frontend.git","svn_url":"https://github.com/alphagov/service-manual-frontend","homepage":null,"size":944,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/service-manual-frontend/pulls/41"},"html":{"href":"https://github.com/alphagov/service-manual-frontend/pull/41"},"issue":{"href":"https://api.github.com/repos/alphagov/service-manual-frontend/issues/41"},"comments":{"href":"https://api.github.com/repos/alphagov/service-manual-frontend/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/service-manual-frontend/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/service-manual-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/service-manual-frontend/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/service-manual-frontend/statuses/b182269b3d91b1c4395b0508210609586ec5c1d2"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":58,"deletions":29,"changed_files":4}}
{"actor":{"display_login":"36degrees"}}