{"action":"created","comment":{"url":"https://api.github.com/repos/openhealthcare/opal/pulls/comments/221999781","pull_request_review_id":160783149,"id":221999781,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMTk5OTc4MQ==","diff_hunk":"@@ -62,3 +62,7 @@ def get_javascripts(klass):\n         Return the javascripts for our plugin\n         \"\"\"\n         return [j for j in klass.javascripts]\n+\n+    @classmethod\n+    def get_menu_items(self, user=None):","path":"opal/core/plugins.py","position":6,"original_position":6,"commit_id":"9fccd5f0033ed40407a68cc852bd9ed27286a43f","original_commit_id":"9fccd5f0033ed40407a68cc852bd9ed27286a43f","user":{"login":"davidmiller","id":17229,"node_id":"MDQ6VXNlcjE3MjI5","avatar_url":"https://avatars3.githubusercontent.com/u/17229?v=4","gravatar_id":"","url":"https://api.github.com/users/davidmiller","html_url":"https://github.com/davidmiller","followers_url":"https://api.github.com/users/davidmiller/followers","following_url":"https://api.github.com/users/davidmiller/following{/other_user}","gists_url":"https://api.github.com/users/davidmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/davidmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidmiller/subscriptions","organizations_url":"https://api.github.com/users/davidmiller/orgs","repos_url":"https://api.github.com/users/davidmiller/repos","events_url":"https://api.github.com/users/davidmiller/events{/privacy}","received_events_url":"https://api.github.com/users/davidmiller/received_events","type":"User","site_admin":false},"body":"Classmethod so not `self` probably...","created_at":"2018-10-02T15:29:40Z","updated_at":"2018-10-02T15:29:40Z","html_url":"https://github.com/openhealthcare/opal/pull/1572#discussion_r221999781","pull_request_url":"https://api.github.com/repos/openhealthcare/opal/pulls/1572","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/openhealthcare/opal/pulls/comments/221999781"},"html":{"href":"https://github.com/openhealthcare/opal/pull/1572#discussion_r221999781"},"pull_request":{"href":"https://api.github.com/repos/openhealthcare/opal/pulls/1572"}}},"pull_request":{"url":"https://api.github.com/repos/openhealthcare/opal/pulls/1572","id":202188881,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyMTg4ODgx","html_url":"https://github.com/openhealthcare/opal/pull/1572","diff_url":"https://github.com/openhealthcare/opal/pull/1572.diff","patch_url":"https://github.com/openhealthcare/opal/pull/1572.patch","issue_url":"https://api.github.com/repos/openhealthcare/opal/issues/1572","number":1572,"state":"open","locked":false,"title":"adds a for user method to the menu item, similar to what we do with d…","user":{"login":"fredkingham","id":2175455,"node_id":"MDQ6VXNlcjIxNzU0NTU=","avatar_url":"https://avatars1.githubusercontent.com/u/2175455?v=4","gravatar_id":"","url":"https://api.github.com/users/fredkingham","html_url":"https://github.com/fredkingham","followers_url":"https://api.github.com/users/fredkingham/followers","following_url":"https://api.github.com/users/fredkingham/following{/other_user}","gists_url":"https://api.github.com/users/fredkingham/gists{/gist_id}","starred_url":"https://api.github.com/users/fredkingham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fredkingham/subscriptions","organizations_url":"https://api.github.com/users/fredkingham/orgs","repos_url":"https://api.github.com/users/fredkingham/repos","events_url":"https://api.github.com/users/fredkingham/events{/privacy}","received_events_url":"https://api.github.com/users/fredkingham/received_events","type":"User","site_admin":false},"body":"…iscoverables","created_at":"2018-07-18T09:21:53Z","updated_at":"2018-10-02T15:29:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8eec996aa668894c1520d0f1e32f18a115d007f1","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/openhealthcare/opal/pulls/1572/commits","review_comments_url":"https://api.github.com/repos/openhealthcare/opal/pulls/1572/comments","review_comment_url":"https://api.github.com/repos/openhealthcare/opal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openhealthcare/opal/issues/1572/comments","statuses_url":"https://api.github.com/repos/openhealthcare/opal/statuses/9fccd5f0033ed40407a68cc852bd9ed27286a43f","head":{"label":"openhealthcare:menu-items-for-user","ref":"menu-items-for-user","sha":"9fccd5f0033ed40407a68cc852bd9ed27286a43f","user":{"login":"openhealthcare","id":1117166,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMTcxNjY=","avatar_url":"https://avatars2.githubusercontent.com/u/1117166?v=4","gravatar_id":"","url":"https://api.github.com/users/openhealthcare","html_url":"https://github.com/openhealthcare","followers_url":"https://api.github.com/users/openhealthcare/followers","following_url":"https://api.github.com/users/openhealthcare/following{/other_user}","gists_url":"https://api.github.com/users/openhealthcare/gists{/gist_id}","starred_url":"https://api.github.com/users/openhealthcare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openhealthcare/subscriptions","organizations_url":"https://api.github.com/users/openhealthcare/orgs","repos_url":"https://api.github.com/users/openhealthcare/repos","events_url":"https://api.github.com/users/openhealthcare/events{/privacy}","received_events_url":"https://api.github.com/users/openhealthcare/received_events","type":"Organization","site_admin":false},"repo":{"id":10037542,"node_id":"MDEwOlJlcG9zaXRvcnkxMDAzNzU0Mg==","name":"opal","full_name":"openhealthcare/opal","private":false,"owner":{"login":"openhealthcare","id":1117166,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMTcxNjY=","avatar_url":"https://avatars2.githubusercontent.com/u/1117166?v=4","gravatar_id":"","url":"https://api.github.com/users/openhealthcare","html_url":"https://github.com/openhealthcare","followers_url":"https://api.github.com/users/openhealthcare/followers","following_url":"https://api.github.com/users/openhealthcare/following{/other_user}","gists_url":"https://api.github.com/users/openhealthcare/gists{/gist_id}","starred_url":"https://api.github.com/users/openhealthcare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openhealthcare/subscriptions","organizations_url":"https://api.github.com/users/openhealthcare/orgs","repos_url":"https://api.github.com/users/openhealthcare/repos","events_url":"https://api.github.com/users/openhealthcare/events{/privacy}","received_events_url":"https://api.github.com/users/openhealthcare/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/openhealthcare/opal","description":"A web framework for building highly usable healthcare applications.","fork":false,"url":"https://api.github.com/repos/openhealthcare/opal","forks_url":"https://api.github.com/repos/openhealthcare/opal/forks","keys_url":"https://api.github.com/repos/openhealthcare/opal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openhealthcare/opal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openhealthcare/opal/teams","hooks_url":"https://api.github.com/repos/openhealthcare/opal/hooks","issue_events_url":"https://api.github.com/repos/openhealthcare/opal/issues/events{/number}","events_url":"https://api.github.com/repos/openhealthcare/opal/events","assignees_url":"https://api.github.com/repos/openhealthcare/opal/assignees{/user}","branches_url":"https://api.github.com/repos/openhealthcare/opal/branches{/branch}","tags_url":"https://api.github.com/repos/openhealthcare/opal/tags","blobs_url":"https://api.github.com/repos/openhealthcare/opal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openhealthcare/opal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openhealthcare/opal/git/refs{/sha}","trees_url":"https://api.github.com/repos/openhealthcare/opal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openhealthcare/opal/statuses/{sha}","languages_url":"https://api.github.com/repos/openhealthcare/opal/languages","stargazers_url":"https://api.github.com/repos/openhealthcare/opal/stargazers","contributors_url":"https://api.github.com/repos/openhealthcare/opal/contributors","subscribers_url":"https://api.github.com/repos/openhealthcare/opal/subscribers","subscription_url":"https://api.github.com/repos/openhealthcare/opal/subscription","commits_url":"https://api.github.com/repos/openhealthcare/opal/commits{/sha}","git_commits_url":"https://api.github.com/repos/openhealthcare/opal/git/commits{/sha}","comments_url":"https://api.github.com/repos/openhealthcare/opal/comments{/number}","issue_comment_url":"https://api.github.com/repos/openhealthcare/opal/issues/comments{/number}","contents_url":"https://api.github.com/repos/openhealthcare/opal/contents/{+path}","compare_url":"https://api.github.com/repos/openhealthcare/opal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openhealthcare/opal/merges","archive_url":"https://api.github.com/repos/openhealthcare/opal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openhealthcare/opal/downloads","issues_url":"https://api.github.com/repos/openhealthcare/opal/issues{/number}","pulls_url":"https://api.github.com/repos/openhealthcare/opal/pulls{/number}","milestones_url":"https://api.github.com/repos/openhealthcare/opal/milestones{/number}","notifications_url":"https://api.github.com/repos/openhealthcare/opal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openhealthcare/opal/labels{/name}","releases_url":"https://api.github.com/repos/openhealthcare/opal/releases{/id}","deployments_url":"https://api.github.com/repos/openhealthcare/opal/deployments","created_at":"2013-05-13T17:52:07Z","updated_at":"2018-10-01T18:59:01Z","pushed_at":"2018-10-01T18:59:03Z","git_url":"git://github.com/openhealthcare/opal.git","ssh_url":"git@github.com:openhealthcare/opal.git","clone_url":"https://github.com/openhealthcare/opal.git","svn_url":"https://github.com/openhealthcare/opal","homepage":"http://opal.openhealthcare.org.uk/","size":20768,"stargazers_count":110,"watchers_count":110,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":34,"mirror_url":null,"archived":false,"open_issues_count":124,"license":{"key":"other","name":"NOASSERTION","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":34,"open_issues":124,"watchers":110,"default_branch":"v0.12.0"}},"base":{"label":"openhealthcare:v0.12.0","ref":"v0.12.0","sha":"fd1feb91d6fd0e72ae4d399cc85a30e47db70ee0","user":{"login":"openhealthcare","id":1117166,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMTcxNjY=","avatar_url":"https://avatars2.githubusercontent.com/u/1117166?v=4","gravatar_id":"","url":"https://api.github.com/users/openhealthcare","html_url":"https://github.com/openhealthcare","followers_url":"https://api.github.com/users/openhealthcare/followers","following_url":"https://api.github.com/users/openhealthcare/following{/other_user}","gists_url":"https://api.github.com/users/openhealthcare/gists{/gist_id}","starred_url":"https://api.github.com/users/openhealthcare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openhealthcare/subscriptions","organizations_url":"https://api.github.com/users/openhealthcare/orgs","repos_url":"https://api.github.com/users/openhealthcare/repos","events_url":"https://api.github.com/users/openhealthcare/events{/privacy}","received_events_url":"https://api.github.com/users/openhealthcare/received_events","type":"Organization","site_admin":false},"repo":{"id":10037542,"node_id":"MDEwOlJlcG9zaXRvcnkxMDAzNzU0Mg==","name":"opal","full_name":"openhealthcare/opal","private":false,"owner":{"login":"openhealthcare","id":1117166,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMTcxNjY=","avatar_url":"https://avatars2.githubusercontent.com/u/1117166?v=4","gravatar_id":"","url":"https://api.github.com/users/openhealthcare","html_url":"https://github.com/openhealthcare","followers_url":"https://api.github.com/users/openhealthcare/followers","following_url":"https://api.github.com/users/openhealthcare/following{/other_user}","gists_url":"https://api.github.com/users/openhealthcare/gists{/gist_id}","starred_url":"https://api.github.com/users/openhealthcare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openhealthcare/subscriptions","organizations_url":"https://api.github.com/users/openhealthcare/orgs","repos_url":"https://api.github.com/users/openhealthcare/repos","events_url":"https://api.github.com/users/openhealthcare/events{/privacy}","received_events_url":"https://api.github.com/users/openhealthcare/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/openhealthcare/opal","description":"A web framework for building highly usable healthcare applications.","fork":false,"url":"https://api.github.com/repos/openhealthcare/opal","forks_url":"https://api.github.com/repos/openhealthcare/opal/forks","keys_url":"https://api.github.com/repos/openhealthcare/opal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openhealthcare/opal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openhealthcare/opal/teams","hooks_url":"https://api.github.com/repos/openhealthcare/opal/hooks","issue_events_url":"https://api.github.com/repos/openhealthcare/opal/issues/events{/number}","events_url":"https://api.github.com/repos/openhealthcare/opal/events","assignees_url":"https://api.github.com/repos/openhealthcare/opal/assignees{/user}","branches_url":"https://api.github.com/repos/openhealthcare/opal/branches{/branch}","tags_url":"https://api.github.com/repos/openhealthcare/opal/tags","blobs_url":"https://api.github.com/repos/openhealthcare/opal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openhealthcare/opal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openhealthcare/opal/git/refs{/sha}","trees_url":"https://api.github.com/repos/openhealthcare/opal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openhealthcare/opal/statuses/{sha}","languages_url":"https://api.github.com/repos/openhealthcare/opal/languages","stargazers_url":"https://api.github.com/repos/openhealthcare/opal/stargazers","contributors_url":"https://api.github.com/repos/openhealthcare/opal/contributors","subscribers_url":"https://api.github.com/repos/openhealthcare/opal/subscribers","subscription_url":"https://api.github.com/repos/openhealthcare/opal/subscription","commits_url":"https://api.github.com/repos/openhealthcare/opal/commits{/sha}","git_commits_url":"https://api.github.com/repos/openhealthcare/opal/git/commits{/sha}","comments_url":"https://api.github.com/repos/openhealthcare/opal/comments{/number}","issue_comment_url":"https://api.github.com/repos/openhealthcare/opal/issues/comments{/number}","contents_url":"https://api.github.com/repos/openhealthcare/opal/contents/{+path}","compare_url":"https://api.github.com/repos/openhealthcare/opal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openhealthcare/opal/merges","archive_url":"https://api.github.com/repos/openhealthcare/opal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openhealthcare/opal/downloads","issues_url":"https://api.github.com/repos/openhealthcare/opal/issues{/number}","pulls_url":"https://api.github.com/repos/openhealthcare/opal/pulls{/number}","milestones_url":"https://api.github.com/repos/openhealthcare/opal/milestones{/number}","notifications_url":"https://api.github.com/repos/openhealthcare/opal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openhealthcare/opal/labels{/name}","releases_url":"https://api.github.com/repos/openhealthcare/opal/releases{/id}","deployments_url":"https://api.github.com/repos/openhealthcare/opal/deployments","created_at":"2013-05-13T17:52:07Z","updated_at":"2018-10-01T18:59:01Z","pushed_at":"2018-10-01T18:59:03Z","git_url":"git://github.com/openhealthcare/opal.git","ssh_url":"git@github.com:openhealthcare/opal.git","clone_url":"https://github.com/openhealthcare/opal.git","svn_url":"https://github.com/openhealthcare/opal","homepage":"http://opal.openhealthcare.org.uk/","size":20768,"stargazers_count":110,"watchers_count":110,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":34,"mirror_url":null,"archived":false,"open_issues_count":124,"license":{"key":"other","name":"NOASSERTION","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":34,"open_issues":124,"watchers":110,"default_branch":"v0.12.0"}},"_links":{"self":{"href":"https://api.github.com/repos/openhealthcare/opal/pulls/1572"},"html":{"href":"https://github.com/openhealthcare/opal/pull/1572"},"issue":{"href":"https://api.github.com/repos/openhealthcare/opal/issues/1572"},"comments":{"href":"https://api.github.com/repos/openhealthcare/opal/issues/1572/comments"},"review_comments":{"href":"https://api.github.com/repos/openhealthcare/opal/pulls/1572/comments"},"review_comment":{"href":"https://api.github.com/repos/openhealthcare/opal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openhealthcare/opal/pulls/1572/commits"},"statuses":{"href":"https://api.github.com/repos/openhealthcare/opal/statuses/9fccd5f0033ed40407a68cc852bd9ed27286a43f"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"davidmiller"}}