{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/24854","repository_url":"https://api.github.com/repos/Automattic/wp-calypso","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/24854/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/24854/comments","events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/24854/events","html_url":"https://github.com/Automattic/wp-calypso/pull/24854","id":322925342,"number":24854,"title":"Activity Log: Replace Rewind buttons with Clone buttons when enableClone is set","user":{"login":"rcoll","id":5528445,"avatar_url":"https://avatars3.githubusercontent.com/u/5528445?v=4","gravatar_id":"","url":"https://api.github.com/users/rcoll","html_url":"https://github.com/rcoll","followers_url":"https://api.github.com/users/rcoll/followers","following_url":"https://api.github.com/users/rcoll/following{/other_user}","gists_url":"https://api.github.com/users/rcoll/gists{/gist_id}","starred_url":"https://api.github.com/users/rcoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcoll/subscriptions","organizations_url":"https://api.github.com/users/rcoll/orgs","repos_url":"https://api.github.com/users/rcoll/repos","events_url":"https://api.github.com/users/rcoll/events{/privacy}","received_events_url":"https://api.github.com/users/rcoll/received_events","type":"User","site_admin":false},"labels":[{"id":911535311,"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/Activity%20Log","name":"Activity Log","color":"83abef","default":false},{"id":611874987,"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/Activity/Rewind","name":"Activity/Rewind","color":"006b75","default":false},{"id":285010008,"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Pri]%20Normal","name":"[Pri] Normal","color":"f9d0c4","default":false},{"id":542899089,"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Size]%20M","name":"[Size] M","color":"8d478a","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},{"id":285009976,"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Type]%20Enhancement","name":"[Type] Enhancement","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":{"login":"rcoll","id":5528445,"avatar_url":"https://avatars3.githubusercontent.com/u/5528445?v=4","gravatar_id":"","url":"https://api.github.com/users/rcoll","html_url":"https://github.com/rcoll","followers_url":"https://api.github.com/users/rcoll/followers","following_url":"https://api.github.com/users/rcoll/following{/other_user}","gists_url":"https://api.github.com/users/rcoll/gists{/gist_id}","starred_url":"https://api.github.com/users/rcoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcoll/subscriptions","organizations_url":"https://api.github.com/users/rcoll/orgs","repos_url":"https://api.github.com/users/rcoll/repos","events_url":"https://api.github.com/users/rcoll/events{/privacy}","received_events_url":"https://api.github.com/users/rcoll/received_events","type":"User","site_admin":false},"assignees":[{"login":"rcoll","id":5528445,"avatar_url":"https://avatars3.githubusercontent.com/u/5528445?v=4","gravatar_id":"","url":"https://api.github.com/users/rcoll","html_url":"https://github.com/rcoll","followers_url":"https://api.github.com/users/rcoll/followers","following_url":"https://api.github.com/users/rcoll/following{/other_user}","gists_url":"https://api.github.com/users/rcoll/gists{/gist_id}","starred_url":"https://api.github.com/users/rcoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcoll/subscriptions","organizations_url":"https://api.github.com/users/rcoll/orgs","repos_url":"https://api.github.com/users/rcoll/repos","events_url":"https://api.github.com/users/rcoll/events{/privacy}","received_events_url":"https://api.github.com/users/rcoll/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-05-14T18:15:45Z","updated_at":"2018-05-18T15:54:03Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/24854","html_url":"https://github.com/Automattic/wp-calypso/pull/24854","diff_url":"https://github.com/Automattic/wp-calypso/pull/24854.diff","patch_url":"https://github.com/Automattic/wp-calypso/pull/24854.patch"},"body":"During the clone site flow, we need to alter the rewind buttons in the activity log so that they more clearly explain what they do. When the `enableClone` property of `ActivityLogItem` is set to `true`, we will replace the button and dropdown menu with a single \"Clone from here\" button. On click, these buttons will perform an action provided by the parent element and executed via `cloneOnClick` property.\r\n\r\nThis can be tested as part of https://github.com/Automattic/wp-calypso/pull/24741\r\n"},"comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments/390251482","html_url":"https://github.com/Automattic/wp-calypso/pull/24854#issuecomment-390251482","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/24854","id":390251482,"user":{"login":"rcoll","id":5528445,"avatar_url":"https://avatars3.githubusercontent.com/u/5528445?v=4","gravatar_id":"","url":"https://api.github.com/users/rcoll","html_url":"https://github.com/rcoll","followers_url":"https://api.github.com/users/rcoll/followers","following_url":"https://api.github.com/users/rcoll/following{/other_user}","gists_url":"https://api.github.com/users/rcoll/gists{/gist_id}","starred_url":"https://api.github.com/users/rcoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcoll/subscriptions","organizations_url":"https://api.github.com/users/rcoll/orgs","repos_url":"https://api.github.com/users/rcoll/repos","events_url":"https://api.github.com/users/rcoll/events{/privacy}","received_events_url":"https://api.github.com/users/rcoll/received_events","type":"User","site_admin":false},"created_at":"2018-05-18T15:54:03Z","updated_at":"2018-05-18T15:54:03Z","author_association":"MEMBER","body":"You can test this as part of https://github.com/Automattic/wp-calypso/pull/24741, it's copied directly from the full PR that utilizes it. See https://github.com/Automattic/wp-calypso/pull/24741/files#diff-4ce7b369c1b2178dccd0d7254269ffd1R107 for how it's used."}}
{"actor":{"display_login":"rcoll"}}