{"action":"closed","number":22111,"pull_request":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/22111","id":166910177,"html_url":"https://github.com/Automattic/wp-calypso/pull/22111","diff_url":"https://github.com/Automattic/wp-calypso/pull/22111.diff","patch_url":"https://github.com/Automattic/wp-calypso/pull/22111.patch","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/22111","number":22111,"state":"closed","locked":false,"title":"Invites: Add ability to clear/revoke invite to the details screen","user":{"login":"jonathansadowski","id":363749,"avatar_url":"https://avatars0.githubusercontent.com/u/363749?v=4","gravatar_id":"","url":"https://api.github.com/users/jonathansadowski","html_url":"https://github.com/jonathansadowski","followers_url":"https://api.github.com/users/jonathansadowski/followers","following_url":"https://api.github.com/users/jonathansadowski/following{/other_user}","gists_url":"https://api.github.com/users/jonathansadowski/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathansadowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathansadowski/subscriptions","organizations_url":"https://api.github.com/users/jonathansadowski/orgs","repos_url":"https://api.github.com/users/jonathansadowski/repos","events_url":"https://api.github.com/users/jonathansadowski/events{/privacy}","received_events_url":"https://api.github.com/users/jonathansadowski/received_events","type":"User","site_admin":false},"body":"This PR adds the ability to revoke pending invites and clear accepted invites from the invite details screen.\r\n\r\nRef: p3Ex-32O-p2\r\n\r\n**Pending/Revoke** | **Accepted/Clear**\r\n------------ | -------------\r\n<img width=\"734\" alt=\"pending-revoke\" src=\"https://user-images.githubusercontent.com/942359/36124839-ada4ef22-101f-11e8-8912-a74d988b2326.png\"> | <img width=\"733\" alt=\"accepted-clear\" src=\"https://user-images.githubusercontent.com/942359/36124847-b57c0fb4-101f-11e8-97e3-f6c3faf87504.png\">\r\n\r\n**To Test:**\r\n\r\n- Click on an accepted or pending invite from your invites list (`/people/invites/`)\r\n- On the invite details page, verify:\r\n - for a pending invite, \"Revoke\" button and messaging is available at the bottom of the screen\r\n - for an accepted invite, \"Clear\" button and messaging is available at the bottom of the screen\r\n- Clicking revoke/clear button should delete invite, return user to invites list, invite should no longer be in list, and success message should be shown\r\n","created_at":"2018-02-02T21:42:51Z","updated_at":"2018-02-14T16:47:09Z","closed_at":"2018-02-14T16:47:09Z","merged_at":"2018-02-14T16:47:09Z","merge_commit_sha":"0c7ec57f01d918ce8f69391d245987ed36e8c9d5","assignee":null,"assignees":[],"requested_reviewers":[{"login":"michaeldcain","id":942359,"avatar_url":"https://avatars3.githubusercontent.com/u/942359?v=4","gravatar_id":"","url":"https://api.github.com/users/michaeldcain","html_url":"https://github.com/michaeldcain","followers_url":"https://api.github.com/users/michaeldcain/followers","following_url":"https://api.github.com/users/michaeldcain/following{/other_user}","gists_url":"https://api.github.com/users/michaeldcain/gists{/gist_id}","starred_url":"https://api.github.com/users/michaeldcain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaeldcain/subscriptions","organizations_url":"https://api.github.com/users/michaeldcain/orgs","repos_url":"https://api.github.com/users/michaeldcain/repos","events_url":"https://api.github.com/users/michaeldcain/events{/privacy}","received_events_url":"https://api.github.com/users/michaeldcain/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":285010078,"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/People%20Management","name":"People Management","color":"006b75","default":false},{"id":285010018,"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Status]%20Needs%20Review","name":"[Status] Needs Review","color":"fbca04","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/22111/commits","review_comments_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/22111/comments","review_comment_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/22111/comments","statuses_url":"https://api.github.com/repos/Automattic/wp-calypso/statuses/f337292a1ed57ecdf7c078d342f1e05fd6648060","head":{"label":"Automattic:add/invites/revoke-clear","ref":"add/invites/revoke-clear","sha":"f337292a1ed57ecdf7c078d342f1e05fd6648060","user":{"login":"Automattic","id":887802,"avatar_url":"https://avatars1.githubusercontent.com/u/887802?v=4","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"repo":{"id":45936895,"name":"wp-calypso","full_name":"Automattic/wp-calypso","owner":{"login":"Automattic","id":887802,"avatar_url":"https://avatars1.githubusercontent.com/u/887802?v=4","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Automattic/wp-calypso","description":"The new JavaScript- and API-powered WordPress.com","fork":false,"url":"https://api.github.com/repos/Automattic/wp-calypso","forks_url":"https://api.github.com/repos/Automattic/wp-calypso/forks","keys_url":"https://api.github.com/repos/Automattic/wp-calypso/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Automattic/wp-calypso/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Automattic/wp-calypso/teams","hooks_url":"https://api.github.com/repos/Automattic/wp-calypso/hooks","issue_events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/events{/number}","events_url":"https://api.github.com/repos/Automattic/wp-calypso/events","assignees_url":"https://api.github.com/repos/Automattic/wp-calypso/assignees{/user}","branches_url":"https://api.github.com/repos/Automattic/wp-calypso/branches{/branch}","tags_url":"https://api.github.com/repos/Automattic/wp-calypso/tags","blobs_url":"https://api.github.com/repos/Automattic/wp-calypso/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Automattic/wp-calypso/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Automattic/wp-calypso/git/refs{/sha}","trees_url":"https://api.github.com/repos/Automattic/wp-calypso/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Automattic/wp-calypso/statuses/{sha}","languages_url":"https://api.github.com/repos/Automattic/wp-calypso/languages","stargazers_url":"https://api.github.com/repos/Automattic/wp-calypso/stargazers","contributors_url":"https://api.github.com/repos/Automattic/wp-calypso/contributors","subscribers_url":"https://api.github.com/repos/Automattic/wp-calypso/subscribers","subscription_url":"https://api.github.com/repos/Automattic/wp-calypso/subscription","commits_url":"https://api.github.com/repos/Automattic/wp-calypso/commits{/sha}","git_commits_url":"https://api.github.com/repos/Automattic/wp-calypso/git/commits{/sha}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/comments{/number}","issue_comment_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments{/number}","contents_url":"https://api.github.com/repos/Automattic/wp-calypso/contents/{+path}","compare_url":"https://api.github.com/repos/Automattic/wp-calypso/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Automattic/wp-calypso/merges","archive_url":"https://api.github.com/repos/Automattic/wp-calypso/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Automattic/wp-calypso/downloads","issues_url":"https://api.github.com/repos/Automattic/wp-calypso/issues{/number}","pulls_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls{/number}","milestones_url":"https://api.github.com/repos/Automattic/wp-calypso/milestones{/number}","notifications_url":"https://api.github.com/repos/Automattic/wp-calypso/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/labels{/name}","releases_url":"https://api.github.com/repos/Automattic/wp-calypso/releases{/id}","deployments_url":"https://api.github.com/repos/Automattic/wp-calypso/deployments","created_at":"2015-11-10T20:00:16Z","updated_at":"2018-02-14T13:42:21Z","pushed_at":"2018-02-14T16:47:09Z","git_url":"git://github.com/Automattic/wp-calypso.git","ssh_url":"git@github.com:Automattic/wp-calypso.git","clone_url":"https://github.com/Automattic/wp-calypso.git","svn_url":"https://github.com/Automattic/wp-calypso","homepage":"https://developer.wordpress.com/calypso/","size":77649,"stargazers_count":9714,"watchers_count":9714,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1349,"mirror_url":null,"archived":false,"open_issues_count":1478,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":1349,"open_issues":1478,"watchers":9714,"default_branch":"master"}},"base":{"label":"Automattic:master","ref":"master","sha":"616a07b51828fdca415bf59f8af536cc479e9551","user":{"login":"Automattic","id":887802,"avatar_url":"https://avatars1.githubusercontent.com/u/887802?v=4","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"repo":{"id":45936895,"name":"wp-calypso","full_name":"Automattic/wp-calypso","owner":{"login":"Automattic","id":887802,"avatar_url":"https://avatars1.githubusercontent.com/u/887802?v=4","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Automattic/wp-calypso","description":"The new JavaScript- and API-powered WordPress.com","fork":false,"url":"https://api.github.com/repos/Automattic/wp-calypso","forks_url":"https://api.github.com/repos/Automattic/wp-calypso/forks","keys_url":"https://api.github.com/repos/Automattic/wp-calypso/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Automattic/wp-calypso/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Automattic/wp-calypso/teams","hooks_url":"https://api.github.com/repos/Automattic/wp-calypso/hooks","issue_events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/events{/number}","events_url":"https://api.github.com/repos/Automattic/wp-calypso/events","assignees_url":"https://api.github.com/repos/Automattic/wp-calypso/assignees{/user}","branches_url":"https://api.github.com/repos/Automattic/wp-calypso/branches{/branch}","tags_url":"https://api.github.com/repos/Automattic/wp-calypso/tags","blobs_url":"https://api.github.com/repos/Automattic/wp-calypso/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Automattic/wp-calypso/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Automattic/wp-calypso/git/refs{/sha}","trees_url":"https://api.github.com/repos/Automattic/wp-calypso/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Automattic/wp-calypso/statuses/{sha}","languages_url":"https://api.github.com/repos/Automattic/wp-calypso/languages","stargazers_url":"https://api.github.com/repos/Automattic/wp-calypso/stargazers","contributors_url":"https://api.github.com/repos/Automattic/wp-calypso/contributors","subscribers_url":"https://api.github.com/repos/Automattic/wp-calypso/subscribers","subscription_url":"https://api.github.com/repos/Automattic/wp-calypso/subscription","commits_url":"https://api.github.com/repos/Automattic/wp-calypso/commits{/sha}","git_commits_url":"https://api.github.com/repos/Automattic/wp-calypso/git/commits{/sha}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/comments{/number}","issue_comment_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments{/number}","contents_url":"https://api.github.com/repos/Automattic/wp-calypso/contents/{+path}","compare_url":"https://api.github.com/repos/Automattic/wp-calypso/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Automattic/wp-calypso/merges","archive_url":"https://api.github.com/repos/Automattic/wp-calypso/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Automattic/wp-calypso/downloads","issues_url":"https://api.github.com/repos/Automattic/wp-calypso/issues{/number}","pulls_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls{/number}","milestones_url":"https://api.github.com/repos/Automattic/wp-calypso/milestones{/number}","notifications_url":"https://api.github.com/repos/Automattic/wp-calypso/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/labels{/name}","releases_url":"https://api.github.com/repos/Automattic/wp-calypso/releases{/id}","deployments_url":"https://api.github.com/repos/Automattic/wp-calypso/deployments","created_at":"2015-11-10T20:00:16Z","updated_at":"2018-02-14T13:42:21Z","pushed_at":"2018-02-14T16:47:09Z","git_url":"git://github.com/Automattic/wp-calypso.git","ssh_url":"git@github.com:Automattic/wp-calypso.git","clone_url":"https://github.com/Automattic/wp-calypso.git","svn_url":"https://github.com/Automattic/wp-calypso","homepage":"https://developer.wordpress.com/calypso/","size":77649,"stargazers_count":9714,"watchers_count":9714,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1349,"mirror_url":null,"archived":false,"open_issues_count":1478,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":1349,"open_issues":1478,"watchers":9714,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/22111"},"html":{"href":"https://github.com/Automattic/wp-calypso/pull/22111"},"issue":{"href":"https://api.github.com/repos/Automattic/wp-calypso/issues/22111"},"comments":{"href":"https://api.github.com/repos/Automattic/wp-calypso/issues/22111/comments"},"review_comments":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/22111/comments"},"review_comment":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/22111/commits"},"statuses":{"href":"https://api.github.com/repos/Automattic/wp-calypso/statuses/f337292a1ed57ecdf7c078d342f1e05fd6648060"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"jonathansadowski","id":363749,"avatar_url":"https://avatars0.githubusercontent.com/u/363749?v=4","gravatar_id":"","url":"https://api.github.com/users/jonathansadowski","html_url":"https://github.com/jonathansadowski","followers_url":"https://api.github.com/users/jonathansadowski/followers","following_url":"https://api.github.com/users/jonathansadowski/following{/other_user}","gists_url":"https://api.github.com/users/jonathansadowski/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathansadowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathansadowski/subscriptions","organizations_url":"https://api.github.com/users/jonathansadowski/orgs","repos_url":"https://api.github.com/users/jonathansadowski/repos","events_url":"https://api.github.com/users/jonathansadowski/events{/privacy}","received_events_url":"https://api.github.com/users/jonathansadowski/received_events","type":"User","site_admin":false},"comments":2,"review_comments":17,"maintainer_can_modify":false,"commits":27,"additions":635,"deletions":60,"changed_files":13}}
{"actor":{"display_login":"jonathansadowski"}}