{"action":"created","comment":{"url":"https://api.github.com/repos/neos/neos-ui/pulls/comments/221554070","pull_request_review_id":160226424,"id":221554070,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMTU1NDA3MA==","diff_hunk":"@@ -327,6 +333,24 @@ public function changeBaseWorkspaceAction(string $targetWorkspaceName, NodeInter\n         $this->view->assign('value', $this->feedbackCollection);\n     }\n \n+    /**\n+     * Persists the clipboard state\n+     *\n+     * @param NodeInterface $clipboardSubject\n+     * @param string $clipboardMode\n+     * @return void\n+     */\n+    public function persistClipboardStateAction(NodeInterface $clipboardSubject, string $clipboardMode)","path":"Classes/Controller/BackendServiceController.php","position":24,"original_position":24,"commit_id":"9f49c12ffb8f05d043b625a1ac7bdf64bfc64583","original_commit_id":"9f49c12ffb8f05d043b625a1ac7bdf64bfc64583","user":{"login":"bwaidelich","id":307571,"node_id":"MDQ6VXNlcjMwNzU3MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/307571?v=4","gravatar_id":"","url":"https://api.github.com/users/bwaidelich","html_url":"https://github.com/bwaidelich","followers_url":"https://api.github.com/users/bwaidelich/followers","following_url":"https://api.github.com/users/bwaidelich/following{/other_user}","gists_url":"https://api.github.com/users/bwaidelich/gists{/gist_id}","starred_url":"https://api.github.com/users/bwaidelich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwaidelich/subscriptions","organizations_url":"https://api.github.com/users/bwaidelich/orgs","repos_url":"https://api.github.com/users/bwaidelich/repos","events_url":"https://api.github.com/users/bwaidelich/events{/privacy}","received_events_url":"https://api.github.com/users/bwaidelich/received_events","type":"User","site_admin":false},"body":"I'd suggest to get rid of the magic string and create two separate endpoints:\r\n```\r\npublic function copyNodeAction(NodeInterface $node)\r\n{\r\n    $this->clipboard->copyNode($node);\r\n}\r\n\r\npublic function cutNodeAction(NodeInterface $node)\r\n{\r\n    $this->clipboard-> cutNode($node);\r\n}\r\n```","created_at":"2018-10-01T10:01:46Z","updated_at":"2018-10-01T10:14:27Z","html_url":"https://github.com/neos/neos-ui/pull/2131#discussion_r221554070","pull_request_url":"https://api.github.com/repos/neos/neos-ui/pulls/2131","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/neos/neos-ui/pulls/comments/221554070"},"html":{"href":"https://github.com/neos/neos-ui/pull/2131#discussion_r221554070"},"pull_request":{"href":"https://api.github.com/repos/neos/neos-ui/pulls/2131"}}},"pull_request":{"url":"https://api.github.com/repos/neos/neos-ui/pulls/2131","id":215072438,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1MDcyNDM4","html_url":"https://github.com/neos/neos-ui/pull/2131","diff_url":"https://github.com/neos/neos-ui/pull/2131.diff","patch_url":"https://github.com/neos/neos-ui/pull/2131.patch","issue_url":"https://api.github.com/repos/neos/neos-ui/issues/2131","number":2131,"state":"open","locked":false,"title":"FEATURE: cross-site pasting of nodes","user":{"login":"dimaip","id":837032,"node_id":"MDQ6VXNlcjgzNzAzMg==","avatar_url":"https://avatars1.githubusercontent.com/u/837032?v=4","gravatar_id":"","url":"https://api.github.com/users/dimaip","html_url":"https://github.com/dimaip","followers_url":"https://api.github.com/users/dimaip/followers","following_url":"https://api.github.com/users/dimaip/following{/other_user}","gists_url":"https://api.github.com/users/dimaip/gists{/gist_id}","starred_url":"https://api.github.com/users/dimaip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimaip/subscriptions","organizations_url":"https://api.github.com/users/dimaip/orgs","repos_url":"https://api.github.com/users/dimaip/repos","events_url":"https://api.github.com/users/dimaip/events{/privacy}","received_events_url":"https://api.github.com/users/dimaip/received_events","type":"User","site_admin":false},"body":"Resolves: #2127\r\n\r\nThis change stores clipboard path into Flow's session storage.\r\nThis allows pasting nodes across sites.\r\n\r\nIn addition to this, on paste the clipboard doesn't get cleared. IMO this is actually how it should have worked in the first place: when you copy the node, you should be able to paste it multiple times (the way it works in a text editor).","created_at":"2018-09-12T19:37:47Z","updated_at":"2018-10-01T10:14:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6aad59ccc8cba15fc14476f896c52b9dec69ddde","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/neos/neos-ui/pulls/2131/commits","review_comments_url":"https://api.github.com/repos/neos/neos-ui/pulls/2131/comments","review_comment_url":"https://api.github.com/repos/neos/neos-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/neos/neos-ui/issues/2131/comments","statuses_url":"https://api.github.com/repos/neos/neos-ui/statuses/9f49c12ffb8f05d043b625a1ac7bdf64bfc64583","head":{"label":"dimaip:cross-site-paste","ref":"cross-site-paste","sha":"9f49c12ffb8f05d043b625a1ac7bdf64bfc64583","user":{"login":"dimaip","id":837032,"node_id":"MDQ6VXNlcjgzNzAzMg==","avatar_url":"https://avatars1.githubusercontent.com/u/837032?v=4","gravatar_id":"","url":"https://api.github.com/users/dimaip","html_url":"https://github.com/dimaip","followers_url":"https://api.github.com/users/dimaip/followers","following_url":"https://api.github.com/users/dimaip/following{/other_user}","gists_url":"https://api.github.com/users/dimaip/gists{/gist_id}","starred_url":"https://api.github.com/users/dimaip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimaip/subscriptions","organizations_url":"https://api.github.com/users/dimaip/orgs","repos_url":"https://api.github.com/users/dimaip/repos","events_url":"https://api.github.com/users/dimaip/events{/privacy}","received_events_url":"https://api.github.com/users/dimaip/received_events","type":"User","site_admin":false},"repo":{"id":62084012,"node_id":"MDEwOlJlcG9zaXRvcnk2MjA4NDAxMg==","name":"neos-ui","full_name":"dimaip/neos-ui","private":false,"owner":{"login":"dimaip","id":837032,"node_id":"MDQ6VXNlcjgzNzAzMg==","avatar_url":"https://avatars1.githubusercontent.com/u/837032?v=4","gravatar_id":"","url":"https://api.github.com/users/dimaip","html_url":"https://github.com/dimaip","followers_url":"https://api.github.com/users/dimaip/followers","following_url":"https://api.github.com/users/dimaip/following{/other_user}","gists_url":"https://api.github.com/users/dimaip/gists{/gist_id}","starred_url":"https://api.github.com/users/dimaip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimaip/subscriptions","organizations_url":"https://api.github.com/users/dimaip/orgs","repos_url":"https://api.github.com/users/dimaip/repos","events_url":"https://api.github.com/users/dimaip/events{/privacy}","received_events_url":"https://api.github.com/users/dimaip/received_events","type":"User","site_admin":false},"html_url":"https://github.com/dimaip/neos-ui","description":"Neos CMS UI written in ReactJS with Immutable data structures.","fork":true,"url":"https://api.github.com/repos/dimaip/neos-ui","forks_url":"https://api.github.com/repos/dimaip/neos-ui/forks","keys_url":"https://api.github.com/repos/dimaip/neos-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dimaip/neos-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dimaip/neos-ui/teams","hooks_url":"https://api.github.com/repos/dimaip/neos-ui/hooks","issue_events_url":"https://api.github.com/repos/dimaip/neos-ui/issues/events{/number}","events_url":"https://api.github.com/repos/dimaip/neos-ui/events","assignees_url":"https://api.github.com/repos/dimaip/neos-ui/assignees{/user}","branches_url":"https://api.github.com/repos/dimaip/neos-ui/branches{/branch}","tags_url":"https://api.github.com/repos/dimaip/neos-ui/tags","blobs_url":"https://api.github.com/repos/dimaip/neos-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dimaip/neos-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dimaip/neos-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/dimaip/neos-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dimaip/neos-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/dimaip/neos-ui/languages","stargazers_url":"https://api.github.com/repos/dimaip/neos-ui/stargazers","contributors_url":"https://api.github.com/repos/dimaip/neos-ui/contributors","subscribers_url":"https://api.github.com/repos/dimaip/neos-ui/subscribers","subscription_url":"https://api.github.com/repos/dimaip/neos-ui/subscription","commits_url":"https://api.github.com/repos/dimaip/neos-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/dimaip/neos-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/dimaip/neos-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/dimaip/neos-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/dimaip/neos-ui/contents/{+path}","compare_url":"https://api.github.com/repos/dimaip/neos-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dimaip/neos-ui/merges","archive_url":"https://api.github.com/repos/dimaip/neos-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dimaip/neos-ui/downloads","issues_url":"https://api.github.com/repos/dimaip/neos-ui/issues{/number}","pulls_url":"https://api.github.com/repos/dimaip/neos-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/dimaip/neos-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/dimaip/neos-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dimaip/neos-ui/labels{/name}","releases_url":"https://api.github.com/repos/dimaip/neos-ui/releases{/id}","deployments_url":"https://api.github.com/repos/dimaip/neos-ui/deployments","created_at":"2016-06-27T19:58:38Z","updated_at":"2017-10-20T15:34:07Z","pushed_at":"2018-09-26T17:39:02Z","git_url":"git://github.com/dimaip/neos-ui.git","ssh_url":"git@github.com:dimaip/neos-ui.git","clone_url":"https://github.com/dimaip/neos-ui.git","svn_url":"https://github.com/dimaip/neos-ui","homepage":"","size":21853,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"neos:master","ref":"master","sha":"f4f4dcb7ef406c3f2257b53bac66ba00fe752227","user":{"login":"neos","id":11575267,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNTc1MjY3","avatar_url":"https://avatars2.githubusercontent.com/u/11575267?v=4","gravatar_id":"","url":"https://api.github.com/users/neos","html_url":"https://github.com/neos","followers_url":"https://api.github.com/users/neos/followers","following_url":"https://api.github.com/users/neos/following{/other_user}","gists_url":"https://api.github.com/users/neos/gists{/gist_id}","starred_url":"https://api.github.com/users/neos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neos/subscriptions","organizations_url":"https://api.github.com/users/neos/orgs","repos_url":"https://api.github.com/users/neos/repos","events_url":"https://api.github.com/users/neos/events{/privacy}","received_events_url":"https://api.github.com/users/neos/received_events","type":"Organization","site_admin":false},"repo":{"id":47460181,"node_id":"MDEwOlJlcG9zaXRvcnk0NzQ2MDE4MQ==","name":"neos-ui","full_name":"neos/neos-ui","private":false,"owner":{"login":"neos","id":11575267,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNTc1MjY3","avatar_url":"https://avatars2.githubusercontent.com/u/11575267?v=4","gravatar_id":"","url":"https://api.github.com/users/neos","html_url":"https://github.com/neos","followers_url":"https://api.github.com/users/neos/followers","following_url":"https://api.github.com/users/neos/following{/other_user}","gists_url":"https://api.github.com/users/neos/gists{/gist_id}","starred_url":"https://api.github.com/users/neos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neos/subscriptions","organizations_url":"https://api.github.com/users/neos/orgs","repos_url":"https://api.github.com/users/neos/repos","events_url":"https://api.github.com/users/neos/events{/privacy}","received_events_url":"https://api.github.com/users/neos/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/neos/neos-ui","description":"Neos CMS UI written in ReactJS with Immutable data structures.","fork":false,"url":"https://api.github.com/repos/neos/neos-ui","forks_url":"https://api.github.com/repos/neos/neos-ui/forks","keys_url":"https://api.github.com/repos/neos/neos-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neos/neos-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neos/neos-ui/teams","hooks_url":"https://api.github.com/repos/neos/neos-ui/hooks","issue_events_url":"https://api.github.com/repos/neos/neos-ui/issues/events{/number}","events_url":"https://api.github.com/repos/neos/neos-ui/events","assignees_url":"https://api.github.com/repos/neos/neos-ui/assignees{/user}","branches_url":"https://api.github.com/repos/neos/neos-ui/branches{/branch}","tags_url":"https://api.github.com/repos/neos/neos-ui/tags","blobs_url":"https://api.github.com/repos/neos/neos-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neos/neos-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neos/neos-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/neos/neos-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neos/neos-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/neos/neos-ui/languages","stargazers_url":"https://api.github.com/repos/neos/neos-ui/stargazers","contributors_url":"https://api.github.com/repos/neos/neos-ui/contributors","subscribers_url":"https://api.github.com/repos/neos/neos-ui/subscribers","subscription_url":"https://api.github.com/repos/neos/neos-ui/subscription","commits_url":"https://api.github.com/repos/neos/neos-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/neos/neos-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/neos/neos-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/neos/neos-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/neos/neos-ui/contents/{+path}","compare_url":"https://api.github.com/repos/neos/neos-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neos/neos-ui/merges","archive_url":"https://api.github.com/repos/neos/neos-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neos/neos-ui/downloads","issues_url":"https://api.github.com/repos/neos/neos-ui/issues{/number}","pulls_url":"https://api.github.com/repos/neos/neos-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/neos/neos-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/neos/neos-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neos/neos-ui/labels{/name}","releases_url":"https://api.github.com/repos/neos/neos-ui/releases{/id}","deployments_url":"https://api.github.com/repos/neos/neos-ui/deployments","created_at":"2015-12-05T15:04:10Z","updated_at":"2018-09-27T21:57:47Z","pushed_at":"2018-09-27T21:57:44Z","git_url":"git://github.com/neos/neos-ui.git","ssh_url":"git@github.com:neos/neos-ui.git","clone_url":"https://github.com/neos/neos-ui.git","svn_url":"https://github.com/neos/neos-ui","homepage":"","size":21922,"stargazers_count":193,"watchers_count":193,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":82,"mirror_url":null,"archived":false,"open_issues_count":96,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":82,"open_issues":96,"watchers":193,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/neos/neos-ui/pulls/2131"},"html":{"href":"https://github.com/neos/neos-ui/pull/2131"},"issue":{"href":"https://api.github.com/repos/neos/neos-ui/issues/2131"},"comments":{"href":"https://api.github.com/repos/neos/neos-ui/issues/2131/comments"},"review_comments":{"href":"https://api.github.com/repos/neos/neos-ui/pulls/2131/comments"},"review_comment":{"href":"https://api.github.com/repos/neos/neos-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/neos/neos-ui/pulls/2131/commits"},"statuses":{"href":"https://api.github.com/repos/neos/neos-ui/statuses/9f49c12ffb8f05d043b625a1ac7bdf64bfc64583"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"bwaidelich"}}