{"action":"created","comment":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/comments/29793115","id":29793115,"diff_hunk":"@@ -38,6 +38,23 @@ $.extend(EXTENSION_MAP, {\n     gsheet: 'xlsx'\n });\n \n+var _defaultIconState = function () {\n+    return {\n+        mode : 'bar',\n+        generalIcons : {\n+            search : { on : true, template : searchIcon },","path":"website/static/js/fangorn.js","position":8,"original_position":8,"commit_id":"a88df8746fca30f67f8e67615848829c9167b957","original_commit_id":"a88df8746fca30f67f8e67615848829c9167b957","user":{"login":"caneruguz","id":1314003,"avatar_url":"https://avatars.githubusercontent.com/u/1314003?v=3","gravatar_id":"","url":"https://api.github.com/users/caneruguz","html_url":"https://github.com/caneruguz","followers_url":"https://api.github.com/users/caneruguz/followers","following_url":"https://api.github.com/users/caneruguz/following{/other_user}","gists_url":"https://api.github.com/users/caneruguz/gists{/gist_id}","starred_url":"https://api.github.com/users/caneruguz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caneruguz/subscriptions","organizations_url":"https://api.github.com/users/caneruguz/orgs","repos_url":"https://api.github.com/users/caneruguz/repos","events_url":"https://api.github.com/users/caneruguz/events{/privacy}","received_events_url":"https://api.github.com/users/caneruguz/received_events","type":"User","site_admin":false},"body":"No they are atttached to \r\n```js\r\ntreebeard.options.iconState.generalIcons\r\n```\r\n\r\nthe default state is a method to not manually replicate the initial state so there is a function that returns it, but theoretically it can be placed in other places. ","created_at":"2015-05-06T19:30:34Z","updated_at":"2015-05-06T19:30:34Z","html_url":"https://github.com/CenterForOpenScience/osf.io/pull/2606#discussion_r29793115","pull_request_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/2606","_links":{"self":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/comments/29793115"},"html":{"href":"https://github.com/CenterForOpenScience/osf.io/pull/2606#discussion_r29793115"},"pull_request":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/2606"}}},"pull_request":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/2606","id":34403366,"html_url":"https://github.com/CenterForOpenScience/osf.io/pull/2606","diff_url":"https://github.com/CenterForOpenScience/osf.io/pull/2606.diff","patch_url":"https://github.com/CenterForOpenScience/osf.io/pull/2606.patch","issue_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/2606","number":2606,"state":"open","locked":false,"title":"[Ready for Review] [Feature] unified toolbar for Files and Project Organizer - 2 ","user":{"login":"caneruguz","id":1314003,"avatar_url":"https://avatars.githubusercontent.com/u/1314003?v=3","gravatar_id":"","url":"https://api.github.com/users/caneruguz","html_url":"https://github.com/caneruguz","followers_url":"https://api.github.com/users/caneruguz/followers","following_url":"https://api.github.com/users/caneruguz/following{/other_user}","gists_url":"https://api.github.com/users/caneruguz/gists{/gist_id}","starred_url":"https://api.github.com/users/caneruguz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caneruguz/subscriptions","organizations_url":"https://api.github.com/users/caneruguz/orgs","repos_url":"https://api.github.com/users/caneruguz/repos","events_url":"https://api.github.com/users/caneruguz/events{/privacy}","received_events_url":"https://api.github.com/users/caneruguz/received_events","type":"User","site_admin":false},"body":"## Purpose\r\nRelated to the issue in discussion #2282 and several other issues and requests. The goal is to create a unified look and logic for the way row specific actions happen in Treebeard variations. Specific Goals\r\n- Files page: Carry over action column to a toolbar\r\n- Project Organizer: Unite toolbar look and layout with Files\r\n- Add multiselect to Files page\r\n- Delete Multiple files within files page - #1220 \r\n- Cancel All Uploads or individual uploads - #1688 \r\n- Unify the color scheme to be consistent - #1693 \r\n\r\n## Changes\r\n- Files page has action column removed, instead has a toolbar with contextual buttons showing up\r\n- Project organizer code is refactored to turn its toolbar from a mako/js to Treebeard toolbar\r\n- Delete multiselect feature is added \r\n- Cancel uploads feature is added. \r\n- Add folder is adapted for the new ui\r\n- treebeard Modals are unified to look and function the same\r\n\r\n## Side Effects\r\n- Potential side effects to Project Organizer functions resulting from button clicks; so PO needs to be tested. Multiselect should also not affect any single select behaviors, so that needs to be tested as well. \r\n- There are ui and event based changes so cross browser testing is needed. \r\n- This might be unintentionally fixing existing issues caused by action column or treebeard related things, so combing through issues for those would be useful after it goes to production.  ","created_at":"2015-04-29T20:37:25Z","updated_at":"2015-05-06T19:30:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"66302f5c9eb61abd3c68bb65ffd5f5e43c34b865","assignee":null,"milestone":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/milestones/33","html_url":"https://github.com/CenterForOpenScience/osf.io/milestones/0.36.0","labels_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/milestones/33/labels","id":1091628,"number":33,"title":"0.36.0","description":"","creator":{"login":"sloria","id":2379650,"avatar_url":"https://avatars.githubusercontent.com/u/2379650?v=3","gravatar_id":"","url":"https://api.github.com/users/sloria","html_url":"https://github.com/sloria","followers_url":"https://api.github.com/users/sloria/followers","following_url":"https://api.github.com/users/sloria/following{/other_user}","gists_url":"https://api.github.com/users/sloria/gists{/gist_id}","starred_url":"https://api.github.com/users/sloria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sloria/subscriptions","organizations_url":"https://api.github.com/users/sloria/orgs","repos_url":"https://api.github.com/users/sloria/repos","events_url":"https://api.github.com/users/sloria/events{/privacy}","received_events_url":"https://api.github.com/users/sloria/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":0,"state":"open","created_at":"2015-04-30T19:53:58Z","updated_at":"2015-05-04T16:15:18Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/2606/commits","review_comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/2606/comments","review_comment_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/2606/comments","statuses_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/statuses/a88df8746fca30f67f8e67615848829c9167b957","head":{"label":"caneruguz:feature/unified-toolbar-with-folders","ref":"feature/unified-toolbar-with-folders","sha":"a88df8746fca30f67f8e67615848829c9167b957","user":{"login":"caneruguz","id":1314003,"avatar_url":"https://avatars.githubusercontent.com/u/1314003?v=3","gravatar_id":"","url":"https://api.github.com/users/caneruguz","html_url":"https://github.com/caneruguz","followers_url":"https://api.github.com/users/caneruguz/followers","following_url":"https://api.github.com/users/caneruguz/following{/other_user}","gists_url":"https://api.github.com/users/caneruguz/gists{/gist_id}","starred_url":"https://api.github.com/users/caneruguz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caneruguz/subscriptions","organizations_url":"https://api.github.com/users/caneruguz/orgs","repos_url":"https://api.github.com/users/caneruguz/repos","events_url":"https://api.github.com/users/caneruguz/events{/privacy}","received_events_url":"https://api.github.com/users/caneruguz/received_events","type":"User","site_admin":false},"repo":{"id":27096151,"name":"osf.io","full_name":"caneruguz/osf.io","owner":{"login":"caneruguz","id":1314003,"avatar_url":"https://avatars.githubusercontent.com/u/1314003?v=3","gravatar_id":"","url":"https://api.github.com/users/caneruguz","html_url":"https://github.com/caneruguz","followers_url":"https://api.github.com/users/caneruguz/followers","following_url":"https://api.github.com/users/caneruguz/following{/other_user}","gists_url":"https://api.github.com/users/caneruguz/gists{/gist_id}","starred_url":"https://api.github.com/users/caneruguz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caneruguz/subscriptions","organizations_url":"https://api.github.com/users/caneruguz/orgs","repos_url":"https://api.github.com/users/caneruguz/repos","events_url":"https://api.github.com/users/caneruguz/events{/privacy}","received_events_url":"https://api.github.com/users/caneruguz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/caneruguz/osf.io","description":"Facilitating Open Science","fork":true,"url":"https://api.github.com/repos/caneruguz/osf.io","forks_url":"https://api.github.com/repos/caneruguz/osf.io/forks","keys_url":"https://api.github.com/repos/caneruguz/osf.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/caneruguz/osf.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/caneruguz/osf.io/teams","hooks_url":"https://api.github.com/repos/caneruguz/osf.io/hooks","issue_events_url":"https://api.github.com/repos/caneruguz/osf.io/issues/events{/number}","events_url":"https://api.github.com/repos/caneruguz/osf.io/events","assignees_url":"https://api.github.com/repos/caneruguz/osf.io/assignees{/user}","branches_url":"https://api.github.com/repos/caneruguz/osf.io/branches{/branch}","tags_url":"https://api.github.com/repos/caneruguz/osf.io/tags","blobs_url":"https://api.github.com/repos/caneruguz/osf.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/caneruguz/osf.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/caneruguz/osf.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/caneruguz/osf.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/caneruguz/osf.io/statuses/{sha}","languages_url":"https://api.github.com/repos/caneruguz/osf.io/languages","stargazers_url":"https://api.github.com/repos/caneruguz/osf.io/stargazers","contributors_url":"https://api.github.com/repos/caneruguz/osf.io/contributors","subscribers_url":"https://api.github.com/repos/caneruguz/osf.io/subscribers","subscription_url":"https://api.github.com/repos/caneruguz/osf.io/subscription","commits_url":"https://api.github.com/repos/caneruguz/osf.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/caneruguz/osf.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/caneruguz/osf.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/caneruguz/osf.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/caneruguz/osf.io/contents/{+path}","compare_url":"https://api.github.com/repos/caneruguz/osf.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/caneruguz/osf.io/merges","archive_url":"https://api.github.com/repos/caneruguz/osf.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/caneruguz/osf.io/downloads","issues_url":"https://api.github.com/repos/caneruguz/osf.io/issues{/number}","pulls_url":"https://api.github.com/repos/caneruguz/osf.io/pulls{/number}","milestones_url":"https://api.github.com/repos/caneruguz/osf.io/milestones{/number}","notifications_url":"https://api.github.com/repos/caneruguz/osf.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/caneruguz/osf.io/labels{/name}","releases_url":"https://api.github.com/repos/caneruguz/osf.io/releases{/id}","created_at":"2014-11-24T21:33:09Z","updated_at":"2015-04-10T13:39:11Z","pushed_at":"2015-05-06T18:09:36Z","git_url":"git://github.com/caneruguz/osf.io.git","ssh_url":"git@github.com:caneruguz/osf.io.git","clone_url":"https://github.com/caneruguz/osf.io.git","svn_url":"https://github.com/caneruguz/osf.io","homepage":"http://osf.io","size":89106,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"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":"CenterForOpenScience:develop","ref":"develop","sha":"fb8fbc9d8cb9eb1ba876e23973dc9f0f5b89bb2f","user":{"login":"CenterForOpenScience","id":3344584,"avatar_url":"https://avatars.githubusercontent.com/u/3344584?v=3","gravatar_id":"","url":"https://api.github.com/users/CenterForOpenScience","html_url":"https://github.com/CenterForOpenScience","followers_url":"https://api.github.com/users/CenterForOpenScience/followers","following_url":"https://api.github.com/users/CenterForOpenScience/following{/other_user}","gists_url":"https://api.github.com/users/CenterForOpenScience/gists{/gist_id}","starred_url":"https://api.github.com/users/CenterForOpenScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CenterForOpenScience/subscriptions","organizations_url":"https://api.github.com/users/CenterForOpenScience/orgs","repos_url":"https://api.github.com/users/CenterForOpenScience/repos","events_url":"https://api.github.com/users/CenterForOpenScience/events{/privacy}","received_events_url":"https://api.github.com/users/CenterForOpenScience/received_events","type":"Organization","site_admin":false},"repo":{"id":10199599,"name":"osf.io","full_name":"CenterForOpenScience/osf.io","owner":{"login":"CenterForOpenScience","id":3344584,"avatar_url":"https://avatars.githubusercontent.com/u/3344584?v=3","gravatar_id":"","url":"https://api.github.com/users/CenterForOpenScience","html_url":"https://github.com/CenterForOpenScience","followers_url":"https://api.github.com/users/CenterForOpenScience/followers","following_url":"https://api.github.com/users/CenterForOpenScience/following{/other_user}","gists_url":"https://api.github.com/users/CenterForOpenScience/gists{/gist_id}","starred_url":"https://api.github.com/users/CenterForOpenScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CenterForOpenScience/subscriptions","organizations_url":"https://api.github.com/users/CenterForOpenScience/orgs","repos_url":"https://api.github.com/users/CenterForOpenScience/repos","events_url":"https://api.github.com/users/CenterForOpenScience/events{/privacy}","received_events_url":"https://api.github.com/users/CenterForOpenScience/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CenterForOpenScience/osf.io","description":"Facilitating Open Science","fork":false,"url":"https://api.github.com/repos/CenterForOpenScience/osf.io","forks_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/forks","keys_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/teams","hooks_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/hooks","issue_events_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/events{/number}","events_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/events","assignees_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/assignees{/user}","branches_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/branches{/branch}","tags_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/tags","blobs_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/statuses/{sha}","languages_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/languages","stargazers_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/stargazers","contributors_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/contributors","subscribers_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/subscribers","subscription_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/subscription","commits_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/contents/{+path}","compare_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/merges","archive_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/downloads","issues_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues{/number}","pulls_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls{/number}","milestones_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/milestones{/number}","notifications_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/labels{/name}","releases_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/releases{/id}","created_at":"2013-05-21T15:53:37Z","updated_at":"2015-05-06T19:05:48Z","pushed_at":"2015-05-06T19:05:48Z","git_url":"git://github.com/CenterForOpenScience/osf.io.git","ssh_url":"git@github.com:CenterForOpenScience/osf.io.git","clone_url":"https://github.com/CenterForOpenScience/osf.io.git","svn_url":"https://github.com/CenterForOpenScience/osf.io","homepage":"http://osf.io","size":205640,"stargazers_count":98,"watchers_count":98,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":78,"mirror_url":null,"open_issues_count":392,"forks":78,"open_issues":392,"watchers":98,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/2606"},"html":{"href":"https://github.com/CenterForOpenScience/osf.io/pull/2606"},"issue":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/2606"},"comments":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/2606/comments"},"review_comments":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/2606/comments"},"review_comment":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/2606/commits"},"statuses":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/statuses/a88df8746fca30f67f8e67615848829c9167b957"}}}}