{"action":"opened","number":85,"pull_request":{"url":"https://api.github.com/repos/alphagov/collections-publisher/pulls/85","id":37459401,"html_url":"https://github.com/alphagov/collections-publisher/pull/85","diff_url":"https://github.com/alphagov/collections-publisher/pull/85.diff","patch_url":"https://github.com/alphagov/collections-publisher/pull/85.patch","issue_url":"https://api.github.com/repos/alphagov/collections-publisher/issues/85","number":85,"state":"open","locked":false,"title":"Add \"Unpublished changes\" label for tags","user":{"login":"tijmenb","id":233676,"avatar_url":"https://avatars.githubusercontent.com/u/233676?v=3","gravatar_id":"","url":"https://api.github.com/users/tijmenb","html_url":"https://github.com/tijmenb","followers_url":"https://api.github.com/users/tijmenb/followers","following_url":"https://api.github.com/users/tijmenb/following{/other_user}","gists_url":"https://api.github.com/users/tijmenb/gists{/gist_id}","starred_url":"https://api.github.com/users/tijmenb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tijmenb/subscriptions","organizations_url":"https://api.github.com/users/tijmenb/orgs","repos_url":"https://api.github.com/users/tijmenb/repos","events_url":"https://api.github.com/users/tijmenb/events{/privacy}","received_events_url":"https://api.github.com/users/tijmenb/received_events","type":"User","site_admin":false},"body":"When a list is updated the tag is marked as \"dirty\", which means it has changes that have not been published to the content store and aren't shown on the site.\r\n\r\nAdding a label will help users to see which tags have unpublished changes - currently only the appearance of the \"Publish\" button would indicate the published state.\r\n\r\n## Before\r\n\r\n![screen shot 2015-06-11 at 13 44 54](https://cloud.githubusercontent.com/assets/233676/8107324/5710995e-1040-11e5-9f7a-7079e5d2d33a.png)\r\n![screen shot 2015-06-11 at 13 45 58](https://cloud.githubusercontent.com/assets/233676/8107332/6690aeaa-1040-11e5-8291-f199fbaeb351.png)\r\n\r\n## After\r\n\r\n![screen shot 2015-06-11 at 13 41 45](https://cloud.githubusercontent.com/assets/233676/8107323/570ed31c-1040-11e5-8240-8a913a449c55.png)\r\n![screen shot 2015-06-11 at 13 45 52](https://cloud.githubusercontent.com/assets/233676/8107331/66902728-1040-11e5-9141-bcc45e9a7ffb.png)\r\n\r\n","created_at":"2015-06-11T12:48:17Z","updated_at":"2015-06-11T12:48:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/collections-publisher/pulls/85/commits","review_comments_url":"https://api.github.com/repos/alphagov/collections-publisher/pulls/85/comments","review_comment_url":"https://api.github.com/repos/alphagov/collections-publisher/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/collections-publisher/issues/85/comments","statuses_url":"https://api.github.com/repos/alphagov/collections-publisher/statuses/4ef9a25e1c50ad81c8e98f87f757438e601449ee","head":{"label":"alphagov:show-dirty-state","ref":"show-dirty-state","sha":"4ef9a25e1c50ad81c8e98f87f757438e601449ee","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":22423082,"name":"collections-publisher","full_name":"alphagov/collections-publisher","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/collections-publisher","description":"Collections Publisher publishes browse pages and topic pages.","fork":false,"url":"https://api.github.com/repos/alphagov/collections-publisher","forks_url":"https://api.github.com/repos/alphagov/collections-publisher/forks","keys_url":"https://api.github.com/repos/alphagov/collections-publisher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/collections-publisher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/collections-publisher/teams","hooks_url":"https://api.github.com/repos/alphagov/collections-publisher/hooks","issue_events_url":"https://api.github.com/repos/alphagov/collections-publisher/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/collections-publisher/events","assignees_url":"https://api.github.com/repos/alphagov/collections-publisher/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/collections-publisher/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/collections-publisher/tags","blobs_url":"https://api.github.com/repos/alphagov/collections-publisher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/collections-publisher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/collections-publisher/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/collections-publisher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/collections-publisher/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/collections-publisher/languages","stargazers_url":"https://api.github.com/repos/alphagov/collections-publisher/stargazers","contributors_url":"https://api.github.com/repos/alphagov/collections-publisher/contributors","subscribers_url":"https://api.github.com/repos/alphagov/collections-publisher/subscribers","subscription_url":"https://api.github.com/repos/alphagov/collections-publisher/subscription","commits_url":"https://api.github.com/repos/alphagov/collections-publisher/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/collections-publisher/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/collections-publisher/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/collections-publisher/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/collections-publisher/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/collections-publisher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/collections-publisher/merges","archive_url":"https://api.github.com/repos/alphagov/collections-publisher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/collections-publisher/downloads","issues_url":"https://api.github.com/repos/alphagov/collections-publisher/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/collections-publisher/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/collections-publisher/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/collections-publisher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/collections-publisher/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/collections-publisher/releases{/id}","created_at":"2014-07-30T10:41:14Z","updated_at":"2015-06-10T11:09:13Z","pushed_at":"2015-06-11T12:44:07Z","git_url":"git://github.com/alphagov/collections-publisher.git","ssh_url":"git@github.com:alphagov/collections-publisher.git","clone_url":"https://github.com/alphagov/collections-publisher.git","svn_url":"https://github.com/alphagov/collections-publisher","homepage":"","size":1847,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"59701e229decbc7cda54f8f3b2da04a92dec883e","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":22423082,"name":"collections-publisher","full_name":"alphagov/collections-publisher","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/collections-publisher","description":"Collections Publisher publishes browse pages and topic pages.","fork":false,"url":"https://api.github.com/repos/alphagov/collections-publisher","forks_url":"https://api.github.com/repos/alphagov/collections-publisher/forks","keys_url":"https://api.github.com/repos/alphagov/collections-publisher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/collections-publisher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/collections-publisher/teams","hooks_url":"https://api.github.com/repos/alphagov/collections-publisher/hooks","issue_events_url":"https://api.github.com/repos/alphagov/collections-publisher/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/collections-publisher/events","assignees_url":"https://api.github.com/repos/alphagov/collections-publisher/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/collections-publisher/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/collections-publisher/tags","blobs_url":"https://api.github.com/repos/alphagov/collections-publisher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/collections-publisher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/collections-publisher/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/collections-publisher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/collections-publisher/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/collections-publisher/languages","stargazers_url":"https://api.github.com/repos/alphagov/collections-publisher/stargazers","contributors_url":"https://api.github.com/repos/alphagov/collections-publisher/contributors","subscribers_url":"https://api.github.com/repos/alphagov/collections-publisher/subscribers","subscription_url":"https://api.github.com/repos/alphagov/collections-publisher/subscription","commits_url":"https://api.github.com/repos/alphagov/collections-publisher/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/collections-publisher/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/collections-publisher/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/collections-publisher/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/collections-publisher/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/collections-publisher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/collections-publisher/merges","archive_url":"https://api.github.com/repos/alphagov/collections-publisher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/collections-publisher/downloads","issues_url":"https://api.github.com/repos/alphagov/collections-publisher/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/collections-publisher/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/collections-publisher/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/collections-publisher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/collections-publisher/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/collections-publisher/releases{/id}","created_at":"2014-07-30T10:41:14Z","updated_at":"2015-06-10T11:09:13Z","pushed_at":"2015-06-11T12:44:07Z","git_url":"git://github.com/alphagov/collections-publisher.git","ssh_url":"git@github.com:alphagov/collections-publisher.git","clone_url":"https://github.com/alphagov/collections-publisher.git","svn_url":"https://github.com/alphagov/collections-publisher","homepage":"","size":1847,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/collections-publisher/pulls/85"},"html":{"href":"https://github.com/alphagov/collections-publisher/pull/85"},"issue":{"href":"https://api.github.com/repos/alphagov/collections-publisher/issues/85"},"comments":{"href":"https://api.github.com/repos/alphagov/collections-publisher/issues/85/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/collections-publisher/pulls/85/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/collections-publisher/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/collections-publisher/pulls/85/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/collections-publisher/statuses/4ef9a25e1c50ad81c8e98f87f757438e601449ee"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":28,"deletions":8,"changed_files":5}}