{"action":"created","comment":{"url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/pulls/comments/50814864","id":50814864,"diff_hunk":"@@ -6,10 +6,15 @@ Template.sidebar.helpers({\n     var backendsCount  = ApiBackends.find({managerIds: currentUserId}).count();\n     // return true if user has backends\n     return backendsCount > 0;\n+  },\n+  apiDoc_notEmpty : function() {","path":"client/layouts/master_layout/sidebar/sidebar.js","position":5,"original_position":5,"commit_id":"6804790dcf186b434e1cb253c5e0b0e78caaa632","original_commit_id":"6804790dcf186b434e1cb253c5e0b0e78caaa632","user":{"login":"brylie","id":17307,"avatar_url":"https://avatars.githubusercontent.com/u/17307?v=3","gravatar_id":"","url":"https://api.github.com/users/brylie","html_url":"https://github.com/brylie","followers_url":"https://api.github.com/users/brylie/followers","following_url":"https://api.github.com/users/brylie/following{/other_user}","gists_url":"https://api.github.com/users/brylie/gists{/gist_id}","starred_url":"https://api.github.com/users/brylie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brylie/subscriptions","organizations_url":"https://api.github.com/users/brylie/orgs","repos_url":"https://api.github.com/users/brylie/repos","events_url":"https://api.github.com/users/brylie/events{/privacy}","received_events_url":"https://api.github.com/users/brylie/received_events","type":"User","site_admin":false},"body":"In effect, the `not_empty` part, while accurate, does not describe the purpose of the check. Simply renaming the function can make the purpose more clear.","created_at":"2016-01-26T10:02:31Z","updated_at":"2016-01-26T10:02:31Z","html_url":"https://github.com/apinf/api-umbrella-dashboard/pull/794#discussion_r50814864","pull_request_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/pulls/794","_links":{"self":{"href":"https://api.github.com/repos/apinf/api-umbrella-dashboard/pulls/comments/50814864"},"html":{"href":"https://github.com/apinf/api-umbrella-dashboard/pull/794#discussion_r50814864"},"pull_request":{"href":"https://api.github.com/repos/apinf/api-umbrella-dashboard/pulls/794"}}},"pull_request":{"url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/pulls/794","id":57085376,"html_url":"https://github.com/apinf/api-umbrella-dashboard/pull/794","diff_url":"https://github.com/apinf/api-umbrella-dashboard/pull/794.diff","patch_url":"https://github.com/apinf/api-umbrella-dashboard/pull/794.patch","issue_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/issues/794","number":794,"state":"open","locked":false,"title":"Adding apiDocumentationEditor to collection and settings page.","user":{"login":"sebbel","id":1940568,"avatar_url":"https://avatars.githubusercontent.com/u/1940568?v=3","gravatar_id":"","url":"https://api.github.com/users/sebbel","html_url":"https://github.com/sebbel","followers_url":"https://api.github.com/users/sebbel/followers","following_url":"https://api.github.com/users/sebbel/following{/other_user}","gists_url":"https://api.github.com/users/sebbel/gists{/gist_id}","starred_url":"https://api.github.com/users/sebbel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebbel/subscriptions","organizations_url":"https://api.github.com/users/sebbel/orgs","repos_url":"https://api.github.com/users/sebbel/repos","events_url":"https://api.github.com/users/sebbel/events{/privacy}","received_events_url":"https://api.github.com/users/sebbel/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-25T15:27:18Z","updated_at":"2016-01-26T10:02:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4235b7c1c345031e9c049964baf91b740ab807a2","assignee":{"login":"brylie","id":17307,"avatar_url":"https://avatars.githubusercontent.com/u/17307?v=3","gravatar_id":"","url":"https://api.github.com/users/brylie","html_url":"https://github.com/brylie","followers_url":"https://api.github.com/users/brylie/followers","following_url":"https://api.github.com/users/brylie/following{/other_user}","gists_url":"https://api.github.com/users/brylie/gists{/gist_id}","starred_url":"https://api.github.com/users/brylie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brylie/subscriptions","organizations_url":"https://api.github.com/users/brylie/orgs","repos_url":"https://api.github.com/users/brylie/repos","events_url":"https://api.github.com/users/brylie/events{/privacy}","received_events_url":"https://api.github.com/users/brylie/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/pulls/794/commits","review_comments_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/pulls/794/comments","review_comment_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/issues/794/comments","statuses_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/statuses/6804790dcf186b434e1cb253c5e0b0e78caaa632","head":{"label":"apinf:feature/792-add-apidocumentation","ref":"feature/792-add-apidocumentation","sha":"6804790dcf186b434e1cb253c5e0b0e78caaa632","user":{"login":"apinf","id":9882661,"avatar_url":"https://avatars.githubusercontent.com/u/9882661?v=3","gravatar_id":"","url":"https://api.github.com/users/apinf","html_url":"https://github.com/apinf","followers_url":"https://api.github.com/users/apinf/followers","following_url":"https://api.github.com/users/apinf/following{/other_user}","gists_url":"https://api.github.com/users/apinf/gists{/gist_id}","starred_url":"https://api.github.com/users/apinf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apinf/subscriptions","organizations_url":"https://api.github.com/users/apinf/orgs","repos_url":"https://api.github.com/users/apinf/repos","events_url":"https://api.github.com/users/apinf/events{/privacy}","received_events_url":"https://api.github.com/users/apinf/received_events","type":"Organization","site_admin":false},"repo":{"id":31646449,"name":"api-umbrella-dashboard","full_name":"apinf/api-umbrella-dashboard","owner":{"login":"apinf","id":9882661,"avatar_url":"https://avatars.githubusercontent.com/u/9882661?v=3","gravatar_id":"","url":"https://api.github.com/users/apinf","html_url":"https://github.com/apinf","followers_url":"https://api.github.com/users/apinf/followers","following_url":"https://api.github.com/users/apinf/following{/other_user}","gists_url":"https://api.github.com/users/apinf/gists{/gist_id}","starred_url":"https://api.github.com/users/apinf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apinf/subscriptions","organizations_url":"https://api.github.com/users/apinf/orgs","repos_url":"https://api.github.com/users/apinf/repos","events_url":"https://api.github.com/users/apinf/events{/privacy}","received_events_url":"https://api.github.com/users/apinf/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apinf/api-umbrella-dashboard","description":"Dashboard component for the open-source API management platform API Umbrella.","fork":false,"url":"https://api.github.com/repos/apinf/api-umbrella-dashboard","forks_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/forks","keys_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/teams","hooks_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/hooks","issue_events_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/issues/events{/number}","events_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/events","assignees_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/assignees{/user}","branches_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/branches{/branch}","tags_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/tags","blobs_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/git/refs{/sha}","trees_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/statuses/{sha}","languages_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/languages","stargazers_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/stargazers","contributors_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/contributors","subscribers_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/subscribers","subscription_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/subscription","commits_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/commits{/sha}","git_commits_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/git/commits{/sha}","comments_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/comments{/number}","issue_comment_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/issues/comments{/number}","contents_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/contents/{+path}","compare_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/merges","archive_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/downloads","issues_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/issues{/number}","pulls_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/pulls{/number}","milestones_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/milestones{/number}","notifications_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/labels{/name}","releases_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/releases{/id}","deployments_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/deployments","created_at":"2015-03-04T08:33:18Z","updated_at":"2016-01-12T17:45:53Z","pushed_at":"2016-01-26T09:36:57Z","git_url":"git://github.com/apinf/api-umbrella-dashboard.git","ssh_url":"git@github.com:apinf/api-umbrella-dashboard.git","clone_url":"https://github.com/apinf/api-umbrella-dashboard.git","svn_url":"https://github.com/apinf/api-umbrella-dashboard","homepage":null,"size":16330,"stargazers_count":13,"watchers_count":13,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":174,"forks":8,"open_issues":174,"watchers":13,"default_branch":"develop"}},"base":{"label":"apinf:develop","ref":"develop","sha":"919ba85c60eb6d1124df79501b422711e7b91743","user":{"login":"apinf","id":9882661,"avatar_url":"https://avatars.githubusercontent.com/u/9882661?v=3","gravatar_id":"","url":"https://api.github.com/users/apinf","html_url":"https://github.com/apinf","followers_url":"https://api.github.com/users/apinf/followers","following_url":"https://api.github.com/users/apinf/following{/other_user}","gists_url":"https://api.github.com/users/apinf/gists{/gist_id}","starred_url":"https://api.github.com/users/apinf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apinf/subscriptions","organizations_url":"https://api.github.com/users/apinf/orgs","repos_url":"https://api.github.com/users/apinf/repos","events_url":"https://api.github.com/users/apinf/events{/privacy}","received_events_url":"https://api.github.com/users/apinf/received_events","type":"Organization","site_admin":false},"repo":{"id":31646449,"name":"api-umbrella-dashboard","full_name":"apinf/api-umbrella-dashboard","owner":{"login":"apinf","id":9882661,"avatar_url":"https://avatars.githubusercontent.com/u/9882661?v=3","gravatar_id":"","url":"https://api.github.com/users/apinf","html_url":"https://github.com/apinf","followers_url":"https://api.github.com/users/apinf/followers","following_url":"https://api.github.com/users/apinf/following{/other_user}","gists_url":"https://api.github.com/users/apinf/gists{/gist_id}","starred_url":"https://api.github.com/users/apinf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apinf/subscriptions","organizations_url":"https://api.github.com/users/apinf/orgs","repos_url":"https://api.github.com/users/apinf/repos","events_url":"https://api.github.com/users/apinf/events{/privacy}","received_events_url":"https://api.github.com/users/apinf/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apinf/api-umbrella-dashboard","description":"Dashboard component for the open-source API management platform API Umbrella.","fork":false,"url":"https://api.github.com/repos/apinf/api-umbrella-dashboard","forks_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/forks","keys_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/teams","hooks_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/hooks","issue_events_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/issues/events{/number}","events_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/events","assignees_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/assignees{/user}","branches_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/branches{/branch}","tags_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/tags","blobs_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/git/refs{/sha}","trees_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/statuses/{sha}","languages_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/languages","stargazers_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/stargazers","contributors_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/contributors","subscribers_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/subscribers","subscription_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/subscription","commits_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/commits{/sha}","git_commits_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/git/commits{/sha}","comments_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/comments{/number}","issue_comment_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/issues/comments{/number}","contents_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/contents/{+path}","compare_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/merges","archive_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/downloads","issues_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/issues{/number}","pulls_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/pulls{/number}","milestones_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/milestones{/number}","notifications_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/labels{/name}","releases_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/releases{/id}","deployments_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/deployments","created_at":"2015-03-04T08:33:18Z","updated_at":"2016-01-12T17:45:53Z","pushed_at":"2016-01-26T09:36:57Z","git_url":"git://github.com/apinf/api-umbrella-dashboard.git","ssh_url":"git@github.com:apinf/api-umbrella-dashboard.git","clone_url":"https://github.com/apinf/api-umbrella-dashboard.git","svn_url":"https://github.com/apinf/api-umbrella-dashboard","homepage":null,"size":16330,"stargazers_count":13,"watchers_count":13,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":174,"forks":8,"open_issues":174,"watchers":13,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/apinf/api-umbrella-dashboard/pulls/794"},"html":{"href":"https://github.com/apinf/api-umbrella-dashboard/pull/794"},"issue":{"href":"https://api.github.com/repos/apinf/api-umbrella-dashboard/issues/794"},"comments":{"href":"https://api.github.com/repos/apinf/api-umbrella-dashboard/issues/794/comments"},"review_comments":{"href":"https://api.github.com/repos/apinf/api-umbrella-dashboard/pulls/794/comments"},"review_comment":{"href":"https://api.github.com/repos/apinf/api-umbrella-dashboard/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apinf/api-umbrella-dashboard/pulls/794/commits"},"statuses":{"href":"https://api.github.com/repos/apinf/api-umbrella-dashboard/statuses/6804790dcf186b434e1cb253c5e0b0e78caaa632"}}}}