{"action":"closed","number":28,"pull_request":{"url":"https://api.github.com/repos/intercom/intercom-wordpress/pulls/28","id":47147652,"html_url":"https://github.com/intercom/intercom-wordpress/pull/28","diff_url":"https://github.com/intercom/intercom-wordpress/pull/28.diff","patch_url":"https://github.com/intercom/intercom-wordpress/pull/28.patch","issue_url":"https://api.github.com/repos/intercom/intercom-wordpress/issues/28","number":28,"state":"closed","locked":false,"title":"UI improvements for WP plugin","user":{"login":"seanami","id":330111,"avatar_url":"https://avatars.githubusercontent.com/u/330111?v=3","gravatar_id":"","url":"https://api.github.com/users/seanami","html_url":"https://github.com/seanami","followers_url":"https://api.github.com/users/seanami/followers","following_url":"https://api.github.com/users/seanami/following{/other_user}","gists_url":"https://api.github.com/users/seanami/gists{/gist_id}","starred_url":"https://api.github.com/users/seanami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanami/subscriptions","organizations_url":"https://api.github.com/users/seanami/orgs","repos_url":"https://api.github.com/users/seanami/repos","events_url":"https://api.github.com/users/seanami/events{/privacy}","received_events_url":"https://api.github.com/users/seanami/received_events","type":"User","site_admin":false},"body":"This branch makes a few improvements to the Wordpress plugin UI, mostly to take better advantage of default WP admin styles.\r\n\r\n- Switch to standard HTML structure + CSS classnames for WP admin options screens\r\n- Hide the secret key behind a reveal link when it's not set, and use jQuery to reveal it (makes it clear that it's optional)\r\n- Adds a message using the standard WP dismissible message style when the app ID is saved. Helpfully, the WP admin includes JS that strips the `&saved=1` param from the URL immediately upon loading the page, so the URL stays nice-looking.\r\n- Adds an optional `appId` param to the Intercom plugin settings page that pre-populates the app ID field and displays a special message.\r\n\r\n<img width=\"1278\" alt=\"screen shot 2015-10-08 at 1 39 50 pm\" src=\"https://cloud.githubusercontent.com/assets/330111/10366490/bfc511d4-6dc2-11e5-8013-2c2529d122fe.png\">\r\n<img width=\"1280\" alt=\"screen shot 2015-10-08 at 1 40 02 pm\" src=\"https://cloud.githubusercontent.com/assets/330111/10366491/c288a2d2-6dc2-11e5-8c97-8a1d5611c166.png\">\r\n<img width=\"1280\" alt=\"screen shot 2015-10-08 at 1 40 17 pm\" src=\"https://cloud.githubusercontent.com/assets/330111/10366492/c3e7c8ce-6dc2-11e5-8349-59c5b3b73cb2.png\">\r\n<img width=\"1280\" alt=\"screen shot 2015-10-08 at 1 52 35 pm\" src=\"https://cloud.githubusercontent.com/assets/330111/10366739/47e481d4-6dc4-11e5-811a-b073bcef8882.png\">\r\n","created_at":"2015-10-08T12:45:02Z","updated_at":"2015-10-08T13:06:19Z","closed_at":"2015-10-08T13:06:19Z","merged_at":"2015-10-08T13:06:19Z","merge_commit_sha":"9a0e0283225d88520a306d19d34a4fb2bc835ac1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/intercom/intercom-wordpress/pulls/28/commits","review_comments_url":"https://api.github.com/repos/intercom/intercom-wordpress/pulls/28/comments","review_comment_url":"https://api.github.com/repos/intercom/intercom-wordpress/pulls/comments{/number}","comments_url":"https://api.github.com/repos/intercom/intercom-wordpress/issues/28/comments","statuses_url":"https://api.github.com/repos/intercom/intercom-wordpress/statuses/bff736f0ea3b2b3a7c01c3228805870bcbafbb48","head":{"label":"intercom:sm/ui-tweaks","ref":"sm/ui-tweaks","sha":"bff736f0ea3b2b3a7c01c3228805870bcbafbb48","user":{"login":"intercom","id":6585,"avatar_url":"https://avatars.githubusercontent.com/u/6585?v=3","gravatar_id":"","url":"https://api.github.com/users/intercom","html_url":"https://github.com/intercom","followers_url":"https://api.github.com/users/intercom/followers","following_url":"https://api.github.com/users/intercom/following{/other_user}","gists_url":"https://api.github.com/users/intercom/gists{/gist_id}","starred_url":"https://api.github.com/users/intercom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intercom/subscriptions","organizations_url":"https://api.github.com/users/intercom/orgs","repos_url":"https://api.github.com/users/intercom/repos","events_url":"https://api.github.com/users/intercom/events{/privacy}","received_events_url":"https://api.github.com/users/intercom/received_events","type":"Organization","site_admin":false},"repo":{"id":40178407,"name":"intercom-wordpress","full_name":"intercom/intercom-wordpress","owner":{"login":"intercom","id":6585,"avatar_url":"https://avatars.githubusercontent.com/u/6585?v=3","gravatar_id":"","url":"https://api.github.com/users/intercom","html_url":"https://github.com/intercom","followers_url":"https://api.github.com/users/intercom/followers","following_url":"https://api.github.com/users/intercom/following{/other_user}","gists_url":"https://api.github.com/users/intercom/gists{/gist_id}","starred_url":"https://api.github.com/users/intercom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intercom/subscriptions","organizations_url":"https://api.github.com/users/intercom/orgs","repos_url":"https://api.github.com/users/intercom/repos","events_url":"https://api.github.com/users/intercom/events{/privacy}","received_events_url":"https://api.github.com/users/intercom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/intercom/intercom-wordpress","description":"Intercom integration with Wordpress","fork":false,"url":"https://api.github.com/repos/intercom/intercom-wordpress","forks_url":"https://api.github.com/repos/intercom/intercom-wordpress/forks","keys_url":"https://api.github.com/repos/intercom/intercom-wordpress/keys{/key_id}","collaborators_url":"https://api.github.com/repos/intercom/intercom-wordpress/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/intercom/intercom-wordpress/teams","hooks_url":"https://api.github.com/repos/intercom/intercom-wordpress/hooks","issue_events_url":"https://api.github.com/repos/intercom/intercom-wordpress/issues/events{/number}","events_url":"https://api.github.com/repos/intercom/intercom-wordpress/events","assignees_url":"https://api.github.com/repos/intercom/intercom-wordpress/assignees{/user}","branches_url":"https://api.github.com/repos/intercom/intercom-wordpress/branches{/branch}","tags_url":"https://api.github.com/repos/intercom/intercom-wordpress/tags","blobs_url":"https://api.github.com/repos/intercom/intercom-wordpress/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/intercom/intercom-wordpress/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/intercom/intercom-wordpress/git/refs{/sha}","trees_url":"https://api.github.com/repos/intercom/intercom-wordpress/git/trees{/sha}","statuses_url":"https://api.github.com/repos/intercom/intercom-wordpress/statuses/{sha}","languages_url":"https://api.github.com/repos/intercom/intercom-wordpress/languages","stargazers_url":"https://api.github.com/repos/intercom/intercom-wordpress/stargazers","contributors_url":"https://api.github.com/repos/intercom/intercom-wordpress/contributors","subscribers_url":"https://api.github.com/repos/intercom/intercom-wordpress/subscribers","subscription_url":"https://api.github.com/repos/intercom/intercom-wordpress/subscription","commits_url":"https://api.github.com/repos/intercom/intercom-wordpress/commits{/sha}","git_commits_url":"https://api.github.com/repos/intercom/intercom-wordpress/git/commits{/sha}","comments_url":"https://api.github.com/repos/intercom/intercom-wordpress/comments{/number}","issue_comment_url":"https://api.github.com/repos/intercom/intercom-wordpress/issues/comments{/number}","contents_url":"https://api.github.com/repos/intercom/intercom-wordpress/contents/{+path}","compare_url":"https://api.github.com/repos/intercom/intercom-wordpress/compare/{base}...{head}","merges_url":"https://api.github.com/repos/intercom/intercom-wordpress/merges","archive_url":"https://api.github.com/repos/intercom/intercom-wordpress/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/intercom/intercom-wordpress/downloads","issues_url":"https://api.github.com/repos/intercom/intercom-wordpress/issues{/number}","pulls_url":"https://api.github.com/repos/intercom/intercom-wordpress/pulls{/number}","milestones_url":"https://api.github.com/repos/intercom/intercom-wordpress/milestones{/number}","notifications_url":"https://api.github.com/repos/intercom/intercom-wordpress/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/intercom/intercom-wordpress/labels{/name}","releases_url":"https://api.github.com/repos/intercom/intercom-wordpress/releases{/id}","created_at":"2015-08-04T10:28:54Z","updated_at":"2015-10-07T15:16:31Z","pushed_at":"2015-10-08T13:06:19Z","git_url":"git://github.com/intercom/intercom-wordpress.git","ssh_url":"git@github.com:intercom/intercom-wordpress.git","clone_url":"https://github.com/intercom/intercom-wordpress.git","svn_url":"https://github.com/intercom/intercom-wordpress","homepage":"","size":514,"stargazers_count":6,"watchers_count":6,"language":"PHP","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":6,"default_branch":"master"}},"base":{"label":"intercom:master","ref":"master","sha":"5e433bebe810806cd4aee06c1e28fefccc3138d4","user":{"login":"intercom","id":6585,"avatar_url":"https://avatars.githubusercontent.com/u/6585?v=3","gravatar_id":"","url":"https://api.github.com/users/intercom","html_url":"https://github.com/intercom","followers_url":"https://api.github.com/users/intercom/followers","following_url":"https://api.github.com/users/intercom/following{/other_user}","gists_url":"https://api.github.com/users/intercom/gists{/gist_id}","starred_url":"https://api.github.com/users/intercom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intercom/subscriptions","organizations_url":"https://api.github.com/users/intercom/orgs","repos_url":"https://api.github.com/users/intercom/repos","events_url":"https://api.github.com/users/intercom/events{/privacy}","received_events_url":"https://api.github.com/users/intercom/received_events","type":"Organization","site_admin":false},"repo":{"id":40178407,"name":"intercom-wordpress","full_name":"intercom/intercom-wordpress","owner":{"login":"intercom","id":6585,"avatar_url":"https://avatars.githubusercontent.com/u/6585?v=3","gravatar_id":"","url":"https://api.github.com/users/intercom","html_url":"https://github.com/intercom","followers_url":"https://api.github.com/users/intercom/followers","following_url":"https://api.github.com/users/intercom/following{/other_user}","gists_url":"https://api.github.com/users/intercom/gists{/gist_id}","starred_url":"https://api.github.com/users/intercom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intercom/subscriptions","organizations_url":"https://api.github.com/users/intercom/orgs","repos_url":"https://api.github.com/users/intercom/repos","events_url":"https://api.github.com/users/intercom/events{/privacy}","received_events_url":"https://api.github.com/users/intercom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/intercom/intercom-wordpress","description":"Intercom integration with Wordpress","fork":false,"url":"https://api.github.com/repos/intercom/intercom-wordpress","forks_url":"https://api.github.com/repos/intercom/intercom-wordpress/forks","keys_url":"https://api.github.com/repos/intercom/intercom-wordpress/keys{/key_id}","collaborators_url":"https://api.github.com/repos/intercom/intercom-wordpress/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/intercom/intercom-wordpress/teams","hooks_url":"https://api.github.com/repos/intercom/intercom-wordpress/hooks","issue_events_url":"https://api.github.com/repos/intercom/intercom-wordpress/issues/events{/number}","events_url":"https://api.github.com/repos/intercom/intercom-wordpress/events","assignees_url":"https://api.github.com/repos/intercom/intercom-wordpress/assignees{/user}","branches_url":"https://api.github.com/repos/intercom/intercom-wordpress/branches{/branch}","tags_url":"https://api.github.com/repos/intercom/intercom-wordpress/tags","blobs_url":"https://api.github.com/repos/intercom/intercom-wordpress/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/intercom/intercom-wordpress/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/intercom/intercom-wordpress/git/refs{/sha}","trees_url":"https://api.github.com/repos/intercom/intercom-wordpress/git/trees{/sha}","statuses_url":"https://api.github.com/repos/intercom/intercom-wordpress/statuses/{sha}","languages_url":"https://api.github.com/repos/intercom/intercom-wordpress/languages","stargazers_url":"https://api.github.com/repos/intercom/intercom-wordpress/stargazers","contributors_url":"https://api.github.com/repos/intercom/intercom-wordpress/contributors","subscribers_url":"https://api.github.com/repos/intercom/intercom-wordpress/subscribers","subscription_url":"https://api.github.com/repos/intercom/intercom-wordpress/subscription","commits_url":"https://api.github.com/repos/intercom/intercom-wordpress/commits{/sha}","git_commits_url":"https://api.github.com/repos/intercom/intercom-wordpress/git/commits{/sha}","comments_url":"https://api.github.com/repos/intercom/intercom-wordpress/comments{/number}","issue_comment_url":"https://api.github.com/repos/intercom/intercom-wordpress/issues/comments{/number}","contents_url":"https://api.github.com/repos/intercom/intercom-wordpress/contents/{+path}","compare_url":"https://api.github.com/repos/intercom/intercom-wordpress/compare/{base}...{head}","merges_url":"https://api.github.com/repos/intercom/intercom-wordpress/merges","archive_url":"https://api.github.com/repos/intercom/intercom-wordpress/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/intercom/intercom-wordpress/downloads","issues_url":"https://api.github.com/repos/intercom/intercom-wordpress/issues{/number}","pulls_url":"https://api.github.com/repos/intercom/intercom-wordpress/pulls{/number}","milestones_url":"https://api.github.com/repos/intercom/intercom-wordpress/milestones{/number}","notifications_url":"https://api.github.com/repos/intercom/intercom-wordpress/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/intercom/intercom-wordpress/labels{/name}","releases_url":"https://api.github.com/repos/intercom/intercom-wordpress/releases{/id}","created_at":"2015-08-04T10:28:54Z","updated_at":"2015-10-07T15:16:31Z","pushed_at":"2015-10-08T13:06:19Z","git_url":"git://github.com/intercom/intercom-wordpress.git","ssh_url":"git@github.com:intercom/intercom-wordpress.git","clone_url":"https://github.com/intercom/intercom-wordpress.git","svn_url":"https://github.com/intercom/intercom-wordpress","homepage":"","size":514,"stargazers_count":6,"watchers_count":6,"language":"PHP","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":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/intercom/intercom-wordpress/pulls/28"},"html":{"href":"https://github.com/intercom/intercom-wordpress/pull/28"},"issue":{"href":"https://api.github.com/repos/intercom/intercom-wordpress/issues/28"},"comments":{"href":"https://api.github.com/repos/intercom/intercom-wordpress/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/intercom/intercom-wordpress/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/intercom/intercom-wordpress/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/intercom/intercom-wordpress/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/intercom/intercom-wordpress/statuses/bff736f0ea3b2b3a7c01c3228805870bcbafbb48"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"bobjflong","id":2264896,"avatar_url":"https://avatars.githubusercontent.com/u/2264896?v=3","gravatar_id":"","url":"https://api.github.com/users/bobjflong","html_url":"https://github.com/bobjflong","followers_url":"https://api.github.com/users/bobjflong/followers","following_url":"https://api.github.com/users/bobjflong/following{/other_user}","gists_url":"https://api.github.com/users/bobjflong/gists{/gist_id}","starred_url":"https://api.github.com/users/bobjflong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobjflong/subscriptions","organizations_url":"https://api.github.com/users/bobjflong/orgs","repos_url":"https://api.github.com/users/bobjflong/repos","events_url":"https://api.github.com/users/bobjflong/events{/privacy}","received_events_url":"https://api.github.com/users/bobjflong/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":3,"additions":37,"deletions":81,"changed_files":3}}