{"action":"opened","number":354,"pull_request":{"url":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/354","id":32458106,"html_url":"https://github.com/apache/couchdb-fauxton/pull/354","diff_url":"https://github.com/apache/couchdb-fauxton/pull/354.diff","patch_url":"https://github.com/apache/couchdb-fauxton/pull/354.patch","issue_url":"https://api.github.com/repos/apache/couchdb-fauxton/issues/354","number":354,"state":"open","locked":false,"title":"Allow customization of view loading styles","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":"By default, the core Fauxton code inserts a spinner for each view\r\nwhile it's loading. This can be removed via the disableLoader param\r\nbut not customized. This PR lets you define an optional\r\n`loaderStyles` property on your view to override the styles. The\r\nuse-case here is to provide a light-coloured loader on the dark-\r\nbackground Doc Editor page.\r\n\r\nI investigated using the new React spinner, but ran into problems\r\ntargeting views that weren't loaded yet in the page load lifecycle.\r\nThis seemed an elegant solution that tapped into what we already\r\nhad.","created_at":"2015-04-01T20:37:22Z","updated_at":"2015-04-01T20:37:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/354/commits","review_comments_url":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/354/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/354/comments","statuses_url":"https://api.github.com/repos/apache/couchdb-fauxton/statuses/225b44a34c9a4f95225c2355531480ba581e4c93","head":{"label":"benkeen:custom-loader-styles","ref":"custom-loader-styles","sha":"225b44a34c9a4f95225c2355531480ba581e4c93","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}","created_at":"2014-09-17T01:15:34Z","updated_at":"2015-03-30T16:19:14Z","pushed_at":"2015-04-01T20:37:13Z","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":8033,"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":"f183176e35c785d26e0e48acb5f2e90e717d665c","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-01T15:47:23Z","pushed_at":"2015-04-01T19:51:08Z","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":10827,"stargazers_count":40,"watchers_count":40,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":45,"mirror_url":"git://git.apache.org/couchdb-fauxton.git","open_issues_count":10,"forks":45,"open_issues":10,"watchers":40,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/354"},"html":{"href":"https://github.com/apache/couchdb-fauxton/pull/354"},"issue":{"href":"https://api.github.com/repos/apache/couchdb-fauxton/issues/354"},"comments":{"href":"https://api.github.com/repos/apache/couchdb-fauxton/issues/354/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/354/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/354/commits"},"statuses":{"href":"https://api.github.com/repos/apache/couchdb-fauxton/statuses/225b44a34c9a4f95225c2355531480ba581e4c93"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":10,"deletions":6,"changed_files":2}}