{"action":"closed","number":40,"pull_request":{"url":"https://api.github.com/repos/jgeewax/phoenix/pulls/40","id":48370595,"html_url":"https://github.com/jgeewax/phoenix/pull/40","diff_url":"https://github.com/jgeewax/phoenix/pull/40.diff","patch_url":"https://github.com/jgeewax/phoenix/pull/40.patch","issue_url":"https://api.github.com/repos/jgeewax/phoenix/issues/40","number":40,"state":"closed","locked":false,"title":"integrate firebase","user":{"login":"stephenplusplus","id":723048,"avatar_url":"https://avatars.githubusercontent.com/u/723048?v=3","gravatar_id":"","url":"https://api.github.com/users/stephenplusplus","html_url":"https://github.com/stephenplusplus","followers_url":"https://api.github.com/users/stephenplusplus/followers","following_url":"https://api.github.com/users/stephenplusplus/following{/other_user}","gists_url":"https://api.github.com/users/stephenplusplus/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenplusplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenplusplus/subscriptions","organizations_url":"https://api.github.com/users/stephenplusplus/orgs","repos_url":"https://api.github.com/users/stephenplusplus/repos","events_url":"https://api.github.com/users/stephenplusplus/events{/privacy}","received_events_url":"https://api.github.com/users/stephenplusplus/received_events","type":"User","site_admin":false},"body":"A lot has changed since #35, so this is a good ol' fashioned redo.\r\n\r\nPreview: http://stephenplusplus.github.io/phoenix/#/projects\r\n\r\n  - Storage Driver is gone. All configuration is synced with Firebase\r\n  - Created a new URL hierarchy: `projects/{projectId}/{dashboardId}/plugin/{pluginId}` - The new part is the `plugin/{pluginId}` where it was previously just `{pluginId}`. This conflicted with other routes that exist and might exist directly under the dashboard. E.g., the `plugins` route was being read as \"load the plugin named \"plugins\".\r\n\r\nSchema:\r\n\r\n```js\r\n{\r\n  \"projects\": {\r\n    \"$project_id\": {\r\n      \"users\": {\r\n        \"$user_id\": {\r\n          // Private user dashboards\r\n          \"dashboards\": {\r\n            \"$dashboard_id\": {\r\n              \"name\": \"Dashboard Name\",\r\n              \"modified\": new Date(),\r\n              \"plugins\": {\r\n                \"storage-browser\": {\r\n                  \"title\": \"Storage Browser\",\r\n                  \"state\": \"storage-browser\",\r\n                  \"repository\": \"jgeewax/gcloud-ui-storage-browser\",\r\n                  \"version\": \"v0.0.2\",\r\n                  \"id\": \"storage-browser\"\r\n                }\r\n              }\r\n            }\r\n          }\r\n        }\r\n      }\r\n    }\r\n  },\r\n  \"dashboards\": {\r\n     // Public dashboards\r\n    \"${dashboardId}\": {\r\n      \"creator\": \"${userId}\",\r\n      \"modified\": new Date(),\r\n      \"plugins\": {\r\n        \"storage-browser\": {\r\n          \"title\": \"Storage Browser\",\r\n          \"state\": \"storage-browser\",\r\n          \"repository\": \"jgeewax/gcloud-ui-storage-browser\",\r\n          \"version\": \"v0.0.2\",\r\n          \"id\": \"storage-browser\"\r\n        }\r\n      }\r\n    }\r\n  }\r\n}\r\n```","created_at":"2015-10-21T18:40:26Z","updated_at":"2015-10-22T19:12:30Z","closed_at":"2015-10-22T19:12:30Z","merged_at":"2015-10-22T19:12:30Z","merge_commit_sha":"767a11a867debad909636ec3a2c3c3ba3c992195","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jgeewax/phoenix/pulls/40/commits","review_comments_url":"https://api.github.com/repos/jgeewax/phoenix/pulls/40/comments","review_comment_url":"https://api.github.com/repos/jgeewax/phoenix/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jgeewax/phoenix/issues/40/comments","statuses_url":"https://api.github.com/repos/jgeewax/phoenix/statuses/a90084e547db95592279c07068e37697f0fd0e60","head":{"label":"stephenplusplus:firebase","ref":"firebase","sha":"a90084e547db95592279c07068e37697f0fd0e60","user":{"login":"stephenplusplus","id":723048,"avatar_url":"https://avatars.githubusercontent.com/u/723048?v=3","gravatar_id":"","url":"https://api.github.com/users/stephenplusplus","html_url":"https://github.com/stephenplusplus","followers_url":"https://api.github.com/users/stephenplusplus/followers","following_url":"https://api.github.com/users/stephenplusplus/following{/other_user}","gists_url":"https://api.github.com/users/stephenplusplus/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenplusplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenplusplus/subscriptions","organizations_url":"https://api.github.com/users/stephenplusplus/orgs","repos_url":"https://api.github.com/users/stephenplusplus/repos","events_url":"https://api.github.com/users/stephenplusplus/events{/privacy}","received_events_url":"https://api.github.com/users/stephenplusplus/received_events","type":"User","site_admin":false},"repo":{"id":43976269,"name":"phoenix","full_name":"stephenplusplus/phoenix","owner":{"login":"stephenplusplus","id":723048,"avatar_url":"https://avatars.githubusercontent.com/u/723048?v=3","gravatar_id":"","url":"https://api.github.com/users/stephenplusplus","html_url":"https://github.com/stephenplusplus","followers_url":"https://api.github.com/users/stephenplusplus/followers","following_url":"https://api.github.com/users/stephenplusplus/following{/other_user}","gists_url":"https://api.github.com/users/stephenplusplus/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenplusplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenplusplus/subscriptions","organizations_url":"https://api.github.com/users/stephenplusplus/orgs","repos_url":"https://api.github.com/users/stephenplusplus/repos","events_url":"https://api.github.com/users/stephenplusplus/events{/privacy}","received_events_url":"https://api.github.com/users/stephenplusplus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stephenplusplus/phoenix","description":"Open source UI :)","fork":true,"url":"https://api.github.com/repos/stephenplusplus/phoenix","forks_url":"https://api.github.com/repos/stephenplusplus/phoenix/forks","keys_url":"https://api.github.com/repos/stephenplusplus/phoenix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stephenplusplus/phoenix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stephenplusplus/phoenix/teams","hooks_url":"https://api.github.com/repos/stephenplusplus/phoenix/hooks","issue_events_url":"https://api.github.com/repos/stephenplusplus/phoenix/issues/events{/number}","events_url":"https://api.github.com/repos/stephenplusplus/phoenix/events","assignees_url":"https://api.github.com/repos/stephenplusplus/phoenix/assignees{/user}","branches_url":"https://api.github.com/repos/stephenplusplus/phoenix/branches{/branch}","tags_url":"https://api.github.com/repos/stephenplusplus/phoenix/tags","blobs_url":"https://api.github.com/repos/stephenplusplus/phoenix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stephenplusplus/phoenix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stephenplusplus/phoenix/git/refs{/sha}","trees_url":"https://api.github.com/repos/stephenplusplus/phoenix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stephenplusplus/phoenix/statuses/{sha}","languages_url":"https://api.github.com/repos/stephenplusplus/phoenix/languages","stargazers_url":"https://api.github.com/repos/stephenplusplus/phoenix/stargazers","contributors_url":"https://api.github.com/repos/stephenplusplus/phoenix/contributors","subscribers_url":"https://api.github.com/repos/stephenplusplus/phoenix/subscribers","subscription_url":"https://api.github.com/repos/stephenplusplus/phoenix/subscription","commits_url":"https://api.github.com/repos/stephenplusplus/phoenix/commits{/sha}","git_commits_url":"https://api.github.com/repos/stephenplusplus/phoenix/git/commits{/sha}","comments_url":"https://api.github.com/repos/stephenplusplus/phoenix/comments{/number}","issue_comment_url":"https://api.github.com/repos/stephenplusplus/phoenix/issues/comments{/number}","contents_url":"https://api.github.com/repos/stephenplusplus/phoenix/contents/{+path}","compare_url":"https://api.github.com/repos/stephenplusplus/phoenix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stephenplusplus/phoenix/merges","archive_url":"https://api.github.com/repos/stephenplusplus/phoenix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stephenplusplus/phoenix/downloads","issues_url":"https://api.github.com/repos/stephenplusplus/phoenix/issues{/number}","pulls_url":"https://api.github.com/repos/stephenplusplus/phoenix/pulls{/number}","milestones_url":"https://api.github.com/repos/stephenplusplus/phoenix/milestones{/number}","notifications_url":"https://api.github.com/repos/stephenplusplus/phoenix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stephenplusplus/phoenix/labels{/name}","releases_url":"https://api.github.com/repos/stephenplusplus/phoenix/releases{/id}","created_at":"2015-10-09T19:36:35Z","updated_at":"2015-10-09T19:36:36Z","pushed_at":"2015-10-22T19:09:26Z","git_url":"git://github.com/stephenplusplus/phoenix.git","ssh_url":"git@github.com:stephenplusplus/phoenix.git","clone_url":"https://github.com/stephenplusplus/phoenix.git","svn_url":"https://github.com/stephenplusplus/phoenix","homepage":"","size":1138,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jgeewax:master","ref":"master","sha":"77f0bd3d991ef8784da6539e6fd0306896feedd7","user":{"login":"jgeewax","id":112928,"avatar_url":"https://avatars.githubusercontent.com/u/112928?v=3","gravatar_id":"","url":"https://api.github.com/users/jgeewax","html_url":"https://github.com/jgeewax","followers_url":"https://api.github.com/users/jgeewax/followers","following_url":"https://api.github.com/users/jgeewax/following{/other_user}","gists_url":"https://api.github.com/users/jgeewax/gists{/gist_id}","starred_url":"https://api.github.com/users/jgeewax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgeewax/subscriptions","organizations_url":"https://api.github.com/users/jgeewax/orgs","repos_url":"https://api.github.com/users/jgeewax/repos","events_url":"https://api.github.com/users/jgeewax/events{/privacy}","received_events_url":"https://api.github.com/users/jgeewax/received_events","type":"User","site_admin":false},"repo":{"id":40144851,"name":"phoenix","full_name":"jgeewax/phoenix","owner":{"login":"jgeewax","id":112928,"avatar_url":"https://avatars.githubusercontent.com/u/112928?v=3","gravatar_id":"","url":"https://api.github.com/users/jgeewax","html_url":"https://github.com/jgeewax","followers_url":"https://api.github.com/users/jgeewax/followers","following_url":"https://api.github.com/users/jgeewax/following{/other_user}","gists_url":"https://api.github.com/users/jgeewax/gists{/gist_id}","starred_url":"https://api.github.com/users/jgeewax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgeewax/subscriptions","organizations_url":"https://api.github.com/users/jgeewax/orgs","repos_url":"https://api.github.com/users/jgeewax/repos","events_url":"https://api.github.com/users/jgeewax/events{/privacy}","received_events_url":"https://api.github.com/users/jgeewax/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jgeewax/phoenix","description":"Open source UI :)","fork":false,"url":"https://api.github.com/repos/jgeewax/phoenix","forks_url":"https://api.github.com/repos/jgeewax/phoenix/forks","keys_url":"https://api.github.com/repos/jgeewax/phoenix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jgeewax/phoenix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jgeewax/phoenix/teams","hooks_url":"https://api.github.com/repos/jgeewax/phoenix/hooks","issue_events_url":"https://api.github.com/repos/jgeewax/phoenix/issues/events{/number}","events_url":"https://api.github.com/repos/jgeewax/phoenix/events","assignees_url":"https://api.github.com/repos/jgeewax/phoenix/assignees{/user}","branches_url":"https://api.github.com/repos/jgeewax/phoenix/branches{/branch}","tags_url":"https://api.github.com/repos/jgeewax/phoenix/tags","blobs_url":"https://api.github.com/repos/jgeewax/phoenix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jgeewax/phoenix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jgeewax/phoenix/git/refs{/sha}","trees_url":"https://api.github.com/repos/jgeewax/phoenix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jgeewax/phoenix/statuses/{sha}","languages_url":"https://api.github.com/repos/jgeewax/phoenix/languages","stargazers_url":"https://api.github.com/repos/jgeewax/phoenix/stargazers","contributors_url":"https://api.github.com/repos/jgeewax/phoenix/contributors","subscribers_url":"https://api.github.com/repos/jgeewax/phoenix/subscribers","subscription_url":"https://api.github.com/repos/jgeewax/phoenix/subscription","commits_url":"https://api.github.com/repos/jgeewax/phoenix/commits{/sha}","git_commits_url":"https://api.github.com/repos/jgeewax/phoenix/git/commits{/sha}","comments_url":"https://api.github.com/repos/jgeewax/phoenix/comments{/number}","issue_comment_url":"https://api.github.com/repos/jgeewax/phoenix/issues/comments{/number}","contents_url":"https://api.github.com/repos/jgeewax/phoenix/contents/{+path}","compare_url":"https://api.github.com/repos/jgeewax/phoenix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jgeewax/phoenix/merges","archive_url":"https://api.github.com/repos/jgeewax/phoenix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jgeewax/phoenix/downloads","issues_url":"https://api.github.com/repos/jgeewax/phoenix/issues{/number}","pulls_url":"https://api.github.com/repos/jgeewax/phoenix/pulls{/number}","milestones_url":"https://api.github.com/repos/jgeewax/phoenix/milestones{/number}","notifications_url":"https://api.github.com/repos/jgeewax/phoenix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jgeewax/phoenix/labels{/name}","releases_url":"https://api.github.com/repos/jgeewax/phoenix/releases{/id}","created_at":"2015-08-03T19:50:23Z","updated_at":"2015-10-07T12:32:45Z","pushed_at":"2015-10-22T19:12:30Z","git_url":"git://github.com/jgeewax/phoenix.git","ssh_url":"git@github.com:jgeewax/phoenix.git","clone_url":"https://github.com/jgeewax/phoenix.git","svn_url":"https://github.com/jgeewax/phoenix","homepage":"","size":1008,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"open_issues_count":23,"forks":3,"open_issues":23,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jgeewax/phoenix/pulls/40"},"html":{"href":"https://github.com/jgeewax/phoenix/pull/40"},"issue":{"href":"https://api.github.com/repos/jgeewax/phoenix/issues/40"},"comments":{"href":"https://api.github.com/repos/jgeewax/phoenix/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/jgeewax/phoenix/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/jgeewax/phoenix/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jgeewax/phoenix/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/jgeewax/phoenix/statuses/a90084e547db95592279c07068e37697f0fd0e60"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"callmehiphop","id":1707267,"avatar_url":"https://avatars.githubusercontent.com/u/1707267?v=3","gravatar_id":"","url":"https://api.github.com/users/callmehiphop","html_url":"https://github.com/callmehiphop","followers_url":"https://api.github.com/users/callmehiphop/followers","following_url":"https://api.github.com/users/callmehiphop/following{/other_user}","gists_url":"https://api.github.com/users/callmehiphop/gists{/gist_id}","starred_url":"https://api.github.com/users/callmehiphop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callmehiphop/subscriptions","organizations_url":"https://api.github.com/users/callmehiphop/orgs","repos_url":"https://api.github.com/users/callmehiphop/repos","events_url":"https://api.github.com/users/callmehiphop/events{/privacy}","received_events_url":"https://api.github.com/users/callmehiphop/received_events","type":"User","site_admin":false},"comments":2,"review_comments":24,"commits":1,"additions":376,"deletions":283,"changed_files":18}}