payload: {"action":"created","comment":{"url":"https://api.github.com/repos/ClinGen/clincoded/pulls/comments/342161836","pull_request_review_id":310691941,"id":342161836,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM0MjE2MTgzNg==","diff_hunk":"@@ -38,4 +38,33 @@ export function getAffiliationNameBySubgroupID(subgroup, subgroup_id) {\n         });\n     }\n     return name;\n-}\n\\ No newline at end of file\n+}\n+\n+/**\n+ * Method to return all affiliations by fullname\n+ */\n+export function getAllAffliations() {\n+    let affiliations = [];\n+    AffiliationsList.forEach(affiliation => {\n+        affiliations.push({\n+            id: affiliation.affiliation_id,\n+            fullName: affiliation.affiliation_fullname\n+        });\n+    });\n+   return affiliations;","path":"src/clincoded/static/libs/get_affiliation_name.js","position":19,"original_position":19,"commit_id":"70db0b1efc2f7b3e7dc56f716502275f77731f2b","original_commit_id":"7d8df994e3cf44a86a5ec3c3161ae8074195bdbc","user":{"login":"h-tong","id":51174932,"node_id":"MDQ6VXNlcjUxMTc0OTMy","avatar_url":"https://avatars0.githubusercontent.com/u/51174932?v=4","gravatar_id":"","url":"https://api.github.com/users/h-tong","html_url":"https://github.com/h-tong","followers_url":"https://api.github.com/users/h-tong/followers","following_url":"https://api.github.com/users/h-tong/following{/other_user}","gists_url":"https://api.github.com/users/h-tong/gists{/gist_id}","starred_url":"https://api.github.com/users/h-tong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h-tong/subscriptions","organizations_url":"https://api.github.com/users/h-tong/orgs","repos_url":"https://api.github.com/users/h-tong/repos","events_url":"https://api.github.com/users/h-tong/events{/privacy}","received_events_url":"https://api.github.com/users/h-tong/received_events","type":"User","site_admin":false},"body":"```suggestion\r\n    return affiliations;\r\n```","created_at":"2019-11-04T17:02:49Z","updated_at":"2019-11-04T17:17:24Z","html_url":"https://github.com/ClinGen/clincoded/pull/2045#discussion_r342161836","pull_request_url":"https://api.github.com/repos/ClinGen/clincoded/pulls/2045","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/ClinGen/clincoded/pulls/comments/342161836"},"html":{"href":"https://github.com/ClinGen/clincoded/pull/2045#discussion_r342161836"},"pull_request":{"href":"https://api.github.com/repos/ClinGen/clincoded/pulls/2045"}}},"pull_request":{"url":"https://api.github.com/repos/ClinGen/clincoded/pulls/2045","id":321876540,"node_id":"MDExOlB1bGxSZXF1ZXN0MzIxODc2NTQw","html_url":"https://github.com/ClinGen/clincoded/pull/2045","diff_url":"https://github.com/ClinGen/clincoded/pull/2045.diff","patch_url":"https://github.com/ClinGen/clincoded/pull/2045.patch","issue_url":"https://api.github.com/repos/ClinGen/clincoded/issues/2045","number":2045,"state":"open","locked":false,"title":"Issues #1796, #2035: GCI (Approve Classification) - Secondary Approvers/Contributors + SOP Version ","user":{"login":"markmandell","id":45801431,"node_id":"MDQ6VXNlcjQ1ODAxNDMx","avatar_url":"https://avatars2.githubusercontent.com/u/45801431?v=4","gravatar_id":"","url":"https://api.github.com/users/markmandell","html_url":"https://github.com/markmandell","followers_url":"https://api.github.com/users/markmandell/followers","following_url":"https://api.github.com/users/markmandell/following{/other_user}","gists_url":"https://api.github.com/users/markmandell/gists{/gist_id}","starred_url":"https://api.github.com/users/markmandell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markmandell/subscriptions","organizations_url":"https://api.github.com/users/markmandell/orgs","repos_url":"https://api.github.com/users/markmandell/repos","events_url":"https://api.github.com/users/markmandell/events{/privacy}","received_events_url":"https://api.github.com/users/markmandell/received_events","type":"User","site_admin":false},"body":"Steps to test - \r\n\r\n1. Login to interface, curate new Gene-Disease record in GCI.\r\n2. Navigate to Classification Matrix, scroll to bottom and save.\r\n3. Submit the Provisional Classification to reach the Approval Classification where the new form for Secondary Approvers and Contributors lives.\r\n4. Approval Classification form should have the following inputs and labels: Affiliation Approver, Final Approval Date, and SOP Version. Affiliation Approver is the only required field in this form. \r\n5. The Secondary Approvers/Contributors form should toggle by clicking the \"Acknowledge Other Contributors\" button (button text changes to \"Close Form\").\r\n6. Curation Contributors should have full list of all current Affiliations, while Curation Approvers has full list of VCEPs/GCEPs. User should be able to multi-select from the drop downs.\r\n7. Save the \"Approved Classification\", ensuring that all of the input values are passed to the Approval snapshot below. \r\n8. Navigate to the Approval Summary, all of the entered values for the form should be present in the Evidence Summary. Ensure that the value chosen for SOP Version is correct in the hyperlink. If you inspect the props for this component, either `GeneDiseaseEvidenceSummary` or `GeneDiseaseEvidenceSummaryHeader`, the new properties and their values are within the `provisional` object.\r\n\r\nSide note: Publishing the Approved Classification cannot be done locally. It must be done within an instance, found here: https://1796-mm-secondaryapprovers.demo.clinicalgenome.org\r\n**EDIT:** I have stopped the instance from running until this is being reviewed, so please log into EC2 to start it back up again :)\r\n\r\nSecondary Approvers/Contributors form is part of issue #1796 \r\nSOP Version is part of issue #2035 \r\n","created_at":"2019-09-26T19:39:42Z","updated_at":"2019-11-04T17:17:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0e758d199693bd05ec2ba27cc1ea3fed8111e019","assignee":null,"assignees":[],"requested_reviewers":[{"login":"bryanwulf","id":32915557,"node_id":"MDQ6VXNlcjMyOTE1NTU3","avatar_url":"https://avatars0.githubusercontent.com/u/32915557?v=4","gravatar_id":"","url":"https://api.github.com/users/bryanwulf","html_url":"https://github.com/bryanwulf","followers_url":"https://api.github.com/users/bryanwulf/followers","following_url":"https://api.github.com/users/bryanwulf/following{/other_user}","gists_url":"https://api.github.com/users/bryanwulf/gists{/gist_id}","starred_url":"https://api.github.com/users/bryanwulf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryanwulf/subscriptions","organizations_url":"https://api.github.com/users/bryanwulf/orgs","repos_url":"https://api.github.com/users/bryanwulf/repos","events_url":"https://api.github.com/users/bryanwulf/events{/privacy}","received_events_url":"https://api.github.com/users/bryanwulf/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ClinGen/clincoded/pulls/2045/commits","review_comments_url":"https://api.github.com/repos/ClinGen/clincoded/pulls/2045/comments","review_comment_url":"https://api.github.com/repos/ClinGen/clincoded/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ClinGen/clincoded/issues/2045/comments","statuses_url":"https://api.github.com/repos/ClinGen/clincoded/statuses/70db0b1efc2f7b3e7dc56f716502275f77731f2b","head":{"label":"ClinGen:1796_mm_secondaryApprov","ref":"1796_mm_secondaryApprov","sha":"70db0b1efc2f7b3e7dc56f716502275f77731f2b","user":{"login":"ClinGen","id":7255261,"node_id":"MDEyOk9yZ2FuaXphdGlvbjcyNTUyNjE=","avatar_url":"https://avatars2.githubusercontent.com/u/7255261?v=4","gravatar_id":"","url":"https://api.github.com/users/ClinGen","html_url":"https://github.com/ClinGen","followers_url":"https://api.github.com/users/ClinGen/followers","following_url":"https://api.github.com/users/ClinGen/following{/other_user}","gists_url":"https://api.github.com/users/ClinGen/gists{/gist_id}","starred_url":"https://api.github.com/users/ClinGen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClinGen/subscriptions","organizations_url":"https://api.github.com/users/ClinGen/orgs","repos_url":"https://api.github.com/users/ClinGen/repos","events_url":"https://api.github.com/users/ClinGen/events{/privacy}","received_events_url":"https://api.github.com/users/ClinGen/received_events","type":"Organization","site_admin":false},"repo":{"id":36758056,"node_id":"MDEwOlJlcG9zaXRvcnkzNjc1ODA1Ng==","name":"clincoded","full_name":"ClinGen/clincoded","private":false,"owner":{"login":"ClinGen","id":7255261,"node_id":"MDEyOk9yZ2FuaXphdGlvbjcyNTUyNjE=","avatar_url":"https://avatars2.githubusercontent.com/u/7255261?v=4","gravatar_id":"","url":"https://api.github.com/users/ClinGen","html_url":"https://github.com/ClinGen","followers_url":"https://api.github.com/users/ClinGen/followers","following_url":"https://api.github.com/users/ClinGen/following{/other_user}","gists_url":"https://api.github.com/users/ClinGen/gists{/gist_id}","starred_url":"https://api.github.com/users/ClinGen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClinGen/subscriptions","organizations_url":"https://api.github.com/users/ClinGen/orgs","repos_url":"https://api.github.com/users/ClinGen/repos","events_url":"https://api.github.com/users/ClinGen/events{/privacy}","received_events_url":"https://api.github.com/users/ClinGen/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ClinGen/clincoded","description":"Metadata database for ClinGen based on ENCODE","fork":false,"url":"https://api.github.com/repos/ClinGen/clincoded","forks_url":"https://api.github.com/repos/ClinGen/clincoded/forks","keys_url":"https://api.github.com/repos/ClinGen/clincoded/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ClinGen/clincoded/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ClinGen/clincoded/teams","hooks_url":"https://api.github.com/repos/ClinGen/clincoded/hooks","issue_events_url":"https://api.github.com/repos/ClinGen/clincoded/issues/events{/number}","events_url":"https://api.github.com/repos/ClinGen/clincoded/events","assignees_url":"https://api.github.com/repos/ClinGen/clincoded/assignees{/user}","branches_url":"https://api.github.com/repos/ClinGen/clincoded/branches{/branch}","tags_url":"https://api.github.com/repos/ClinGen/clincoded/tags","blobs_url":"https://api.github.com/repos/ClinGen/clincoded/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ClinGen/clincoded/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ClinGen/clincoded/git/refs{/sha}","trees_url":"https://api.github.com/repos/ClinGen/clincoded/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ClinGen/clincoded/statuses/{sha}","languages_url":"https://api.github.com/repos/ClinGen/clincoded/languages","stargazers_url":"https://api.github.com/repos/ClinGen/clincoded/stargazers","contributors_url":"https://api.github.com/repos/ClinGen/clincoded/contributors","subscribers_url":"https://api.github.com/repos/ClinGen/clincoded/subscribers","subscription_url":"https://api.github.com/repos/ClinGen/clincoded/subscription","commits_url":"https://api.github.com/repos/ClinGen/clincoded/commits{/sha}","git_commits_url":"https://api.github.com/repos/ClinGen/clincoded/git/commits{/sha}","comments_url":"https://api.github.com/repos/ClinGen/clincoded/comments{/number}","issue_comment_url":"https://api.github.com/repos/ClinGen/clincoded/issues/comments{/number}","contents_url":"https://api.github.com/repos/ClinGen/clincoded/contents/{+path}","compare_url":"https://api.github.com/repos/ClinGen/clincoded/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ClinGen/clincoded/merges","archive_url":"https://api.github.com/repos/ClinGen/clincoded/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ClinGen/clincoded/downloads","issues_url":"https://api.github.com/repos/ClinGen/clincoded/issues{/number}","pulls_url":"https://api.github.com/repos/ClinGen/clincoded/pulls{/number}","milestones_url":"https://api.github.com/repos/ClinGen/clincoded/milestones{/number}","notifications_url":"https://api.github.com/repos/ClinGen/clincoded/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ClinGen/clincoded/labels{/name}","releases_url":"https://api.github.com/repos/ClinGen/clincoded/releases{/id}","deployments_url":"https://api.github.com/repos/ClinGen/clincoded/deployments","created_at":"2015-06-02T19:54:12Z","updated_at":"2019-10-29T05:25:36Z","pushed_at":"2019-11-04T17:08:21Z","git_url":"git://github.com/ClinGen/clincoded.git","ssh_url":"git@github.com:ClinGen/clincoded.git","clone_url":"https://github.com/ClinGen/clincoded.git","svn_url":"https://github.com/ClinGen/clincoded","homepage":"http://www.clinicalgenome.org","size":1412460,"stargazers_count":20,"watchers_count":20,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":249,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":7,"open_issues":249,"watchers":20,"default_branch":"dev"}},"base":{"label":"ClinGen:dev","ref":"dev","sha":"b2407eaf8b917d20894b3a30165f3a834fde45cd","user":{"login":"ClinGen","id":7255261,"node_id":"MDEyOk9yZ2FuaXphdGlvbjcyNTUyNjE=","avatar_url":"https://avatars2.githubusercontent.com/u/7255261?v=4","gravatar_id":"","url":"https://api.github.com/users/ClinGen","html_url":"https://github.com/ClinGen","followers_url":"https://api.github.com/users/ClinGen/followers","following_url":"https://api.github.com/users/ClinGen/following{/other_user}","gists_url":"https://api.github.com/users/ClinGen/gists{/gist_id}","starred_url":"https://api.github.com/users/ClinGen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClinGen/subscriptions","organizations_url":"https://api.github.com/users/ClinGen/orgs","repos_url":"https://api.github.com/users/ClinGen/repos","events_url":"https://api.github.com/users/ClinGen/events{/privacy}","received_events_url":"https://api.github.com/users/ClinGen/received_events","type":"Organization","site_admin":false},"repo":{"id":36758056,"node_id":"MDEwOlJlcG9zaXRvcnkzNjc1ODA1Ng==","name":"clincoded","full_name":"ClinGen/clincoded","private":false,"owner":{"login":"ClinGen","id":7255261,"node_id":"MDEyOk9yZ2FuaXphdGlvbjcyNTUyNjE=","avatar_url":"https://avatars2.githubusercontent.com/u/7255261?v=4","gravatar_id":"","url":"https://api.github.com/users/ClinGen","html_url":"https://github.com/ClinGen","followers_url":"https://api.github.com/users/ClinGen/followers","following_url":"https://api.github.com/users/ClinGen/following{/other_user}","gists_url":"https://api.github.com/users/ClinGen/gists{/gist_id}","starred_url":"https://api.github.com/users/ClinGen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClinGen/subscriptions","organizations_url":"https://api.github.com/users/ClinGen/orgs","repos_url":"https://api.github.com/users/ClinGen/repos","events_url":"https://api.github.com/users/ClinGen/events{/privacy}","received_events_url":"https://api.github.com/users/ClinGen/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ClinGen/clincoded","description":"Metadata database for ClinGen based on ENCODE","fork":false,"url":"https://api.github.com/repos/ClinGen/clincoded","forks_url":"https://api.github.com/repos/ClinGen/clincoded/forks","keys_url":"https://api.github.com/repos/ClinGen/clincoded/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ClinGen/clincoded/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ClinGen/clincoded/teams","hooks_url":"https://api.github.com/repos/ClinGen/clincoded/hooks","issue_events_url":"https://api.github.com/repos/ClinGen/clincoded/issues/events{/number}","events_url":"https://api.github.com/repos/ClinGen/clincoded/events","assignees_url":"https://api.github.com/repos/ClinGen/clincoded/assignees{/user}","branches_url":"https://api.github.com/repos/ClinGen/clincoded/branches{/branch}","tags_url":"https://api.github.com/repos/ClinGen/clincoded/tags","blobs_url":"https://api.github.com/repos/ClinGen/clincoded/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ClinGen/clincoded/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ClinGen/clincoded/git/refs{/sha}","trees_url":"https://api.github.com/repos/ClinGen/clincoded/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ClinGen/clincoded/statuses/{sha}","languages_url":"https://api.github.com/repos/ClinGen/clincoded/languages","stargazers_url":"https://api.github.com/repos/ClinGen/clincoded/stargazers","contributors_url":"https://api.github.com/repos/ClinGen/clincoded/contributors","subscribers_url":"https://api.github.com/repos/ClinGen/clincoded/subscribers","subscription_url":"https://api.github.com/repos/ClinGen/clincoded/subscription","commits_url":"https://api.github.com/repos/ClinGen/clincoded/commits{/sha}","git_commits_url":"https://api.github.com/repos/ClinGen/clincoded/git/commits{/sha}","comments_url":"https://api.github.com/repos/ClinGen/clincoded/comments{/number}","issue_comment_url":"https://api.github.com/repos/ClinGen/clincoded/issues/comments{/number}","contents_url":"https://api.github.com/repos/ClinGen/clincoded/contents/{+path}","compare_url":"https://api.github.com/repos/ClinGen/clincoded/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ClinGen/clincoded/merges","archive_url":"https://api.github.com/repos/ClinGen/clincoded/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ClinGen/clincoded/downloads","issues_url":"https://api.github.com/repos/ClinGen/clincoded/issues{/number}","pulls_url":"https://api.github.com/repos/ClinGen/clincoded/pulls{/number}","milestones_url":"https://api.github.com/repos/ClinGen/clincoded/milestones{/number}","notifications_url":"https://api.github.com/repos/ClinGen/clincoded/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ClinGen/clincoded/labels{/name}","releases_url":"https://api.github.com/repos/ClinGen/clincoded/releases{/id}","deployments_url":"https://api.github.com/repos/ClinGen/clincoded/deployments","created_at":"2015-06-02T19:54:12Z","updated_at":"2019-10-29T05:25:36Z","pushed_at":"2019-11-04T17:08:21Z","git_url":"git://github.com/ClinGen/clincoded.git","ssh_url":"git@github.com:ClinGen/clincoded.git","clone_url":"https://github.com/ClinGen/clincoded.git","svn_url":"https://github.com/ClinGen/clincoded","homepage":"http://www.clinicalgenome.org","size":1412460,"stargazers_count":20,"watchers_count":20,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":249,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":7,"open_issues":249,"watchers":20,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/ClinGen/clincoded/pulls/2045"},"html":{"href":"https://github.com/ClinGen/clincoded/pull/2045"},"issue":{"href":"https://api.github.com/repos/ClinGen/clincoded/issues/2045"},"comments":{"href":"https://api.github.com/repos/ClinGen/clincoded/issues/2045/comments"},"review_comments":{"href":"https://api.github.com/repos/ClinGen/clincoded/pulls/2045/comments"},"review_comment":{"href":"https://api.github.com/repos/ClinGen/clincoded/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ClinGen/clincoded/pulls/2045/commits"},"statuses":{"href":"https://api.github.com/repos/ClinGen/clincoded/statuses/70db0b1efc2f7b3e7dc56f716502275f77731f2b"}},"author_association":"CONTRIBUTOR"}}
other: {"actor":{"display_login":"h-tong"}}