{"action":"created","comment":{"url":"https://api.github.com/repos/sulu/sulu/pulls/comments/142671476","pull_request_review_id":67065111,"id":142671476,"diff_hunk":"@@ -5,20 +5,25 @@ import Loader from '../../components/Loader';\n import Pagination from '../../components/Pagination';\n import DatagridStore from './stores/DatagridStore';\n import datagridStyles from './datagrid.scss';\n-import TableAdapter from './adapters/TableAdapter';\n+import adapterStore from './stores/AdapterStore';\n \n type Props = {\n-    onRowEditClick?: (rowId: string | number) => void,\n+    onItemClick?: (rowId: string | number) => void,","path":"src/Sulu/Bundle/AdminBundle/Resources/js/containers/Datagrid/Datagrid.js","position":9,"original_position":9,"commit_id":"976461a6d631e0341ff480fbd50b174351589c64","original_commit_id":"976461a6d631e0341ff480fbd50b174351589c64","user":{"login":"3rfan","id":1698331,"avatar_url":"https://avatars1.githubusercontent.com/u/1698331?v=4","gravatar_id":"","url":"https://api.github.com/users/3rfan","html_url":"https://github.com/3rfan","followers_url":"https://api.github.com/users/3rfan/followers","following_url":"https://api.github.com/users/3rfan/following{/other_user}","gists_url":"https://api.github.com/users/3rfan/gists{/gist_id}","starred_url":"https://api.github.com/users/3rfan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3rfan/subscriptions","organizations_url":"https://api.github.com/users/3rfan/orgs","repos_url":"https://api.github.com/users/3rfan/repos","events_url":"https://api.github.com/users/3rfan/events{/privacy}","received_events_url":"https://api.github.com/users/3rfan/received_events","type":"User","site_admin":false},"body":"If you click on a folder you want to open it. Not necessarily edit it.","created_at":"2017-10-04T13:37:04Z","updated_at":"2017-10-04T13:37:04Z","html_url":"https://github.com/sulu/sulu/pull/3547#discussion_r142671476","pull_request_url":"https://api.github.com/repos/sulu/sulu/pulls/3547","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/sulu/sulu/pulls/comments/142671476"},"html":{"href":"https://github.com/sulu/sulu/pull/3547#discussion_r142671476"},"pull_request":{"href":"https://api.github.com/repos/sulu/sulu/pulls/3547"}},"in_reply_to_id":142655303},"pull_request":{"url":"https://api.github.com/repos/sulu/sulu/pulls/3547","id":144162868,"html_url":"https://github.com/sulu/sulu/pull/3547","diff_url":"https://github.com/sulu/sulu/pull/3547.diff","patch_url":"https://github.com/sulu/sulu/pull/3547.patch","issue_url":"https://api.github.com/repos/sulu/sulu/issues/3547","number":3547,"state":"open","locked":false,"title":"Added FolderAdapter","user":{"login":"3rfan","id":1698331,"avatar_url":"https://avatars1.githubusercontent.com/u/1698331?v=4","gravatar_id":"","url":"https://api.github.com/users/3rfan","html_url":"https://github.com/3rfan","followers_url":"https://api.github.com/users/3rfan/followers","following_url":"https://api.github.com/users/3rfan/following{/other_user}","gists_url":"https://api.github.com/users/3rfan/gists{/gist_id}","starred_url":"https://api.github.com/users/3rfan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3rfan/subscriptions","organizations_url":"https://api.github.com/users/3rfan/orgs","repos_url":"https://api.github.com/users/3rfan/repos","events_url":"https://api.github.com/users/3rfan/events{/privacy}","received_events_url":"https://api.github.com/users/3rfan/received_events","type":"User","site_admin":false},"body":"| Q | A\r\n| --- | ---\r\n| Bug fix? | no\r\n| New feature? | yes\r\n| BC breaks? | no\r\n| Deprecations? | no\r\n| Fixed tickets | fixes #issuenum\r\n| Related issues/PRs | https://github.com/sulu/sulu/pull/3502\r\n| License | MIT\r\n| Documentation PR | sulu/sulu-docs#prnum\r\n\r\n#### What's in this PR?\r\n\r\nA `FolderAdapter` for the `Datagrid` component and a functioning demo of it in the `MediaList` view.\r\n\r\n#### Why?\r\n\r\nMedia can be placed inside collections. These collections are represented by the `FolderList` component.\r\n\r\n","created_at":"2017-10-02T11:32:56Z","updated_at":"2017-10-04T13:37:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e1be80e3fc27a416e0bde9735e2674e348f47112","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/sulu/sulu/pulls/3547/commits","review_comments_url":"https://api.github.com/repos/sulu/sulu/pulls/3547/comments","review_comment_url":"https://api.github.com/repos/sulu/sulu/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sulu/sulu/issues/3547/comments","statuses_url":"https://api.github.com/repos/sulu/sulu/statuses/976461a6d631e0341ff480fbd50b174351589c64","head":{"label":"3rfan:feature/folder-adapter","ref":"feature/folder-adapter","sha":"976461a6d631e0341ff480fbd50b174351589c64","user":{"login":"3rfan","id":1698331,"avatar_url":"https://avatars1.githubusercontent.com/u/1698331?v=4","gravatar_id":"","url":"https://api.github.com/users/3rfan","html_url":"https://github.com/3rfan","followers_url":"https://api.github.com/users/3rfan/followers","following_url":"https://api.github.com/users/3rfan/following{/other_user}","gists_url":"https://api.github.com/users/3rfan/gists{/gist_id}","starred_url":"https://api.github.com/users/3rfan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3rfan/subscriptions","organizations_url":"https://api.github.com/users/3rfan/orgs","repos_url":"https://api.github.com/users/3rfan/repos","events_url":"https://api.github.com/users/3rfan/events{/privacy}","received_events_url":"https://api.github.com/users/3rfan/received_events","type":"User","site_admin":false},"repo":{"id":98991080,"name":"sulu","full_name":"3rfan/sulu","owner":{"login":"3rfan","id":1698331,"avatar_url":"https://avatars1.githubusercontent.com/u/1698331?v=4","gravatar_id":"","url":"https://api.github.com/users/3rfan","html_url":"https://github.com/3rfan","followers_url":"https://api.github.com/users/3rfan/followers","following_url":"https://api.github.com/users/3rfan/following{/other_user}","gists_url":"https://api.github.com/users/3rfan/gists{/gist_id}","starred_url":"https://api.github.com/users/3rfan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3rfan/subscriptions","organizations_url":"https://api.github.com/users/3rfan/orgs","repos_url":"https://api.github.com/users/3rfan/repos","events_url":"https://api.github.com/users/3rfan/events{/privacy}","received_events_url":"https://api.github.com/users/3rfan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/3rfan/sulu","description":"Sulu core bundles & components","fork":true,"url":"https://api.github.com/repos/3rfan/sulu","forks_url":"https://api.github.com/repos/3rfan/sulu/forks","keys_url":"https://api.github.com/repos/3rfan/sulu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/3rfan/sulu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/3rfan/sulu/teams","hooks_url":"https://api.github.com/repos/3rfan/sulu/hooks","issue_events_url":"https://api.github.com/repos/3rfan/sulu/issues/events{/number}","events_url":"https://api.github.com/repos/3rfan/sulu/events","assignees_url":"https://api.github.com/repos/3rfan/sulu/assignees{/user}","branches_url":"https://api.github.com/repos/3rfan/sulu/branches{/branch}","tags_url":"https://api.github.com/repos/3rfan/sulu/tags","blobs_url":"https://api.github.com/repos/3rfan/sulu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/3rfan/sulu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/3rfan/sulu/git/refs{/sha}","trees_url":"https://api.github.com/repos/3rfan/sulu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/3rfan/sulu/statuses/{sha}","languages_url":"https://api.github.com/repos/3rfan/sulu/languages","stargazers_url":"https://api.github.com/repos/3rfan/sulu/stargazers","contributors_url":"https://api.github.com/repos/3rfan/sulu/contributors","subscribers_url":"https://api.github.com/repos/3rfan/sulu/subscribers","subscription_url":"https://api.github.com/repos/3rfan/sulu/subscription","commits_url":"https://api.github.com/repos/3rfan/sulu/commits{/sha}","git_commits_url":"https://api.github.com/repos/3rfan/sulu/git/commits{/sha}","comments_url":"https://api.github.com/repos/3rfan/sulu/comments{/number}","issue_comment_url":"https://api.github.com/repos/3rfan/sulu/issues/comments{/number}","contents_url":"https://api.github.com/repos/3rfan/sulu/contents/{+path}","compare_url":"https://api.github.com/repos/3rfan/sulu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/3rfan/sulu/merges","archive_url":"https://api.github.com/repos/3rfan/sulu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/3rfan/sulu/downloads","issues_url":"https://api.github.com/repos/3rfan/sulu/issues{/number}","pulls_url":"https://api.github.com/repos/3rfan/sulu/pulls{/number}","milestones_url":"https://api.github.com/repos/3rfan/sulu/milestones{/number}","notifications_url":"https://api.github.com/repos/3rfan/sulu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/3rfan/sulu/labels{/name}","releases_url":"https://api.github.com/repos/3rfan/sulu/releases{/id}","deployments_url":"https://api.github.com/repos/3rfan/sulu/deployments","created_at":"2017-08-01T10:51:03Z","updated_at":"2017-08-01T10:51:12Z","pushed_at":"2017-10-04T12:40:37Z","git_url":"git://github.com/3rfan/sulu.git","ssh_url":"git@github.com:3rfan/sulu.git","clone_url":"https://github.com/3rfan/sulu.git","svn_url":"https://github.com/3rfan/sulu","homepage":"sulu.io","size":89492,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"sulu:develop","ref":"develop","sha":"3f23355631c3ec17799d30d0124b4b3ed1302d74","user":{"login":"sulu","id":5717006,"avatar_url":"https://avatars2.githubusercontent.com/u/5717006?v=4","gravatar_id":"","url":"https://api.github.com/users/sulu","html_url":"https://github.com/sulu","followers_url":"https://api.github.com/users/sulu/followers","following_url":"https://api.github.com/users/sulu/following{/other_user}","gists_url":"https://api.github.com/users/sulu/gists{/gist_id}","starred_url":"https://api.github.com/users/sulu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sulu/subscriptions","organizations_url":"https://api.github.com/users/sulu/orgs","repos_url":"https://api.github.com/users/sulu/repos","events_url":"https://api.github.com/users/sulu/events{/privacy}","received_events_url":"https://api.github.com/users/sulu/received_events","type":"Organization","site_admin":false},"repo":{"id":13678015,"name":"sulu","full_name":"sulu/sulu","owner":{"login":"sulu","id":5717006,"avatar_url":"https://avatars2.githubusercontent.com/u/5717006?v=4","gravatar_id":"","url":"https://api.github.com/users/sulu","html_url":"https://github.com/sulu","followers_url":"https://api.github.com/users/sulu/followers","following_url":"https://api.github.com/users/sulu/following{/other_user}","gists_url":"https://api.github.com/users/sulu/gists{/gist_id}","starred_url":"https://api.github.com/users/sulu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sulu/subscriptions","organizations_url":"https://api.github.com/users/sulu/orgs","repos_url":"https://api.github.com/users/sulu/repos","events_url":"https://api.github.com/users/sulu/events{/privacy}","received_events_url":"https://api.github.com/users/sulu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sulu/sulu","description":"Sulu core bundles & components","fork":false,"url":"https://api.github.com/repos/sulu/sulu","forks_url":"https://api.github.com/repos/sulu/sulu/forks","keys_url":"https://api.github.com/repos/sulu/sulu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sulu/sulu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sulu/sulu/teams","hooks_url":"https://api.github.com/repos/sulu/sulu/hooks","issue_events_url":"https://api.github.com/repos/sulu/sulu/issues/events{/number}","events_url":"https://api.github.com/repos/sulu/sulu/events","assignees_url":"https://api.github.com/repos/sulu/sulu/assignees{/user}","branches_url":"https://api.github.com/repos/sulu/sulu/branches{/branch}","tags_url":"https://api.github.com/repos/sulu/sulu/tags","blobs_url":"https://api.github.com/repos/sulu/sulu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sulu/sulu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sulu/sulu/git/refs{/sha}","trees_url":"https://api.github.com/repos/sulu/sulu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sulu/sulu/statuses/{sha}","languages_url":"https://api.github.com/repos/sulu/sulu/languages","stargazers_url":"https://api.github.com/repos/sulu/sulu/stargazers","contributors_url":"https://api.github.com/repos/sulu/sulu/contributors","subscribers_url":"https://api.github.com/repos/sulu/sulu/subscribers","subscription_url":"https://api.github.com/repos/sulu/sulu/subscription","commits_url":"https://api.github.com/repos/sulu/sulu/commits{/sha}","git_commits_url":"https://api.github.com/repos/sulu/sulu/git/commits{/sha}","comments_url":"https://api.github.com/repos/sulu/sulu/comments{/number}","issue_comment_url":"https://api.github.com/repos/sulu/sulu/issues/comments{/number}","contents_url":"https://api.github.com/repos/sulu/sulu/contents/{+path}","compare_url":"https://api.github.com/repos/sulu/sulu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sulu/sulu/merges","archive_url":"https://api.github.com/repos/sulu/sulu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sulu/sulu/downloads","issues_url":"https://api.github.com/repos/sulu/sulu/issues{/number}","pulls_url":"https://api.github.com/repos/sulu/sulu/pulls{/number}","milestones_url":"https://api.github.com/repos/sulu/sulu/milestones{/number}","notifications_url":"https://api.github.com/repos/sulu/sulu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sulu/sulu/labels{/name}","releases_url":"https://api.github.com/repos/sulu/sulu/releases{/id}","deployments_url":"https://api.github.com/repos/sulu/sulu/deployments","created_at":"2013-10-18T12:57:02Z","updated_at":"2017-10-02T06:06:54Z","pushed_at":"2017-10-04T12:40:39Z","git_url":"git://github.com/sulu/sulu.git","ssh_url":"git@github.com:sulu/sulu.git","clone_url":"https://github.com/sulu/sulu.git","svn_url":"https://github.com/sulu/sulu","homepage":"sulu.io","size":89421,"stargazers_count":219,"watchers_count":219,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":102,"mirror_url":null,"open_issues_count":476,"forks":102,"open_issues":476,"watchers":219,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/sulu/sulu/pulls/3547"},"html":{"href":"https://github.com/sulu/sulu/pull/3547"},"issue":{"href":"https://api.github.com/repos/sulu/sulu/issues/3547"},"comments":{"href":"https://api.github.com/repos/sulu/sulu/issues/3547/comments"},"review_comments":{"href":"https://api.github.com/repos/sulu/sulu/pulls/3547/comments"},"review_comment":{"href":"https://api.github.com/repos/sulu/sulu/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sulu/sulu/pulls/3547/commits"},"statuses":{"href":"https://api.github.com/repos/sulu/sulu/statuses/976461a6d631e0341ff480fbd50b174351589c64"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"3rfan"}}