{"action":"created","comment":{"url":"https://api.github.com/repos/NebulousLabs/Sia-UI/pulls/comments/84849807","pull_request_review_id":5599911,"id":84849807,"diff_hunk":"@@ -79,7 +79,9 @@ export const ls = (files, path) => {\n \t\t\ttype = 'directory'\n \t\t\tfilename = relativePath.split('/')[0]\n \t\t\tsiapath = Path.join(path, filename) + '/'\n-\t\t\tfilesize = ''\n+\t\t\tconst subfiles = files.filter((subfile) => subfile.siapath.indexOf(siapath) !== -1)","path":"plugins/Files/js/sagas/helpers.js","position":5,"original_position":5,"commit_id":"da16d917bd9aa2a953e79185b3d43adb8d6d73c4","original_commit_id":"da16d917bd9aa2a953e79185b3d43adb8d6d73c4","user":{"login":"johnathanhowell","id":8183920,"avatar_url":"https://avatars.githubusercontent.com/u/8183920?v=3","gravatar_id":"","url":"https://api.github.com/users/johnathanhowell","html_url":"https://github.com/johnathanhowell","followers_url":"https://api.github.com/users/johnathanhowell/followers","following_url":"https://api.github.com/users/johnathanhowell/following{/other_user}","gists_url":"https://api.github.com/users/johnathanhowell/gists{/gist_id}","starred_url":"https://api.github.com/users/johnathanhowell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnathanhowell/subscriptions","organizations_url":"https://api.github.com/users/johnathanhowell/orgs","repos_url":"https://api.github.com/users/johnathanhowell/repos","events_url":"https://api.github.com/users/johnathanhowell/events{/privacy}","received_events_url":"https://api.github.com/users/johnathanhowell/received_events","type":"User","site_admin":false},"body":"Ah, there's `string.includes()`","created_at":"2016-10-25T08:10:08Z","updated_at":"2016-10-25T08:10:08Z","html_url":"https://github.com/NebulousLabs/Sia-UI/pull/441#discussion_r84849807","pull_request_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/pulls/441","_links":{"self":{"href":"https://api.github.com/repos/NebulousLabs/Sia-UI/pulls/comments/84849807"},"html":{"href":"https://github.com/NebulousLabs/Sia-UI/pull/441#discussion_r84849807"},"pull_request":{"href":"https://api.github.com/repos/NebulousLabs/Sia-UI/pulls/441"}}},"pull_request":{"url":"https://api.github.com/repos/NebulousLabs/Sia-UI/pulls/441","id":90718587,"html_url":"https://github.com/NebulousLabs/Sia-UI/pull/441","diff_url":"https://github.com/NebulousLabs/Sia-UI/pull/441.diff","patch_url":"https://github.com/NebulousLabs/Sia-UI/pull/441.patch","issue_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/issues/441","number":441,"state":"open","locked":false,"title":"batched siafolder operations, better search, shift-click range selection","user":{"login":"johnathanhowell","id":8183920,"avatar_url":"https://avatars.githubusercontent.com/u/8183920?v=3","gravatar_id":"","url":"https://api.github.com/users/johnathanhowell","html_url":"https://github.com/johnathanhowell","followers_url":"https://api.github.com/users/johnathanhowell/followers","following_url":"https://api.github.com/users/johnathanhowell/following{/other_user}","gists_url":"https://api.github.com/users/johnathanhowell/gists{/gist_id}","starred_url":"https://api.github.com/users/johnathanhowell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnathanhowell/subscriptions","organizations_url":"https://api.github.com/users/johnathanhowell/orgs","repos_url":"https://api.github.com/users/johnathanhowell/repos","events_url":"https://api.github.com/users/johnathanhowell/events{/privacy}","received_events_url":"https://api.github.com/users/johnathanhowell/received_events","type":"User","site_admin":false},"body":"This PR implements batched sia folder operations (folder selection, deletion, and downloading), improves the search algorithm to only search files in the current directory, and adds range-selection using the shiftkey. In addition, users can now search for folders as well as see their aggregate size.\r\n\r\nNote that there is a backend update required in order to successfully download folders; there is a race condition with creating multiple downloaders in quick succession.\r\n\r\n","created_at":"2016-10-25T00:29:59Z","updated_at":"2016-10-25T08:10:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a5b0a78050d586acfd1e5be60b3b82946d23dae6","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/pulls/441/commits","review_comments_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/pulls/441/comments","review_comment_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/issues/441/comments","statuses_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/statuses/da16d917bd9aa2a953e79185b3d43adb8d6d73c4","head":{"label":"NebulousLabs:folder-selection","ref":"folder-selection","sha":"da16d917bd9aa2a953e79185b3d43adb8d6d73c4","user":{"login":"NebulousLabs","id":7471422,"avatar_url":"https://avatars.githubusercontent.com/u/7471422?v=3","gravatar_id":"","url":"https://api.github.com/users/NebulousLabs","html_url":"https://github.com/NebulousLabs","followers_url":"https://api.github.com/users/NebulousLabs/followers","following_url":"https://api.github.com/users/NebulousLabs/following{/other_user}","gists_url":"https://api.github.com/users/NebulousLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/NebulousLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NebulousLabs/subscriptions","organizations_url":"https://api.github.com/users/NebulousLabs/orgs","repos_url":"https://api.github.com/users/NebulousLabs/repos","events_url":"https://api.github.com/users/NebulousLabs/events{/privacy}","received_events_url":"https://api.github.com/users/NebulousLabs/received_events","type":"Organization","site_admin":false},"repo":{"id":35702241,"name":"Sia-UI","full_name":"NebulousLabs/Sia-UI","owner":{"login":"NebulousLabs","id":7471422,"avatar_url":"https://avatars.githubusercontent.com/u/7471422?v=3","gravatar_id":"","url":"https://api.github.com/users/NebulousLabs","html_url":"https://github.com/NebulousLabs","followers_url":"https://api.github.com/users/NebulousLabs/followers","following_url":"https://api.github.com/users/NebulousLabs/following{/other_user}","gists_url":"https://api.github.com/users/NebulousLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/NebulousLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NebulousLabs/subscriptions","organizations_url":"https://api.github.com/users/NebulousLabs/orgs","repos_url":"https://api.github.com/users/NebulousLabs/repos","events_url":"https://api.github.com/users/NebulousLabs/events{/privacy}","received_events_url":"https://api.github.com/users/NebulousLabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NebulousLabs/Sia-UI","description":"A Graphical Frontend for Sia - https://sia.tech","fork":false,"url":"https://api.github.com/repos/NebulousLabs/Sia-UI","forks_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/forks","keys_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/teams","hooks_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/hooks","issue_events_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/issues/events{/number}","events_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/events","assignees_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/assignees{/user}","branches_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/branches{/branch}","tags_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/tags","blobs_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/git/refs{/sha}","trees_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/statuses/{sha}","languages_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/languages","stargazers_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/stargazers","contributors_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/contributors","subscribers_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/subscribers","subscription_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/subscription","commits_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/commits{/sha}","git_commits_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/git/commits{/sha}","comments_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/comments{/number}","issue_comment_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/issues/comments{/number}","contents_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/contents/{+path}","compare_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/merges","archive_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/downloads","issues_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/issues{/number}","pulls_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/pulls{/number}","milestones_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/milestones{/number}","notifications_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/labels{/name}","releases_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/releases{/id}","deployments_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/deployments","created_at":"2015-05-15T23:48:43Z","updated_at":"2016-10-23T09:20:41Z","pushed_at":"2016-10-25T06:59:57Z","git_url":"git://github.com/NebulousLabs/Sia-UI.git","ssh_url":"git@github.com:NebulousLabs/Sia-UI.git","clone_url":"https://github.com/NebulousLabs/Sia-UI.git","svn_url":"https://github.com/NebulousLabs/Sia-UI","homepage":"","size":12635,"stargazers_count":112,"watchers_count":112,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":25,"forks":24,"open_issues":25,"watchers":112,"default_branch":"master"}},"base":{"label":"NebulousLabs:master","ref":"master","sha":"8d3d0a387bff177aba8bf72ca01c0a21d63c00a5","user":{"login":"NebulousLabs","id":7471422,"avatar_url":"https://avatars.githubusercontent.com/u/7471422?v=3","gravatar_id":"","url":"https://api.github.com/users/NebulousLabs","html_url":"https://github.com/NebulousLabs","followers_url":"https://api.github.com/users/NebulousLabs/followers","following_url":"https://api.github.com/users/NebulousLabs/following{/other_user}","gists_url":"https://api.github.com/users/NebulousLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/NebulousLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NebulousLabs/subscriptions","organizations_url":"https://api.github.com/users/NebulousLabs/orgs","repos_url":"https://api.github.com/users/NebulousLabs/repos","events_url":"https://api.github.com/users/NebulousLabs/events{/privacy}","received_events_url":"https://api.github.com/users/NebulousLabs/received_events","type":"Organization","site_admin":false},"repo":{"id":35702241,"name":"Sia-UI","full_name":"NebulousLabs/Sia-UI","owner":{"login":"NebulousLabs","id":7471422,"avatar_url":"https://avatars.githubusercontent.com/u/7471422?v=3","gravatar_id":"","url":"https://api.github.com/users/NebulousLabs","html_url":"https://github.com/NebulousLabs","followers_url":"https://api.github.com/users/NebulousLabs/followers","following_url":"https://api.github.com/users/NebulousLabs/following{/other_user}","gists_url":"https://api.github.com/users/NebulousLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/NebulousLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NebulousLabs/subscriptions","organizations_url":"https://api.github.com/users/NebulousLabs/orgs","repos_url":"https://api.github.com/users/NebulousLabs/repos","events_url":"https://api.github.com/users/NebulousLabs/events{/privacy}","received_events_url":"https://api.github.com/users/NebulousLabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NebulousLabs/Sia-UI","description":"A Graphical Frontend for Sia - https://sia.tech","fork":false,"url":"https://api.github.com/repos/NebulousLabs/Sia-UI","forks_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/forks","keys_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/teams","hooks_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/hooks","issue_events_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/issues/events{/number}","events_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/events","assignees_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/assignees{/user}","branches_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/branches{/branch}","tags_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/tags","blobs_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/git/refs{/sha}","trees_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/statuses/{sha}","languages_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/languages","stargazers_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/stargazers","contributors_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/contributors","subscribers_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/subscribers","subscription_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/subscription","commits_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/commits{/sha}","git_commits_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/git/commits{/sha}","comments_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/comments{/number}","issue_comment_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/issues/comments{/number}","contents_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/contents/{+path}","compare_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/merges","archive_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/downloads","issues_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/issues{/number}","pulls_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/pulls{/number}","milestones_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/milestones{/number}","notifications_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/labels{/name}","releases_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/releases{/id}","deployments_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/deployments","created_at":"2015-05-15T23:48:43Z","updated_at":"2016-10-23T09:20:41Z","pushed_at":"2016-10-25T06:59:57Z","git_url":"git://github.com/NebulousLabs/Sia-UI.git","ssh_url":"git@github.com:NebulousLabs/Sia-UI.git","clone_url":"https://github.com/NebulousLabs/Sia-UI.git","svn_url":"https://github.com/NebulousLabs/Sia-UI","homepage":"","size":12635,"stargazers_count":112,"watchers_count":112,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":25,"forks":24,"open_issues":25,"watchers":112,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NebulousLabs/Sia-UI/pulls/441"},"html":{"href":"https://github.com/NebulousLabs/Sia-UI/pull/441"},"issue":{"href":"https://api.github.com/repos/NebulousLabs/Sia-UI/issues/441"},"comments":{"href":"https://api.github.com/repos/NebulousLabs/Sia-UI/issues/441/comments"},"review_comments":{"href":"https://api.github.com/repos/NebulousLabs/Sia-UI/pulls/441/comments"},"review_comment":{"href":"https://api.github.com/repos/NebulousLabs/Sia-UI/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NebulousLabs/Sia-UI/pulls/441/commits"},"statuses":{"href":"https://api.github.com/repos/NebulousLabs/Sia-UI/statuses/da16d917bd9aa2a953e79185b3d43adb8d6d73c4"}}}}
{"actor":{"display_login":"johnathanhowell"}}