{"action":"created","comment":{"url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/pulls/comments/224849025","pull_request_review_id":164323071,"id":224849025,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNDg0OTAyNQ==","diff_hunk":"@@ -148,12 +148,19 @@ class StudySummary extends React.Component<IStudySummaryProps, {}> {\n         return this.props.studies.length === 1 ? this.props.studies[0].name : 'Combined Study';\n     }\n \n-    @computed get descriptionFirstLine() {\n-        let line: string = `This combined study contains samples from ${this.props.studies.length} ${this.props.studies.length>1?'studies':'study'}`;\n+    @computed\n+    get descriptionFirstLine() {\n         if (this.props.studies.length === 1) {\n-            line = this.props.studies[0].description.split(/\\n+/g)[0];\n+            let elems = [<span\n+                dangerouslySetInnerHTML={{__html: this.props.studies[0].description.split(/\\n+/g)[0]}}/>];\n+            if (this.props.studies[0].pmid) {\n+                elems.push(<a target=\"_blank\" href={`http://www.ncbi.nlm.nih.gov/pubmed/${this.props.studies[0].pmid}`} style={{marginLeft: '5px'}}>PubMed</a>);\n+            }\n+            return <div>{elems}</div>\n+        } else {\n+            return <span","path":"src/pages/studyView/StudyViewPage.tsx","position":17,"original_position":17,"commit_id":"d3f4a65308803ec9371ab6e2bfe5033d917b369a","original_commit_id":"d3f4a65308803ec9371ab6e2bfe5033d917b369a","user":{"login":"kalletlak","id":12956870,"node_id":"MDQ6VXNlcjEyOTU2ODcw","avatar_url":"https://avatars3.githubusercontent.com/u/12956870?v=4","gravatar_id":"","url":"https://api.github.com/users/kalletlak","html_url":"https://github.com/kalletlak","followers_url":"https://api.github.com/users/kalletlak/followers","following_url":"https://api.github.com/users/kalletlak/following{/other_user}","gists_url":"https://api.github.com/users/kalletlak/gists{/gist_id}","starred_url":"https://api.github.com/users/kalletlak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalletlak/subscriptions","organizations_url":"https://api.github.com/users/kalletlak/orgs","repos_url":"https://api.github.com/users/kalletlak/repos","events_url":"https://api.github.com/users/kalletlak/events{/privacy}","received_events_url":"https://api.github.com/users/kalletlak/received_events","type":"User","site_admin":false},"body":"may be ``<span>{`This combined study contains samples from ${this.props.studies.length} studies`}</span>``","created_at":"2018-10-12T16:43:56Z","updated_at":"2018-10-12T16:47:04Z","html_url":"https://github.com/cBioPortal/cbioportal-frontend/pull/1561#discussion_r224849025","pull_request_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/pulls/1561","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/pulls/comments/224849025"},"html":{"href":"https://github.com/cBioPortal/cbioportal-frontend/pull/1561#discussion_r224849025"},"pull_request":{"href":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/pulls/1561"}}},"pull_request":{"url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/pulls/1561","id":222491287,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyNDkxMjg3","html_url":"https://github.com/cBioPortal/cbioportal-frontend/pull/1561","diff_url":"https://github.com/cBioPortal/cbioportal-frontend/pull/1561.diff","patch_url":"https://github.com/cBioPortal/cbioportal-frontend/pull/1561.patch","issue_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/issues/1561","number":1561,"state":"open","locked":false,"title":"Few study view fixes","user":{"login":"zhx828","id":5400599,"node_id":"MDQ6VXNlcjU0MDA1OTk=","avatar_url":"https://avatars1.githubusercontent.com/u/5400599?v=4","gravatar_id":"","url":"https://api.github.com/users/zhx828","html_url":"https://github.com/zhx828","followers_url":"https://api.github.com/users/zhx828/followers","following_url":"https://api.github.com/users/zhx828/following{/other_user}","gists_url":"https://api.github.com/users/zhx828/gists{/gist_id}","starred_url":"https://api.github.com/users/zhx828/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhx828/subscriptions","organizations_url":"https://api.github.com/users/zhx828/orgs","repos_url":"https://api.github.com/users/zhx828/repos","events_url":"https://api.github.com/users/zhx828/events{/privacy}","received_events_url":"https://api.github.com/users/zhx828/received_events","type":"User","site_admin":false},"body":"# What? Why?\r\nFix \r\ncBioPortal/cbioportal#4993\r\ncBioPortal/cbioportal#4995\r\ncBioPortal/cbioportal#4997\r\nhttps://github.com/cBioPortal/cbioportal/issues/4994","created_at":"2018-10-12T14:46:58Z","updated_at":"2018-10-12T16:47:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c1d232ead9f2f82e0bb96454741219450999825f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/pulls/1561/commits","review_comments_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/pulls/1561/comments","review_comment_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/issues/1561/comments","statuses_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/statuses/d3f4a65308803ec9371ab6e2bfe5033d917b369a","head":{"label":"zhx828:minor-fixes-2","ref":"minor-fixes-2","sha":"d3f4a65308803ec9371ab6e2bfe5033d917b369a","user":{"login":"zhx828","id":5400599,"node_id":"MDQ6VXNlcjU0MDA1OTk=","avatar_url":"https://avatars1.githubusercontent.com/u/5400599?v=4","gravatar_id":"","url":"https://api.github.com/users/zhx828","html_url":"https://github.com/zhx828","followers_url":"https://api.github.com/users/zhx828/followers","following_url":"https://api.github.com/users/zhx828/following{/other_user}","gists_url":"https://api.github.com/users/zhx828/gists{/gist_id}","starred_url":"https://api.github.com/users/zhx828/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhx828/subscriptions","organizations_url":"https://api.github.com/users/zhx828/orgs","repos_url":"https://api.github.com/users/zhx828/repos","events_url":"https://api.github.com/users/zhx828/events{/privacy}","received_events_url":"https://api.github.com/users/zhx828/received_events","type":"User","site_admin":false},"repo":{"id":70723091,"node_id":"MDEwOlJlcG9zaXRvcnk3MDcyMzA5MQ==","name":"cbioportal-frontend","full_name":"zhx828/cbioportal-frontend","private":false,"owner":{"login":"zhx828","id":5400599,"node_id":"MDQ6VXNlcjU0MDA1OTk=","avatar_url":"https://avatars1.githubusercontent.com/u/5400599?v=4","gravatar_id":"","url":"https://api.github.com/users/zhx828","html_url":"https://github.com/zhx828","followers_url":"https://api.github.com/users/zhx828/followers","following_url":"https://api.github.com/users/zhx828/following{/other_user}","gists_url":"https://api.github.com/users/zhx828/gists{/gist_id}","starred_url":"https://api.github.com/users/zhx828/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhx828/subscriptions","organizations_url":"https://api.github.com/users/zhx828/orgs","repos_url":"https://api.github.com/users/zhx828/repos","events_url":"https://api.github.com/users/zhx828/events{/privacy}","received_events_url":"https://api.github.com/users/zhx828/received_events","type":"User","site_admin":false},"html_url":"https://github.com/zhx828/cbioportal-frontend","description":"React Frontend of cBioPortal :tada:","fork":true,"url":"https://api.github.com/repos/zhx828/cbioportal-frontend","forks_url":"https://api.github.com/repos/zhx828/cbioportal-frontend/forks","keys_url":"https://api.github.com/repos/zhx828/cbioportal-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zhx828/cbioportal-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zhx828/cbioportal-frontend/teams","hooks_url":"https://api.github.com/repos/zhx828/cbioportal-frontend/hooks","issue_events_url":"https://api.github.com/repos/zhx828/cbioportal-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/zhx828/cbioportal-frontend/events","assignees_url":"https://api.github.com/repos/zhx828/cbioportal-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/zhx828/cbioportal-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/zhx828/cbioportal-frontend/tags","blobs_url":"https://api.github.com/repos/zhx828/cbioportal-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zhx828/cbioportal-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zhx828/cbioportal-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/zhx828/cbioportal-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zhx828/cbioportal-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/zhx828/cbioportal-frontend/languages","stargazers_url":"https://api.github.com/repos/zhx828/cbioportal-frontend/stargazers","contributors_url":"https://api.github.com/repos/zhx828/cbioportal-frontend/contributors","subscribers_url":"https://api.github.com/repos/zhx828/cbioportal-frontend/subscribers","subscription_url":"https://api.github.com/repos/zhx828/cbioportal-frontend/subscription","commits_url":"https://api.github.com/repos/zhx828/cbioportal-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/zhx828/cbioportal-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/zhx828/cbioportal-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/zhx828/cbioportal-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/zhx828/cbioportal-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/zhx828/cbioportal-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zhx828/cbioportal-frontend/merges","archive_url":"https://api.github.com/repos/zhx828/cbioportal-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zhx828/cbioportal-frontend/downloads","issues_url":"https://api.github.com/repos/zhx828/cbioportal-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/zhx828/cbioportal-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/zhx828/cbioportal-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/zhx828/cbioportal-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zhx828/cbioportal-frontend/labels{/name}","releases_url":"https://api.github.com/repos/zhx828/cbioportal-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/zhx828/cbioportal-frontend/deployments","created_at":"2016-10-12T17:16:05Z","updated_at":"2018-10-02T15:14:02Z","pushed_at":"2018-10-12T16:39:36Z","git_url":"git://github.com/zhx828/cbioportal-frontend.git","ssh_url":"git@github.com:zhx828/cbioportal-frontend.git","clone_url":"https://github.com/zhx828/cbioportal-frontend.git","svn_url":"https://github.com/zhx828/cbioportal-frontend","homepage":"http://cbioportal.org","size":110255,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cBioPortal:rc","ref":"rc","sha":"46c346ae5f980285d1fe7bb0cdac45ecc6424832","user":{"login":"cBioPortal","id":9876251,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk4NzYyNTE=","avatar_url":"https://avatars2.githubusercontent.com/u/9876251?v=4","gravatar_id":"","url":"https://api.github.com/users/cBioPortal","html_url":"https://github.com/cBioPortal","followers_url":"https://api.github.com/users/cBioPortal/followers","following_url":"https://api.github.com/users/cBioPortal/following{/other_user}","gists_url":"https://api.github.com/users/cBioPortal/gists{/gist_id}","starred_url":"https://api.github.com/users/cBioPortal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cBioPortal/subscriptions","organizations_url":"https://api.github.com/users/cBioPortal/orgs","repos_url":"https://api.github.com/users/cBioPortal/repos","events_url":"https://api.github.com/users/cBioPortal/events{/privacy}","received_events_url":"https://api.github.com/users/cBioPortal/received_events","type":"Organization","site_admin":false},"repo":{"id":66571349,"node_id":"MDEwOlJlcG9zaXRvcnk2NjU3MTM0OQ==","name":"cbioportal-frontend","full_name":"cBioPortal/cbioportal-frontend","private":false,"owner":{"login":"cBioPortal","id":9876251,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk4NzYyNTE=","avatar_url":"https://avatars2.githubusercontent.com/u/9876251?v=4","gravatar_id":"","url":"https://api.github.com/users/cBioPortal","html_url":"https://github.com/cBioPortal","followers_url":"https://api.github.com/users/cBioPortal/followers","following_url":"https://api.github.com/users/cBioPortal/following{/other_user}","gists_url":"https://api.github.com/users/cBioPortal/gists{/gist_id}","starred_url":"https://api.github.com/users/cBioPortal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cBioPortal/subscriptions","organizations_url":"https://api.github.com/users/cBioPortal/orgs","repos_url":"https://api.github.com/users/cBioPortal/repos","events_url":"https://api.github.com/users/cBioPortal/events{/privacy}","received_events_url":"https://api.github.com/users/cBioPortal/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/cBioPortal/cbioportal-frontend","description":"React Frontend of cBioPortal :tada:","fork":false,"url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend","forks_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/forks","keys_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/teams","hooks_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/hooks","issue_events_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/events","assignees_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/tags","blobs_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/languages","stargazers_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/stargazers","contributors_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/contributors","subscribers_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/subscribers","subscription_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/subscription","commits_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/merges","archive_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/downloads","issues_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/labels{/name}","releases_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/deployments","created_at":"2016-08-25T15:41:44Z","updated_at":"2018-10-11T19:57:52Z","pushed_at":"2018-10-12T16:39:37Z","git_url":"git://github.com/cBioPortal/cbioportal-frontend.git","ssh_url":"git@github.com:cBioPortal/cbioportal-frontend.git","clone_url":"https://github.com/cBioPortal/cbioportal-frontend.git","svn_url":"https://github.com/cBioPortal/cbioportal-frontend","homepage":"http://cbioportal.org","size":112160,"stargazers_count":16,"watchers_count":16,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":47,"mirror_url":null,"archived":false,"open_issues_count":48,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":47,"open_issues":48,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/pulls/1561"},"html":{"href":"https://github.com/cBioPortal/cbioportal-frontend/pull/1561"},"issue":{"href":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/issues/1561"},"comments":{"href":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/issues/1561/comments"},"review_comments":{"href":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/pulls/1561/comments"},"review_comment":{"href":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/pulls/1561/commits"},"statuses":{"href":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/statuses/d3f4a65308803ec9371ab6e2bfe5033d917b369a"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"kalletlak"}}