{"action":"created","comment":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/comments/43299729","id":43299729,"diff_hunk":"@@ -10,29 +9,15 @@ var ko = require('knockout');\n var $ = require('jquery');\n var jstz = require('jstimezonedetect').jstz;\n \n-// Knockout components for the onboarder\n-require('js/onboarder.js');\n var $osf = require('js/osfHelpers');\n+var FileBrowser = require('js/file-browser.js');\n var LogFeed = require('js/logFeed');\n-var ProjectOrganizer = require('js/projectorganizer').ProjectOrganizer;\n+var m = require('mithril'); // exposes mithril methods, useful for redraw etc.\n \n var url = '/api/v1/dashboard/get_nodes/';","path":"website/static/js/pages/dashboard-page.js","position":20,"original_position":20,"commit_id":"b2e034c1e75d8db339bf4f616cdc07e32ef68272","original_commit_id":"b2e034c1e75d8db339bf4f616cdc07e32ef68272","user":{"login":"samchrisinger","id":2207561,"avatar_url":"https://avatars.githubusercontent.com/u/2207561?v=3","gravatar_id":"","url":"https://api.github.com/users/samchrisinger","html_url":"https://github.com/samchrisinger","followers_url":"https://api.github.com/users/samchrisinger/followers","following_url":"https://api.github.com/users/samchrisinger/following{/other_user}","gists_url":"https://api.github.com/users/samchrisinger/gists{/gist_id}","starred_url":"https://api.github.com/users/samchrisinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samchrisinger/subscriptions","organizations_url":"https://api.github.com/users/samchrisinger/orgs","repos_url":"https://api.github.com/users/samchrisinger/repos","events_url":"https://api.github.com/users/samchrisinger/events{/privacy}","received_events_url":"https://api.github.com/users/samchrisinger/received_events","type":"User","site_admin":false},"body":"Can we do this with a V2 route?","created_at":"2015-10-28T18:40:36Z","updated_at":"2015-10-28T18:40:36Z","html_url":"https://github.com/CenterForOpenScience/osf.io/pull/4526#discussion_r43299729","pull_request_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/4526","_links":{"self":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/comments/43299729"},"html":{"href":"https://github.com/CenterForOpenScience/osf.io/pull/4526#discussion_r43299729"},"pull_request":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/4526"}}},"pull_request":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/4526","id":49017952,"html_url":"https://github.com/CenterForOpenScience/osf.io/pull/4526","diff_url":"https://github.com/CenterForOpenScience/osf.io/pull/4526.diff","patch_url":"https://github.com/CenterForOpenScience/osf.io/pull/4526.patch","issue_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/4526","number":4526,"state":"open","locked":false,"title":"Dashboard redesign component","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\nStep 1 towards building the dashboard.\r\nThis step includes basic architecture of a modular system called file-browser. It uses the new api2 and has multiple components to take care of view. \r\n\r\n## Changes\r\n- Old dashboard parts are removed from view and code including onboarding and watchlist\r\n- Project organizer is refactored to use a much more skinny version since direct editing and moving of collections is removed\r\n- File browser module is added to be a wrapper for the entire project organizer view and includes sub components that cover distinct tasks \r\n    - Breadcrumbs : updates the current location of folder\r\n   - Collections : list of collections that updates the project view\r\n   - Filter List: A list of tags and users that updates the project view (not functional yet but view is there)\r\n   - Information Panel: includes information pertinent to selected row.\r\n- Double clicking on project opens in new folder. (currently using double click on placeholder text called \"Open\" until view is finalized. \r\n\r\nThis PR is a first step so final functionalities are incomplete. Aspects to be checked are:\r\n- The parts that are deleted are deleted properly\r\n- No hanging unused code\r\n- Tests are passing and tests that belong to removed code are removed\r\n- The file-browser module is working: \r\n    - all subcomponents are displaying, \r\n    - information panel is working, \r\n    - collections and links are loading correct api end points\r\n \r\nThere is no QA needed for this process. \r\n\r\nPertinent to these jira issues:\r\nhttps://openscience.atlassian.net/browse/OSF-4795\r\nhttps://openscience.atlassian.net/browse/OSF-4796\r\nhttps://openscience.atlassian.net/browse/OSF-4798","created_at":"2015-10-28T15:01:48Z","updated_at":"2015-10-28T18:40:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"79cc42e6a050818bbb1e19385f37c33f3a049165","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/4526/commits","review_comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/4526/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/4526/comments","statuses_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/statuses/b2e034c1e75d8db339bf4f616cdc07e32ef68272","head":{"label":"caneruguz:dashboard-redesign-component","ref":"dashboard-redesign-component","sha":"b2e034c1e75d8db339bf4f616cdc07e32ef68272","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-06-14T17:00:49Z","pushed_at":"2015-10-28T14:53:58Z","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":105990,"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:feature/dashboard","ref":"feature/dashboard","sha":"1a29f9ab5276a69b4243e3a95d79c97d1c1431dd","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-10-28T09:56:55Z","pushed_at":"2015-10-28T18:39:50Z","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":242055,"stargazers_count":150,"watchers_count":150,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":128,"mirror_url":null,"open_issues_count":354,"forks":128,"open_issues":354,"watchers":150,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/4526"},"html":{"href":"https://github.com/CenterForOpenScience/osf.io/pull/4526"},"issue":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/4526"},"comments":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/4526/comments"},"review_comments":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/4526/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/4526/commits"},"statuses":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/statuses/b2e034c1e75d8db339bf4f616cdc07e32ef68272"}}}}