{"action":"created","comment":{"url":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/comments/28763361","id":28763361,"diff_hunk":"@@ -0,0 +1,105 @@\n+// Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\n+// use this file except in compliance with the License. You may obtain a copy of\n+// the License at\n+//\n+//   http://www.apache.org/licenses/LICENSE-2.0\n+//\n+// Unless required by applicable law or agreed to in writing, software\n+// distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n+// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\n+// License for the specific language governing permissions and limitations under\n+// the License.\n+define([\n+  'app',\n+  'api',\n+  'addons/databases/stores',\n+  'addons/databases/actiontypes',\n+  'addons/databases/resources'\n+],\n+function (app, FauxtonAPI, Stores, ActionTypes, Resources) {\n+  return {\n+    init: function (collection, backboneCollection) {\n+      FauxtonAPI.dispatch({\n+        type: ActionTypes.DATABASES_INIT,\n+        options: {\n+          collection: collection,\n+          backboneCollection: backboneCollection\n+        }\n+      });\n+    },\n+\n+    setPage: function (_page) {\n+      FauxtonAPI.dispatch({\n+        type: ActionTypes.DATABASES_SETPAGE,\n+        options: {\n+          page: _page\n+        }\n+      });\n+    },\n+\n+    setStartLoading: function () {\n+      FauxtonAPI.dispatch({\n+        type: ActionTypes.DATABASES_STARTLOADING,\n+        options: {}\n+      });\n+    },\n+\n+    setLoadComplete: function () {\n+      FauxtonAPI.dispatch({\n+        type: ActionTypes.DATABASES_LOADCOMPLETE,\n+        options: {}","path":"app/addons/databases/actions.js","position":50,"original_position":50,"commit_id":"3862179a54150610497e30ef3b2f389f1723fd13","original_commit_id":"3862179a54150610497e30ef3b2f389f1723fd13","user":{"login":"garrensmith","id":179458,"avatar_url":"https://avatars.githubusercontent.com/u/179458?v=3","gravatar_id":"","url":"https://api.github.com/users/garrensmith","html_url":"https://github.com/garrensmith","followers_url":"https://api.github.com/users/garrensmith/followers","following_url":"https://api.github.com/users/garrensmith/following{/other_user}","gists_url":"https://api.github.com/users/garrensmith/gists{/gist_id}","starred_url":"https://api.github.com/users/garrensmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garrensmith/subscriptions","organizations_url":"https://api.github.com/users/garrensmith/orgs","repos_url":"https://api.github.com/users/garrensmith/repos","events_url":"https://api.github.com/users/garrensmith/events{/privacy}","received_events_url":"https://api.github.com/users/garrensmith/received_events","type":"User","site_admin":false},"body":"Since the object is empty do we need this property?","created_at":"2015-04-21T09:41:44Z","updated_at":"2015-04-21T09:41:44Z","html_url":"https://github.com/apache/couchdb-fauxton/pull/370#discussion_r28763361","pull_request_url":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/370","_links":{"self":{"href":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/comments/28763361"},"html":{"href":"https://github.com/apache/couchdb-fauxton/pull/370#discussion_r28763361"},"pull_request":{"href":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/370"}}},"pull_request":{"url":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/370","id":32961678,"html_url":"https://github.com/apache/couchdb-fauxton/pull/370","diff_url":"https://github.com/apache/couchdb-fauxton/pull/370.diff","patch_url":"https://github.com/apache/couchdb-fauxton/pull/370.patch","issue_url":"https://api.github.com/repos/apache/couchdb-fauxton/issues/370","number":370,"state":"open","locked":false,"title":"Databases view in react","user":{"login":"sebastianrothbucher","id":7339874,"avatar_url":"https://avatars.githubusercontent.com/u/7339874?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastianrothbucher","html_url":"https://github.com/sebastianrothbucher","followers_url":"https://api.github.com/users/sebastianrothbucher/followers","following_url":"https://api.github.com/users/sebastianrothbucher/following{/other_user}","gists_url":"https://api.github.com/users/sebastianrothbucher/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastianrothbucher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastianrothbucher/subscriptions","organizations_url":"https://api.github.com/users/sebastianrothbucher/orgs","repos_url":"https://api.github.com/users/sebastianrothbucher/repos","events_url":"https://api.github.com/users/sebastianrothbucher/events{/privacy}","received_events_url":"https://api.github.com/users/sebastianrothbucher/received_events","type":"User","site_admin":false},"body":"just wanted to let you guys know I started working on it - and it's far from complete. So do not merge just yet... (I stole a lot from michellephung's active tasks btw - thanks!)\r\nPagination is still missing, so is search for a DB and all tests (including the one for the tray that we can share). \r\nWhen I'm too slow pls. feel free move ahead (pls. let me know ;-) )","created_at":"2015-04-09T14:38:41Z","updated_at":"2015-04-21T09:41:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"78a5f40d143988eeb7dda58772eefd9854509325","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/370/commits","review_comments_url":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/370/comments","review_comment_url":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/couchdb-fauxton/issues/370/comments","statuses_url":"https://api.github.com/repos/apache/couchdb-fauxton/statuses/3862179a54150610497e30ef3b2f389f1723fd13","head":{"label":"sebastianrothbucher:databases-react-new","ref":"databases-react-new","sha":"3862179a54150610497e30ef3b2f389f1723fd13","user":{"login":"sebastianrothbucher","id":7339874,"avatar_url":"https://avatars.githubusercontent.com/u/7339874?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastianrothbucher","html_url":"https://github.com/sebastianrothbucher","followers_url":"https://api.github.com/users/sebastianrothbucher/followers","following_url":"https://api.github.com/users/sebastianrothbucher/following{/other_user}","gists_url":"https://api.github.com/users/sebastianrothbucher/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastianrothbucher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastianrothbucher/subscriptions","organizations_url":"https://api.github.com/users/sebastianrothbucher/orgs","repos_url":"https://api.github.com/users/sebastianrothbucher/repos","events_url":"https://api.github.com/users/sebastianrothbucher/events{/privacy}","received_events_url":"https://api.github.com/users/sebastianrothbucher/received_events","type":"User","site_admin":false},"repo":{"id":21834031,"name":"couchdb-fauxton","full_name":"sebastianrothbucher/couchdb-fauxton","owner":{"login":"sebastianrothbucher","id":7339874,"avatar_url":"https://avatars.githubusercontent.com/u/7339874?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastianrothbucher","html_url":"https://github.com/sebastianrothbucher","followers_url":"https://api.github.com/users/sebastianrothbucher/followers","following_url":"https://api.github.com/users/sebastianrothbucher/following{/other_user}","gists_url":"https://api.github.com/users/sebastianrothbucher/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastianrothbucher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastianrothbucher/subscriptions","organizations_url":"https://api.github.com/users/sebastianrothbucher/orgs","repos_url":"https://api.github.com/users/sebastianrothbucher/repos","events_url":"https://api.github.com/users/sebastianrothbucher/events{/privacy}","received_events_url":"https://api.github.com/users/sebastianrothbucher/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sebastianrothbucher/couchdb-fauxton","description":"Mirror of Apache CouchDB","fork":true,"url":"https://api.github.com/repos/sebastianrothbucher/couchdb-fauxton","forks_url":"https://api.github.com/repos/sebastianrothbucher/couchdb-fauxton/forks","keys_url":"https://api.github.com/repos/sebastianrothbucher/couchdb-fauxton/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sebastianrothbucher/couchdb-fauxton/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sebastianrothbucher/couchdb-fauxton/teams","hooks_url":"https://api.github.com/repos/sebastianrothbucher/couchdb-fauxton/hooks","issue_events_url":"https://api.github.com/repos/sebastianrothbucher/couchdb-fauxton/issues/events{/number}","events_url":"https://api.github.com/repos/sebastianrothbucher/couchdb-fauxton/events","assignees_url":"https://api.github.com/repos/sebastianrothbucher/couchdb-fauxton/assignees{/user}","branches_url":"https://api.github.com/repos/sebastianrothbucher/couchdb-fauxton/branches{/branch}","tags_url":"https://api.github.com/repos/sebastianrothbucher/couchdb-fauxton/tags","blobs_url":"https://api.github.com/repos/sebastianrothbucher/couchdb-fauxton/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sebastianrothbucher/couchdb-fauxton/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sebastianrothbucher/couchdb-fauxton/git/refs{/sha}","trees_url":"https://api.github.com/repos/sebastianrothbucher/couchdb-fauxton/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sebastianrothbucher/couchdb-fauxton/statuses/{sha}","languages_url":"https://api.github.com/repos/sebastianrothbucher/couchdb-fauxton/languages","stargazers_url":"https://api.github.com/repos/sebastianrothbucher/couchdb-fauxton/stargazers","contributors_url":"https://api.github.com/repos/sebastianrothbucher/couchdb-fauxton/contributors","subscribers_url":"https://api.github.com/repos/sebastianrothbucher/couchdb-fauxton/subscribers","subscription_url":"https://api.github.com/repos/sebastianrothbucher/couchdb-fauxton/subscription","commits_url":"https://api.github.com/repos/sebastianrothbucher/couchdb-fauxton/commits{/sha}","git_commits_url":"https://api.github.com/repos/sebastianrothbucher/couchdb-fauxton/git/commits{/sha}","comments_url":"https://api.github.com/repos/sebastianrothbucher/couchdb-fauxton/comments{/number}","issue_comment_url":"https://api.github.com/repos/sebastianrothbucher/couchdb-fauxton/issues/comments{/number}","contents_url":"https://api.github.com/repos/sebastianrothbucher/couchdb-fauxton/contents/{+path}","compare_url":"https://api.github.com/repos/sebastianrothbucher/couchdb-fauxton/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sebastianrothbucher/couchdb-fauxton/merges","archive_url":"https://api.github.com/repos/sebastianrothbucher/couchdb-fauxton/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sebastianrothbucher/couchdb-fauxton/downloads","issues_url":"https://api.github.com/repos/sebastianrothbucher/couchdb-fauxton/issues{/number}","pulls_url":"https://api.github.com/repos/sebastianrothbucher/couchdb-fauxton/pulls{/number}","milestones_url":"https://api.github.com/repos/sebastianrothbucher/couchdb-fauxton/milestones{/number}","notifications_url":"https://api.github.com/repos/sebastianrothbucher/couchdb-fauxton/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sebastianrothbucher/couchdb-fauxton/labels{/name}","releases_url":"https://api.github.com/repos/sebastianrothbucher/couchdb-fauxton/releases{/id}","created_at":"2014-07-14T20:12:18Z","updated_at":"2014-07-15T19:18:53Z","pushed_at":"2015-04-17T19:28:45Z","git_url":"git://github.com/sebastianrothbucher/couchdb-fauxton.git","ssh_url":"git@github.com:sebastianrothbucher/couchdb-fauxton.git","clone_url":"https://github.com/sebastianrothbucher/couchdb-fauxton.git","svn_url":"https://github.com/sebastianrothbucher/couchdb-fauxton","homepage":null,"size":6149,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"import-master"}},"base":{"label":"apache:master","ref":"master","sha":"1847ef8d288aa49fdd2477056b3f1f6d9fa9beac","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":15993612,"name":"couchdb-fauxton","full_name":"apache/couchdb-fauxton","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/couchdb-fauxton","description":"Mirror of Apache CouchDB","fork":false,"url":"https://api.github.com/repos/apache/couchdb-fauxton","forks_url":"https://api.github.com/repos/apache/couchdb-fauxton/forks","keys_url":"https://api.github.com/repos/apache/couchdb-fauxton/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/couchdb-fauxton/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/couchdb-fauxton/teams","hooks_url":"https://api.github.com/repos/apache/couchdb-fauxton/hooks","issue_events_url":"https://api.github.com/repos/apache/couchdb-fauxton/issues/events{/number}","events_url":"https://api.github.com/repos/apache/couchdb-fauxton/events","assignees_url":"https://api.github.com/repos/apache/couchdb-fauxton/assignees{/user}","branches_url":"https://api.github.com/repos/apache/couchdb-fauxton/branches{/branch}","tags_url":"https://api.github.com/repos/apache/couchdb-fauxton/tags","blobs_url":"https://api.github.com/repos/apache/couchdb-fauxton/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/couchdb-fauxton/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/couchdb-fauxton/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/couchdb-fauxton/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/couchdb-fauxton/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/couchdb-fauxton/languages","stargazers_url":"https://api.github.com/repos/apache/couchdb-fauxton/stargazers","contributors_url":"https://api.github.com/repos/apache/couchdb-fauxton/contributors","subscribers_url":"https://api.github.com/repos/apache/couchdb-fauxton/subscribers","subscription_url":"https://api.github.com/repos/apache/couchdb-fauxton/subscription","commits_url":"https://api.github.com/repos/apache/couchdb-fauxton/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/couchdb-fauxton/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/couchdb-fauxton/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/couchdb-fauxton/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/couchdb-fauxton/contents/{+path}","compare_url":"https://api.github.com/repos/apache/couchdb-fauxton/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/couchdb-fauxton/merges","archive_url":"https://api.github.com/repos/apache/couchdb-fauxton/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/couchdb-fauxton/downloads","issues_url":"https://api.github.com/repos/apache/couchdb-fauxton/issues{/number}","pulls_url":"https://api.github.com/repos/apache/couchdb-fauxton/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/couchdb-fauxton/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/couchdb-fauxton/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/couchdb-fauxton/labels{/name}","releases_url":"https://api.github.com/repos/apache/couchdb-fauxton/releases{/id}","created_at":"2014-01-17T08:00:08Z","updated_at":"2015-04-17T20:47:40Z","pushed_at":"2015-04-20T15:56:52Z","git_url":"git://github.com/apache/couchdb-fauxton.git","ssh_url":"git@github.com:apache/couchdb-fauxton.git","clone_url":"https://github.com/apache/couchdb-fauxton.git","svn_url":"https://github.com/apache/couchdb-fauxton","homepage":null,"size":11694,"stargazers_count":41,"watchers_count":41,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":47,"mirror_url":"git://git.apache.org/couchdb-fauxton.git","open_issues_count":12,"forks":47,"open_issues":12,"watchers":41,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/370"},"html":{"href":"https://github.com/apache/couchdb-fauxton/pull/370"},"issue":{"href":"https://api.github.com/repos/apache/couchdb-fauxton/issues/370"},"comments":{"href":"https://api.github.com/repos/apache/couchdb-fauxton/issues/370/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/370/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/370/commits"},"statuses":{"href":"https://api.github.com/repos/apache/couchdb-fauxton/statuses/3862179a54150610497e30ef3b2f389f1723fd13"}}}}