{"action":"created","comment":{"url":"https://api.github.com/repos/girder/girder/pulls/comments/126510138","pull_request_review_id":49001359,"id":126510138,"diff_hunk":"@@ -61,6 +63,22 @@ ItemView.prototype.events['click .g-configure-item-task'] = function () {\n     this.configureTaskDialog.render();\n };\n \n+// \"Select Task\" button in Actions drop down menu\n+import SelectTaskView from './views/SelectTaskView';\n+ItemView.prototype.events['click a.g-select-item-task'] = function (e) {\n+    new SelectTaskView({\n+        el: $('#g-dialog-container'),\n+        parentView: this,\n+        item: this.model\n+    }).once('g:selected', function (params) {\n+        console.log('navigating after selected');","path":"plugins/item_tasks/web_client/main.js","position":28,"original_position":28,"commit_id":"8d0d3aa8ae81605456f250a9c5c9eba1d13110f1","original_commit_id":"8d0d3aa8ae81605456f250a9c5c9eba1d13110f1","user":{"login":"brianhelba","id":1282879,"avatar_url":"https://avatars2.githubusercontent.com/u/1282879?v=3","gravatar_id":"","url":"https://api.github.com/users/brianhelba","html_url":"https://github.com/brianhelba","followers_url":"https://api.github.com/users/brianhelba/followers","following_url":"https://api.github.com/users/brianhelba/following{/other_user}","gists_url":"https://api.github.com/users/brianhelba/gists{/gist_id}","starred_url":"https://api.github.com/users/brianhelba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianhelba/subscriptions","organizations_url":"https://api.github.com/users/brianhelba/orgs","repos_url":"https://api.github.com/users/brianhelba/repos","events_url":"https://api.github.com/users/brianhelba/events{/privacy}","received_events_url":"https://api.github.com/users/brianhelba/received_events","type":"User","site_admin":false},"body":"Remove this debug statement.","created_at":"2017-07-10T19:08:48Z","updated_at":"2017-07-10T19:08:48Z","html_url":"https://github.com/girder/girder/pull/2170#discussion_r126510138","pull_request_url":"https://api.github.com/repos/girder/girder/pulls/2170","_links":{"self":{"href":"https://api.github.com/repos/girder/girder/pulls/comments/126510138"},"html":{"href":"https://github.com/girder/girder/pull/2170#discussion_r126510138"},"pull_request":{"href":"https://api.github.com/repos/girder/girder/pulls/2170"}}},"pull_request":{"url":"https://api.github.com/repos/girder/girder/pulls/2170","id":129270686,"html_url":"https://github.com/girder/girder/pull/2170","diff_url":"https://github.com/girder/girder/pull/2170.diff","patch_url":"https://github.com/girder/girder/pull/2170.patch","issue_url":"https://api.github.com/repos/girder/girder/issues/2170","number":2170,"state":"open","locked":false,"title":"Item task end-user improvements","user":{"login":"sutartmelson","id":7495148,"avatar_url":"https://avatars1.githubusercontent.com/u/7495148?v=3","gravatar_id":"","url":"https://api.github.com/users/sutartmelson","html_url":"https://github.com/sutartmelson","followers_url":"https://api.github.com/users/sutartmelson/followers","following_url":"https://api.github.com/users/sutartmelson/following{/other_user}","gists_url":"https://api.github.com/users/sutartmelson/gists{/gist_id}","starred_url":"https://api.github.com/users/sutartmelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sutartmelson/subscriptions","organizations_url":"https://api.github.com/users/sutartmelson/orgs","repos_url":"https://api.github.com/users/sutartmelson/repos","events_url":"https://api.github.com/users/sutartmelson/events{/privacy}","received_events_url":"https://api.github.com/users/sutartmelson/received_events","type":"User","site_admin":false},"body":"This PR aims to a reduce the number of clicks required to run a task on a specific file. This is mostly a proof of concept right now but I wanted some feedback before investing too much time into the specifics. \r\n\r\nHow it works:\r\n\r\n- The user navigates to the item page\r\n- Under the Actions menu, the user selects \"Select Task\"\r\n- A modal appears where the user searches for a specific item task, then clicks \"Configure\"\r\n- That takes the user to the specified tasks configuration page with the selected item pre-filled in the file input  \r\n\r\nIt's currently designed to work with tasks that have a single item input. When the user selects \"Select task\" on the item page, a modal appears where an item is searched for. As it is now, that item isn't checked to be a task. \r\n\r\n![opt](https://user-images.githubusercontent.com/7495148/27928181-2ffbe542-625c-11e7-8950-d5e2d8dae6bf.gif)\r\n\r\nWhat needs to be done.\r\n\r\n1. Create an intuitive way for the user to browse and select valid item tasks and relevant error \r\nchecking.\r\n2. Client-side testing. \r\n\r\n@jeffbaumes  , @brianhelba Take a look and let me know if this is what you had in mind. ","created_at":"2017-07-06T20:10:53Z","updated_at":"2017-07-10T19:08:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"07ee14956ae014ae5ae905326d2271c58ce4b64e","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/girder/girder/pulls/2170/commits","review_comments_url":"https://api.github.com/repos/girder/girder/pulls/2170/comments","review_comment_url":"https://api.github.com/repos/girder/girder/pulls/comments{/number}","comments_url":"https://api.github.com/repos/girder/girder/issues/2170/comments","statuses_url":"https://api.github.com/repos/girder/girder/statuses/8d0d3aa8ae81605456f250a9c5c9eba1d13110f1","head":{"label":"girder:item-task-user-improvements","ref":"item-task-user-improvements","sha":"8d0d3aa8ae81605456f250a9c5c9eba1d13110f1","user":{"login":"girder","id":5150517,"avatar_url":"https://avatars1.githubusercontent.com/u/5150517?v=3","gravatar_id":"","url":"https://api.github.com/users/girder","html_url":"https://github.com/girder","followers_url":"https://api.github.com/users/girder/followers","following_url":"https://api.github.com/users/girder/following{/other_user}","gists_url":"https://api.github.com/users/girder/gists{/gist_id}","starred_url":"https://api.github.com/users/girder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/girder/subscriptions","organizations_url":"https://api.github.com/users/girder/orgs","repos_url":"https://api.github.com/users/girder/repos","events_url":"https://api.github.com/users/girder/events{/privacy}","received_events_url":"https://api.github.com/users/girder/received_events","type":"Organization","site_admin":false},"repo":{"id":11854950,"name":"girder","full_name":"girder/girder","owner":{"login":"girder","id":5150517,"avatar_url":"https://avatars1.githubusercontent.com/u/5150517?v=3","gravatar_id":"","url":"https://api.github.com/users/girder","html_url":"https://github.com/girder","followers_url":"https://api.github.com/users/girder/followers","following_url":"https://api.github.com/users/girder/following{/other_user}","gists_url":"https://api.github.com/users/girder/gists{/gist_id}","starred_url":"https://api.github.com/users/girder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/girder/subscriptions","organizations_url":"https://api.github.com/users/girder/orgs","repos_url":"https://api.github.com/users/girder/repos","events_url":"https://api.github.com/users/girder/events{/privacy}","received_events_url":"https://api.github.com/users/girder/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/girder/girder","description":"A data management platform for the web, developed by Kitware","fork":false,"url":"https://api.github.com/repos/girder/girder","forks_url":"https://api.github.com/repos/girder/girder/forks","keys_url":"https://api.github.com/repos/girder/girder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/girder/girder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/girder/girder/teams","hooks_url":"https://api.github.com/repos/girder/girder/hooks","issue_events_url":"https://api.github.com/repos/girder/girder/issues/events{/number}","events_url":"https://api.github.com/repos/girder/girder/events","assignees_url":"https://api.github.com/repos/girder/girder/assignees{/user}","branches_url":"https://api.github.com/repos/girder/girder/branches{/branch}","tags_url":"https://api.github.com/repos/girder/girder/tags","blobs_url":"https://api.github.com/repos/girder/girder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/girder/girder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/girder/girder/git/refs{/sha}","trees_url":"https://api.github.com/repos/girder/girder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/girder/girder/statuses/{sha}","languages_url":"https://api.github.com/repos/girder/girder/languages","stargazers_url":"https://api.github.com/repos/girder/girder/stargazers","contributors_url":"https://api.github.com/repos/girder/girder/contributors","subscribers_url":"https://api.github.com/repos/girder/girder/subscribers","subscription_url":"https://api.github.com/repos/girder/girder/subscription","commits_url":"https://api.github.com/repos/girder/girder/commits{/sha}","git_commits_url":"https://api.github.com/repos/girder/girder/git/commits{/sha}","comments_url":"https://api.github.com/repos/girder/girder/comments{/number}","issue_comment_url":"https://api.github.com/repos/girder/girder/issues/comments{/number}","contents_url":"https://api.github.com/repos/girder/girder/contents/{+path}","compare_url":"https://api.github.com/repos/girder/girder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/girder/girder/merges","archive_url":"https://api.github.com/repos/girder/girder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/girder/girder/downloads","issues_url":"https://api.github.com/repos/girder/girder/issues{/number}","pulls_url":"https://api.github.com/repos/girder/girder/pulls{/number}","milestones_url":"https://api.github.com/repos/girder/girder/milestones{/number}","notifications_url":"https://api.github.com/repos/girder/girder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/girder/girder/labels{/name}","releases_url":"https://api.github.com/repos/girder/girder/releases{/id}","deployments_url":"https://api.github.com/repos/girder/girder/deployments","created_at":"2013-08-02T23:55:54Z","updated_at":"2017-07-08T15:34:13Z","pushed_at":"2017-07-10T18:18:59Z","git_url":"git://github.com/girder/girder.git","ssh_url":"git@github.com:girder/girder.git","clone_url":"https://github.com/girder/girder.git","svn_url":"https://github.com/girder/girder","homepage":"http://girder.readthedocs.io","size":13093,"stargazers_count":134,"watchers_count":134,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":66,"mirror_url":null,"open_issues_count":211,"forks":66,"open_issues":211,"watchers":134,"default_branch":"master"}},"base":{"label":"girder:master","ref":"master","sha":"3d31ec53ee70c3bd17c205d447604bd3d6cbb496","user":{"login":"girder","id":5150517,"avatar_url":"https://avatars1.githubusercontent.com/u/5150517?v=3","gravatar_id":"","url":"https://api.github.com/users/girder","html_url":"https://github.com/girder","followers_url":"https://api.github.com/users/girder/followers","following_url":"https://api.github.com/users/girder/following{/other_user}","gists_url":"https://api.github.com/users/girder/gists{/gist_id}","starred_url":"https://api.github.com/users/girder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/girder/subscriptions","organizations_url":"https://api.github.com/users/girder/orgs","repos_url":"https://api.github.com/users/girder/repos","events_url":"https://api.github.com/users/girder/events{/privacy}","received_events_url":"https://api.github.com/users/girder/received_events","type":"Organization","site_admin":false},"repo":{"id":11854950,"name":"girder","full_name":"girder/girder","owner":{"login":"girder","id":5150517,"avatar_url":"https://avatars1.githubusercontent.com/u/5150517?v=3","gravatar_id":"","url":"https://api.github.com/users/girder","html_url":"https://github.com/girder","followers_url":"https://api.github.com/users/girder/followers","following_url":"https://api.github.com/users/girder/following{/other_user}","gists_url":"https://api.github.com/users/girder/gists{/gist_id}","starred_url":"https://api.github.com/users/girder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/girder/subscriptions","organizations_url":"https://api.github.com/users/girder/orgs","repos_url":"https://api.github.com/users/girder/repos","events_url":"https://api.github.com/users/girder/events{/privacy}","received_events_url":"https://api.github.com/users/girder/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/girder/girder","description":"A data management platform for the web, developed by Kitware","fork":false,"url":"https://api.github.com/repos/girder/girder","forks_url":"https://api.github.com/repos/girder/girder/forks","keys_url":"https://api.github.com/repos/girder/girder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/girder/girder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/girder/girder/teams","hooks_url":"https://api.github.com/repos/girder/girder/hooks","issue_events_url":"https://api.github.com/repos/girder/girder/issues/events{/number}","events_url":"https://api.github.com/repos/girder/girder/events","assignees_url":"https://api.github.com/repos/girder/girder/assignees{/user}","branches_url":"https://api.github.com/repos/girder/girder/branches{/branch}","tags_url":"https://api.github.com/repos/girder/girder/tags","blobs_url":"https://api.github.com/repos/girder/girder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/girder/girder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/girder/girder/git/refs{/sha}","trees_url":"https://api.github.com/repos/girder/girder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/girder/girder/statuses/{sha}","languages_url":"https://api.github.com/repos/girder/girder/languages","stargazers_url":"https://api.github.com/repos/girder/girder/stargazers","contributors_url":"https://api.github.com/repos/girder/girder/contributors","subscribers_url":"https://api.github.com/repos/girder/girder/subscribers","subscription_url":"https://api.github.com/repos/girder/girder/subscription","commits_url":"https://api.github.com/repos/girder/girder/commits{/sha}","git_commits_url":"https://api.github.com/repos/girder/girder/git/commits{/sha}","comments_url":"https://api.github.com/repos/girder/girder/comments{/number}","issue_comment_url":"https://api.github.com/repos/girder/girder/issues/comments{/number}","contents_url":"https://api.github.com/repos/girder/girder/contents/{+path}","compare_url":"https://api.github.com/repos/girder/girder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/girder/girder/merges","archive_url":"https://api.github.com/repos/girder/girder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/girder/girder/downloads","issues_url":"https://api.github.com/repos/girder/girder/issues{/number}","pulls_url":"https://api.github.com/repos/girder/girder/pulls{/number}","milestones_url":"https://api.github.com/repos/girder/girder/milestones{/number}","notifications_url":"https://api.github.com/repos/girder/girder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/girder/girder/labels{/name}","releases_url":"https://api.github.com/repos/girder/girder/releases{/id}","deployments_url":"https://api.github.com/repos/girder/girder/deployments","created_at":"2013-08-02T23:55:54Z","updated_at":"2017-07-08T15:34:13Z","pushed_at":"2017-07-10T18:18:59Z","git_url":"git://github.com/girder/girder.git","ssh_url":"git@github.com:girder/girder.git","clone_url":"https://github.com/girder/girder.git","svn_url":"https://github.com/girder/girder","homepage":"http://girder.readthedocs.io","size":13093,"stargazers_count":134,"watchers_count":134,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":66,"mirror_url":null,"open_issues_count":211,"forks":66,"open_issues":211,"watchers":134,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/girder/girder/pulls/2170"},"html":{"href":"https://github.com/girder/girder/pull/2170"},"issue":{"href":"https://api.github.com/repos/girder/girder/issues/2170"},"comments":{"href":"https://api.github.com/repos/girder/girder/issues/2170/comments"},"review_comments":{"href":"https://api.github.com/repos/girder/girder/pulls/2170/comments"},"review_comment":{"href":"https://api.github.com/repos/girder/girder/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/girder/girder/pulls/2170/commits"},"statuses":{"href":"https://api.github.com/repos/girder/girder/statuses/8d0d3aa8ae81605456f250a9c5c9eba1d13110f1"}}}}
{"actor":{"display_login":"brianhelba"}}