{"action":"created","comment":{"url":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/comments/53776369","id":53776369,"diff_hunk":"@@ -330,6 +331,7 @@ function (app, FauxtonAPI, React, Stores, Actions, Components, ReactComponents)\n         database: this.state.database,\n         newView: this.state.isNewView,\n         viewName: this.state.viewName,\n+        designDoc: indexEditorStore.getSaveDesignDoc(),","path":"app/addons/documents/index-editor/components.react.jsx","position":247,"original_position":247,"commit_id":"7331351213b11aef0bfe853d1a47fe33ae1f4bd6","original_commit_id":"7331351213b11aef0bfe853d1a47fe33ae1f4bd6","user":{"login":"robertkowalski","id":298166,"avatar_url":"https://avatars.githubusercontent.com/u/298166?v=3","gravatar_id":"","url":"https://api.github.com/users/robertkowalski","html_url":"https://github.com/robertkowalski","followers_url":"https://api.github.com/users/robertkowalski/followers","following_url":"https://api.github.com/users/robertkowalski/following{/other_user}","gists_url":"https://api.github.com/users/robertkowalski/gists{/gist_id}","starred_url":"https://api.github.com/users/robertkowalski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertkowalski/subscriptions","organizations_url":"https://api.github.com/users/robertkowalski/orgs","repos_url":"https://api.github.com/users/robertkowalski/repos","events_url":"https://api.github.com/users/robertkowalski/events{/privacy}","received_events_url":"https://api.github.com/users/robertkowalski/received_events","type":"User","site_admin":false},"body":"`this.state.saveDesignDoc`\r\n\r\nsaves performance & is in general nicer :)","created_at":"2016-02-23T13:02:49Z","updated_at":"2016-02-23T13:02:49Z","html_url":"https://github.com/apache/couchdb-fauxton/pull/650#discussion_r53776369","pull_request_url":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/650","_links":{"self":{"href":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/comments/53776369"},"html":{"href":"https://github.com/apache/couchdb-fauxton/pull/650#discussion_r53776369"},"pull_request":{"href":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/650"}}},"pull_request":{"url":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/650","id":60011278,"html_url":"https://github.com/apache/couchdb-fauxton/pull/650","diff_url":"https://github.com/apache/couchdb-fauxton/pull/650.diff","patch_url":"https://github.com/apache/couchdb-fauxton/pull/650.patch","issue_url":"https://api.github.com/repos/apache/couchdb-fauxton/issues/650","number":650,"state":"open","locked":false,"title":"Make DesignDocSelector into a dumb component","user":{"login":"benkeen","id":512116,"avatar_url":"https://avatars.githubusercontent.com/u/512116?v=3","gravatar_id":"","url":"https://api.github.com/users/benkeen","html_url":"https://github.com/benkeen","followers_url":"https://api.github.com/users/benkeen/followers","following_url":"https://api.github.com/users/benkeen/following{/other_user}","gists_url":"https://api.github.com/users/benkeen/gists{/gist_id}","starred_url":"https://api.github.com/users/benkeen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benkeen/subscriptions","organizations_url":"https://api.github.com/users/benkeen/orgs","repos_url":"https://api.github.com/users/benkeen/repos","events_url":"https://api.github.com/users/benkeen/events{/privacy}","received_events_url":"https://api.github.com/users/benkeen/received_events","type":"User","site_admin":false},"body":"The dumbifies the DesignDocSelector to remove all ties a to\r\nstore and passes everything via props so we can get more use out\r\nof it. Specifically, I need this for my next PR which includes\r\na new, generic Clone Index modal that'll use this component\r\nin different contexts (i.e. all index types).\r\n\r\nAlso includes validation in the component to make it more\r\nself-contained and allows for better UX by focusing on error fields.","created_at":"2016-02-19T21:39:33Z","updated_at":"2016-02-23T13:02:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"930525f59da8fd7d89de3e36b102b7cfa984b1ae","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/650/commits","review_comments_url":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/650/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/650/comments","statuses_url":"https://api.github.com/repos/apache/couchdb-fauxton/statuses/7331351213b11aef0bfe853d1a47fe33ae1f4bd6","head":{"label":"benkeen:design-doc-selector-update","ref":"design-doc-selector-update","sha":"7331351213b11aef0bfe853d1a47fe33ae1f4bd6","user":{"login":"benkeen","id":512116,"avatar_url":"https://avatars.githubusercontent.com/u/512116?v=3","gravatar_id":"","url":"https://api.github.com/users/benkeen","html_url":"https://github.com/benkeen","followers_url":"https://api.github.com/users/benkeen/followers","following_url":"https://api.github.com/users/benkeen/following{/other_user}","gists_url":"https://api.github.com/users/benkeen/gists{/gist_id}","starred_url":"https://api.github.com/users/benkeen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benkeen/subscriptions","organizations_url":"https://api.github.com/users/benkeen/orgs","repos_url":"https://api.github.com/users/benkeen/repos","events_url":"https://api.github.com/users/benkeen/events{/privacy}","received_events_url":"https://api.github.com/users/benkeen/received_events","type":"User","site_admin":false},"repo":{"id":24124373,"name":"couchdb-fauxton","full_name":"benkeen/couchdb-fauxton","owner":{"login":"benkeen","id":512116,"avatar_url":"https://avatars.githubusercontent.com/u/512116?v=3","gravatar_id":"","url":"https://api.github.com/users/benkeen","html_url":"https://github.com/benkeen","followers_url":"https://api.github.com/users/benkeen/followers","following_url":"https://api.github.com/users/benkeen/following{/other_user}","gists_url":"https://api.github.com/users/benkeen/gists{/gist_id}","starred_url":"https://api.github.com/users/benkeen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benkeen/subscriptions","organizations_url":"https://api.github.com/users/benkeen/orgs","repos_url":"https://api.github.com/users/benkeen/repos","events_url":"https://api.github.com/users/benkeen/events{/privacy}","received_events_url":"https://api.github.com/users/benkeen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/benkeen/couchdb-fauxton","description":"Mirror of Apache CouchDB","fork":true,"url":"https://api.github.com/repos/benkeen/couchdb-fauxton","forks_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/forks","keys_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/keys{/key_id}","collaborators_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/teams","hooks_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/hooks","issue_events_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/issues/events{/number}","events_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/events","assignees_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/assignees{/user}","branches_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/branches{/branch}","tags_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/tags","blobs_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/git/refs{/sha}","trees_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/git/trees{/sha}","statuses_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/statuses/{sha}","languages_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/languages","stargazers_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/stargazers","contributors_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/contributors","subscribers_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/subscribers","subscription_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/subscription","commits_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/commits{/sha}","git_commits_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/git/commits{/sha}","comments_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/comments{/number}","issue_comment_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/issues/comments{/number}","contents_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/contents/{+path}","compare_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/compare/{base}...{head}","merges_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/merges","archive_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/downloads","issues_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/issues{/number}","pulls_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/pulls{/number}","milestones_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/milestones{/number}","notifications_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/labels{/name}","releases_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/releases{/id}","deployments_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/deployments","created_at":"2014-09-17T01:15:34Z","updated_at":"2016-01-14T19:47:17Z","pushed_at":"2016-02-23T04:01:51Z","git_url":"git://github.com/benkeen/couchdb-fauxton.git","ssh_url":"git@github.com:benkeen/couchdb-fauxton.git","clone_url":"https://github.com/benkeen/couchdb-fauxton.git","svn_url":"https://github.com/benkeen/couchdb-fauxton","homepage":null,"size":8011,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"fb03640e5e4318577a3236ddd2461cc3cc5183be","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}","deployments_url":"https://api.github.com/repos/apache/couchdb-fauxton/deployments","created_at":"2014-01-17T08:00:08Z","updated_at":"2016-02-09T11:52:34Z","pushed_at":"2016-02-23T11:09:51Z","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":9357,"stargazers_count":77,"watchers_count":77,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":84,"mirror_url":"git://git.apache.org/couchdb-fauxton.git","open_issues_count":15,"forks":84,"open_issues":15,"watchers":77,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/650"},"html":{"href":"https://github.com/apache/couchdb-fauxton/pull/650"},"issue":{"href":"https://api.github.com/repos/apache/couchdb-fauxton/issues/650"},"comments":{"href":"https://api.github.com/repos/apache/couchdb-fauxton/issues/650/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/650/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/650/commits"},"statuses":{"href":"https://api.github.com/repos/apache/couchdb-fauxton/statuses/7331351213b11aef0bfe853d1a47fe33ae1f4bd6"}}}}