{"action":"created","issue":{"url":"https://api.github.com/repos/atom/tree-view/issues/525","labels_url":"https://api.github.com/repos/atom/tree-view/issues/525/labels{/name}","comments_url":"https://api.github.com/repos/atom/tree-view/issues/525/comments","events_url":"https://api.github.com/repos/atom/tree-view/issues/525/events","html_url":"https://github.com/atom/tree-view/pull/525","id":95866366,"number":525,"title":"Allow reordering project folders via drag and drop","user":{"login":"forivall","id":760204,"avatar_url":"https://avatars.githubusercontent.com/u/760204?v=3","gravatar_id":"","url":"https://api.github.com/users/forivall","html_url":"https://github.com/forivall","followers_url":"https://api.github.com/users/forivall/followers","following_url":"https://api.github.com/users/forivall/following{/other_user}","gists_url":"https://api.github.com/users/forivall/gists{/gist_id}","starred_url":"https://api.github.com/users/forivall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forivall/subscriptions","organizations_url":"https://api.github.com/users/forivall/orgs","repos_url":"https://api.github.com/users/forivall/repos","events_url":"https://api.github.com/users/forivall/events{/privacy}","received_events_url":"https://api.github.com/users/forivall/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/atom/tree-view/labels/needs-review","name":"needs-review","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-18T23:02:17Z","updated_at":"2015-11-17T02:35:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/atom/tree-view/pulls/525","html_url":"https://github.com/atom/tree-view/pull/525","diff_url":"https://github.com/atom/tree-view/pull/525.diff","patch_url":"https://github.com/atom/tree-view/pull/525.patch"},"body":"This uses the same logic that moving tabs uses to reposition project folders within the tree view.\r\n\r\n![move-project-folders](http://i.imgur.com/bPgJOAh.gif)\r\n\r\n**NOTE:** Currently, this PR branch contains #565 -- #565 should be merged first, or I should rebase this and remove that merge.\r\n\r\n* [x] implement\r\n* [x] don't create horizontal scrolling when dragging (just watch the gif)\r\n* [x] add tests\r\n\r\nFuture additions:\r\n* reduce amount of duplicated code - needs coordination with tabs-view and drag-and-drop file moving\r\n* allow dragging in folders from the filesystem - needs electron support first, unfortunately. Or it's just broken in kwin."},"comment":{"url":"https://api.github.com/repos/atom/tree-view/issues/comments/157248937","html_url":"https://github.com/atom/tree-view/pull/525#issuecomment-157248937","issue_url":"https://api.github.com/repos/atom/tree-view/issues/525","id":157248937,"user":{"login":"50Wliu","id":2766036,"avatar_url":"https://avatars.githubusercontent.com/u/2766036?v=3","gravatar_id":"","url":"https://api.github.com/users/50Wliu","html_url":"https://github.com/50Wliu","followers_url":"https://api.github.com/users/50Wliu/followers","following_url":"https://api.github.com/users/50Wliu/following{/other_user}","gists_url":"https://api.github.com/users/50Wliu/gists{/gist_id}","starred_url":"https://api.github.com/users/50Wliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/50Wliu/subscriptions","organizations_url":"https://api.github.com/users/50Wliu/orgs","repos_url":"https://api.github.com/users/50Wliu/repos","events_url":"https://api.github.com/users/50Wliu/events{/privacy}","received_events_url":"https://api.github.com/users/50Wliu/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T02:35:37Z","updated_at":"2015-11-17T02:35:37Z","body":"Can you please rebase on top of master so that only the changes specific to this PR get displayed in the diff?  It gets confusing reviewing when there's changes from other, unrelated PRs."}}