{"action":"created","issue":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/2282","labels_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/2282/labels{/name}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/2282/comments","events_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/2282/events","html_url":"https://github.com/CenterForOpenScience/osf.io/issues/2282","id":63750763,"number":2282,"title":"[Enhancement] [Feature] Toolbar for files","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},"labels":[{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/labels/discuss","name":"discuss","color":"009800"},{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/labels/Priority%20-%20Medium","name":"Priority - Medium","color":"FF810F"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-23T15:25:23Z","updated_at":"2015-03-23T15:43:22Z","closed_at":null,"body":"There are some features and enhancements we are working on that will add functionality to files (Add folders, cancel uploads) and some others have been requested or may potentially come in the future (Delete multiple, add search box to Project Organizer) . We may need to do a general and consistent approach to Files/Folders related actions through a toolbar. \r\n\r\n## The problem: \r\n- We currently rely on inline buttons on an action column. Some folders have a few buttons but we may need the functionality when folders come; for instance rename folder. \r\n- We will have actions that are not specific to a row in files, for instance Cancel all Uploads, Multiple Delete\r\n- Currently the methods used in Project Organizer (PO) and Files pages are separate. PO uses a contextually changing menu. Files uses inline buttons in an Action column. These uses need to be unified to be the same method (though not the same toolbars)\r\n\r\n## Potential Solutions\r\n### A : Keep things as they are make best use of inline icons through the action column\r\n- Pros: \r\n  * Takes less time\r\n  * less likely to create regression errors\r\n  * Can make use of existing notification tools\r\n  * Current suggestion for cancel uploads can be used. \r\n- Cons:\r\n  * Doesn't actually solve the problem, pushes the issue to later\r\n  * Add folder will need to use a modal \r\n- **Estimated Time: 3 days** that includes\r\n  * Finalize cancel upload design\r\n  * Work with chris to turn Add folder into modal\r\n\r\n### B : Use the exact same method that PO uses for contextual buttons.\r\n- Pros: \r\n  * Known method, familiar to users\r\n  * Some time to develop but not as long as C\r\n- Cons:\r\n  * Doesn't provide a cohesive toolbar experience, not all options are visible\r\n- **Estimated Time: 1 week** that includes\r\n  * Adding to Files page\r\n  * Adding to project overview page\r\n\r\n### C : Design new toolbar structure that will require revising PO and adding to Files. \r\n- Pros: \r\n  * Allows thinking through and unifying all actions\r\n  * Potentially get rid of action column\r\n  * Extendable for future\r\n- Cons:\r\n  * More time to develop \r\n  * Needs more testing\r\n- **Estimated Time: 2 weeks** that includes\r\n  * Adjusting Treebeard to work with the toolbar\r\n  * Adding to Files page\r\n  * Adding to project overview page\r\n  * Revising Project Organizer page\r\n  * Checking compatibility with other Treebeard instances\r\n\r\n## Suggestions for C:\r\n\r\n![toolbar_2](https://cloud.githubusercontent.com/assets/1314003/6783590/ea3a9808-d150-11e4-9b4e-916ea59f4eb2.png)\r\nEdit: Added cancel buttons to search and rename to go back to toolbar.\r\n\r\n![files_page](https://cloud.githubusercontent.com/assets/1314003/6782929/5e7999c0-d14d-11e4-8ca6-ca0443cdb99d.png)\r\n\r\n![project_overview_page](https://cloud.githubusercontent.com/assets/1314003/6782933/6a88be4e-d14d-11e4-8792-b4166919105b.png)\r\n\r\nOpen to discussion and contributions; especially from @JeffSpies , @brianjgeiger , @lbanner and @GaryKriebel "},"comment":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/comments/85055074","html_url":"https://github.com/CenterForOpenScience/osf.io/issues/2282#issuecomment-85055074","issue_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/2282","id":85055074,"user":{"login":"JeffSpies","id":512000,"avatar_url":"https://avatars.githubusercontent.com/u/512000?v=3","gravatar_id":"","url":"https://api.github.com/users/JeffSpies","html_url":"https://github.com/JeffSpies","followers_url":"https://api.github.com/users/JeffSpies/followers","following_url":"https://api.github.com/users/JeffSpies/following{/other_user}","gists_url":"https://api.github.com/users/JeffSpies/gists{/gist_id}","starred_url":"https://api.github.com/users/JeffSpies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeffSpies/subscriptions","organizations_url":"https://api.github.com/users/JeffSpies/orgs","repos_url":"https://api.github.com/users/JeffSpies/repos","events_url":"https://api.github.com/users/JeffSpies/events{/privacy}","received_events_url":"https://api.github.com/users/JeffSpies/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T15:43:22Z","updated_at":"2015-03-23T15:43:22Z","body":"Perhaps cancel uploads does the same as search/rename--do we want multiple\nactions available when canceling? It will be greyed out most of the time\nanyway.\n\nOn Mon, Mar 23, 2015 at 11:31 AM, Brian J. Geiger <notifications@github.com>\nwrote:\n\n> I like.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/CenterForOpenScience/osf.io/issues/2282#issuecomment-85050733>\n> .\n>\n"}}