{"action":"created","comment":{"url":"https://api.github.com/repos/cockpit-project/cockpit/pulls/comments/59333011","id":59333011,"diff_hunk":"@@ -62,21 +62,21 @@\n                     }\n                 };\n \n-                self.toggle = function toggle(id, ev) {\n+                self.toggle = function toggle(id, kind, ev) {\n                     var value;\n                     if (id) {\n                         value = !(id in data);\n                         if (value)\n-                            self.expand(id, ev);\n+                            self.expand(id, kind, ev);","path":"pkg/kubernetes/scripts/listing.js","position":11,"original_position":11,"commit_id":"8340b4266d5e1b5e03edadaa0f6fde530b07c63e","original_commit_id":"8340b4266d5e1b5e03edadaa0f6fde530b07c63e","user":{"login":"stefwalter","id":795070,"avatar_url":"https://avatars.githubusercontent.com/u/795070?v=3","gravatar_id":"","url":"https://api.github.com/users/stefwalter","html_url":"https://github.com/stefwalter","followers_url":"https://api.github.com/users/stefwalter/followers","following_url":"https://api.github.com/users/stefwalter/following{/other_user}","gists_url":"https://api.github.com/users/stefwalter/gists{/gist_id}","starred_url":"https://api.github.com/users/stefwalter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefwalter/subscriptions","organizations_url":"https://api.github.com/users/stefwalter/orgs","repos_url":"https://api.github.com/users/stefwalter/repos","events_url":"https://api.github.com/users/stefwalter/events{/privacy}","received_events_url":"https://api.github.com/users/stefwalter/received_events","type":"User","site_admin":false},"body":"Can we make kind part of the id?","created_at":"2016-04-12T07:41:50Z","updated_at":"2016-04-12T07:41:50Z","html_url":"https://github.com/cockpit-project/cockpit/pull/4065#discussion_r59333011","pull_request_url":"https://api.github.com/repos/cockpit-project/cockpit/pulls/4065","_links":{"self":{"href":"https://api.github.com/repos/cockpit-project/cockpit/pulls/comments/59333011"},"html":{"href":"https://github.com/cockpit-project/cockpit/pull/4065#discussion_r59333011"},"pull_request":{"href":"https://api.github.com/repos/cockpit-project/cockpit/pulls/4065"}}},"pull_request":{"url":"https://api.github.com/repos/cockpit-project/cockpit/pulls/4065","id":63735021,"html_url":"https://github.com/cockpit-project/cockpit/pull/4065","diff_url":"https://github.com/cockpit-project/cockpit/pull/4065.diff","patch_url":"https://github.com/cockpit-project/cockpit/pull/4065.patch","issue_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/4065","number":4065,"state":"open","locked":false,"title":"atomic-registry: add/remove user in projects page","user":{"login":"sub-mod","id":7363264,"avatar_url":"https://avatars.githubusercontent.com/u/7363264?v=3","gravatar_id":"","url":"https://api.github.com/users/sub-mod","html_url":"https://github.com/sub-mod","followers_url":"https://api.github.com/users/sub-mod/followers","following_url":"https://api.github.com/users/sub-mod/following{/other_user}","gists_url":"https://api.github.com/users/sub-mod/gists{/gist_id}","starred_url":"https://api.github.com/users/sub-mod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sub-mod/subscriptions","organizations_url":"https://api.github.com/users/sub-mod/orgs","repos_url":"https://api.github.com/users/sub-mod/repos","events_url":"https://api.github.com/users/sub-mod/events{/privacy}","received_events_url":"https://api.github.com/users/sub-mod/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-22T15:04:21Z","updated_at":"2016-04-12T07:41:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"324c25a98f22efa37ffba8b5ae1953f26d2b9ba2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cockpit-project/cockpit/pulls/4065/commits","review_comments_url":"https://api.github.com/repos/cockpit-project/cockpit/pulls/4065/comments","review_comment_url":"https://api.github.com/repos/cockpit-project/cockpit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/4065/comments","statuses_url":"https://api.github.com/repos/cockpit-project/cockpit/statuses/8340b4266d5e1b5e03edadaa0f6fde530b07c63e","head":{"label":"sub-mod:user_panel","ref":"user_panel","sha":"8340b4266d5e1b5e03edadaa0f6fde530b07c63e","user":{"login":"sub-mod","id":7363264,"avatar_url":"https://avatars.githubusercontent.com/u/7363264?v=3","gravatar_id":"","url":"https://api.github.com/users/sub-mod","html_url":"https://github.com/sub-mod","followers_url":"https://api.github.com/users/sub-mod/followers","following_url":"https://api.github.com/users/sub-mod/following{/other_user}","gists_url":"https://api.github.com/users/sub-mod/gists{/gist_id}","starred_url":"https://api.github.com/users/sub-mod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sub-mod/subscriptions","organizations_url":"https://api.github.com/users/sub-mod/orgs","repos_url":"https://api.github.com/users/sub-mod/repos","events_url":"https://api.github.com/users/sub-mod/events{/privacy}","received_events_url":"https://api.github.com/users/sub-mod/received_events","type":"User","site_admin":false},"repo":{"id":29312092,"name":"cockpit","full_name":"sub-mod/cockpit","owner":{"login":"sub-mod","id":7363264,"avatar_url":"https://avatars.githubusercontent.com/u/7363264?v=3","gravatar_id":"","url":"https://api.github.com/users/sub-mod","html_url":"https://github.com/sub-mod","followers_url":"https://api.github.com/users/sub-mod/followers","following_url":"https://api.github.com/users/sub-mod/following{/other_user}","gists_url":"https://api.github.com/users/sub-mod/gists{/gist_id}","starred_url":"https://api.github.com/users/sub-mod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sub-mod/subscriptions","organizations_url":"https://api.github.com/users/sub-mod/orgs","repos_url":"https://api.github.com/users/sub-mod/repos","events_url":"https://api.github.com/users/sub-mod/events{/privacy}","received_events_url":"https://api.github.com/users/sub-mod/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sub-mod/cockpit","description":"Cockpit, a user interface for GNU/Linux servers","fork":true,"url":"https://api.github.com/repos/sub-mod/cockpit","forks_url":"https://api.github.com/repos/sub-mod/cockpit/forks","keys_url":"https://api.github.com/repos/sub-mod/cockpit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sub-mod/cockpit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sub-mod/cockpit/teams","hooks_url":"https://api.github.com/repos/sub-mod/cockpit/hooks","issue_events_url":"https://api.github.com/repos/sub-mod/cockpit/issues/events{/number}","events_url":"https://api.github.com/repos/sub-mod/cockpit/events","assignees_url":"https://api.github.com/repos/sub-mod/cockpit/assignees{/user}","branches_url":"https://api.github.com/repos/sub-mod/cockpit/branches{/branch}","tags_url":"https://api.github.com/repos/sub-mod/cockpit/tags","blobs_url":"https://api.github.com/repos/sub-mod/cockpit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sub-mod/cockpit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sub-mod/cockpit/git/refs{/sha}","trees_url":"https://api.github.com/repos/sub-mod/cockpit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sub-mod/cockpit/statuses/{sha}","languages_url":"https://api.github.com/repos/sub-mod/cockpit/languages","stargazers_url":"https://api.github.com/repos/sub-mod/cockpit/stargazers","contributors_url":"https://api.github.com/repos/sub-mod/cockpit/contributors","subscribers_url":"https://api.github.com/repos/sub-mod/cockpit/subscribers","subscription_url":"https://api.github.com/repos/sub-mod/cockpit/subscription","commits_url":"https://api.github.com/repos/sub-mod/cockpit/commits{/sha}","git_commits_url":"https://api.github.com/repos/sub-mod/cockpit/git/commits{/sha}","comments_url":"https://api.github.com/repos/sub-mod/cockpit/comments{/number}","issue_comment_url":"https://api.github.com/repos/sub-mod/cockpit/issues/comments{/number}","contents_url":"https://api.github.com/repos/sub-mod/cockpit/contents/{+path}","compare_url":"https://api.github.com/repos/sub-mod/cockpit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sub-mod/cockpit/merges","archive_url":"https://api.github.com/repos/sub-mod/cockpit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sub-mod/cockpit/downloads","issues_url":"https://api.github.com/repos/sub-mod/cockpit/issues{/number}","pulls_url":"https://api.github.com/repos/sub-mod/cockpit/pulls{/number}","milestones_url":"https://api.github.com/repos/sub-mod/cockpit/milestones{/number}","notifications_url":"https://api.github.com/repos/sub-mod/cockpit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sub-mod/cockpit/labels{/name}","releases_url":"https://api.github.com/repos/sub-mod/cockpit/releases{/id}","deployments_url":"https://api.github.com/repos/sub-mod/cockpit/deployments","created_at":"2015-01-15T18:40:27Z","updated_at":"2015-01-23T12:01:29Z","pushed_at":"2016-04-11T18:36:52Z","git_url":"git://github.com/sub-mod/cockpit.git","ssh_url":"git@github.com:sub-mod/cockpit.git","clone_url":"https://github.com/sub-mod/cockpit.git","svn_url":"https://github.com/sub-mod/cockpit","homepage":"http://www.cockpit-project.org/","size":23912,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cockpit-project:master","ref":"master","sha":"4be9e6ed377a6a0ce6e5bbc7358fdc4337839bdf","user":{"login":"cockpit-project","id":5765104,"avatar_url":"https://avatars.githubusercontent.com/u/5765104?v=3","gravatar_id":"","url":"https://api.github.com/users/cockpit-project","html_url":"https://github.com/cockpit-project","followers_url":"https://api.github.com/users/cockpit-project/followers","following_url":"https://api.github.com/users/cockpit-project/following{/other_user}","gists_url":"https://api.github.com/users/cockpit-project/gists{/gist_id}","starred_url":"https://api.github.com/users/cockpit-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cockpit-project/subscriptions","organizations_url":"https://api.github.com/users/cockpit-project/orgs","repos_url":"https://api.github.com/users/cockpit-project/repos","events_url":"https://api.github.com/users/cockpit-project/events{/privacy}","received_events_url":"https://api.github.com/users/cockpit-project/received_events","type":"Organization","site_admin":false},"repo":{"id":14049216,"name":"cockpit","full_name":"cockpit-project/cockpit","owner":{"login":"cockpit-project","id":5765104,"avatar_url":"https://avatars.githubusercontent.com/u/5765104?v=3","gravatar_id":"","url":"https://api.github.com/users/cockpit-project","html_url":"https://github.com/cockpit-project","followers_url":"https://api.github.com/users/cockpit-project/followers","following_url":"https://api.github.com/users/cockpit-project/following{/other_user}","gists_url":"https://api.github.com/users/cockpit-project/gists{/gist_id}","starred_url":"https://api.github.com/users/cockpit-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cockpit-project/subscriptions","organizations_url":"https://api.github.com/users/cockpit-project/orgs","repos_url":"https://api.github.com/users/cockpit-project/repos","events_url":"https://api.github.com/users/cockpit-project/events{/privacy}","received_events_url":"https://api.github.com/users/cockpit-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cockpit-project/cockpit","description":"Cockpit, a user interface for Linux servers","fork":false,"url":"https://api.github.com/repos/cockpit-project/cockpit","forks_url":"https://api.github.com/repos/cockpit-project/cockpit/forks","keys_url":"https://api.github.com/repos/cockpit-project/cockpit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cockpit-project/cockpit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cockpit-project/cockpit/teams","hooks_url":"https://api.github.com/repos/cockpit-project/cockpit/hooks","issue_events_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/events{/number}","events_url":"https://api.github.com/repos/cockpit-project/cockpit/events","assignees_url":"https://api.github.com/repos/cockpit-project/cockpit/assignees{/user}","branches_url":"https://api.github.com/repos/cockpit-project/cockpit/branches{/branch}","tags_url":"https://api.github.com/repos/cockpit-project/cockpit/tags","blobs_url":"https://api.github.com/repos/cockpit-project/cockpit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cockpit-project/cockpit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cockpit-project/cockpit/git/refs{/sha}","trees_url":"https://api.github.com/repos/cockpit-project/cockpit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cockpit-project/cockpit/statuses/{sha}","languages_url":"https://api.github.com/repos/cockpit-project/cockpit/languages","stargazers_url":"https://api.github.com/repos/cockpit-project/cockpit/stargazers","contributors_url":"https://api.github.com/repos/cockpit-project/cockpit/contributors","subscribers_url":"https://api.github.com/repos/cockpit-project/cockpit/subscribers","subscription_url":"https://api.github.com/repos/cockpit-project/cockpit/subscription","commits_url":"https://api.github.com/repos/cockpit-project/cockpit/commits{/sha}","git_commits_url":"https://api.github.com/repos/cockpit-project/cockpit/git/commits{/sha}","comments_url":"https://api.github.com/repos/cockpit-project/cockpit/comments{/number}","issue_comment_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/comments{/number}","contents_url":"https://api.github.com/repos/cockpit-project/cockpit/contents/{+path}","compare_url":"https://api.github.com/repos/cockpit-project/cockpit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cockpit-project/cockpit/merges","archive_url":"https://api.github.com/repos/cockpit-project/cockpit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cockpit-project/cockpit/downloads","issues_url":"https://api.github.com/repos/cockpit-project/cockpit/issues{/number}","pulls_url":"https://api.github.com/repos/cockpit-project/cockpit/pulls{/number}","milestones_url":"https://api.github.com/repos/cockpit-project/cockpit/milestones{/number}","notifications_url":"https://api.github.com/repos/cockpit-project/cockpit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cockpit-project/cockpit/labels{/name}","releases_url":"https://api.github.com/repos/cockpit-project/cockpit/releases{/id}","deployments_url":"https://api.github.com/repos/cockpit-project/cockpit/deployments","created_at":"2013-11-01T17:36:46Z","updated_at":"2016-04-12T01:43:47Z","pushed_at":"2016-04-11T20:51:44Z","git_url":"git://github.com/cockpit-project/cockpit.git","ssh_url":"git@github.com:cockpit-project/cockpit.git","clone_url":"https://github.com/cockpit-project/cockpit.git","svn_url":"https://github.com/cockpit-project/cockpit","homepage":"http://www.cockpit-project.org/","size":34234,"stargazers_count":1543,"watchers_count":1543,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":188,"mirror_url":null,"open_issues_count":363,"forks":188,"open_issues":363,"watchers":1543,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cockpit-project/cockpit/pulls/4065"},"html":{"href":"https://github.com/cockpit-project/cockpit/pull/4065"},"issue":{"href":"https://api.github.com/repos/cockpit-project/cockpit/issues/4065"},"comments":{"href":"https://api.github.com/repos/cockpit-project/cockpit/issues/4065/comments"},"review_comments":{"href":"https://api.github.com/repos/cockpit-project/cockpit/pulls/4065/comments"},"review_comment":{"href":"https://api.github.com/repos/cockpit-project/cockpit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cockpit-project/cockpit/pulls/4065/commits"},"statuses":{"href":"https://api.github.com/repos/cockpit-project/cockpit/statuses/8340b4266d5e1b5e03edadaa0f6fde530b07c63e"}}}}