{"action":"created","comment":{"url":"https://api.github.com/repos/MHRA/products/pulls/comments/353980876","pull_request_review_id":327151241,"id":353980876,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM1Mzk4MDg3Ng==","diff_hunk":"@@ -165,26 +165,26 @@ const SearchResults = (props: { drugs: IDocument[]; lastSearch: string }) => (\n               <p className=\"icon\">{drug.docType.toUpperCase()}</p>\n             </div>\n             <div className=\"right\">\n-              <a href={drug.url}>\n-                <p className=\"drug-name\">\n+              <p className=\"drug-name\">","path":"medicines/web/components/search-results/index.tsx","position":6,"original_position":6,"commit_id":"4eadea8d9ed256ac36ff520220949a0947302a26","original_commit_id":"4eadea8d9ed256ac36ff520220949a0947302a26","user":{"login":"pataruco","id":10330222,"node_id":"MDQ6VXNlcjEwMzMwMjIy","avatar_url":"https://avatars3.githubusercontent.com/u/10330222?v=4","gravatar_id":"","url":"https://api.github.com/users/pataruco","html_url":"https://github.com/pataruco","followers_url":"https://api.github.com/users/pataruco/followers","following_url":"https://api.github.com/users/pataruco/following{/other_user}","gists_url":"https://api.github.com/users/pataruco/gists{/gist_id}","starred_url":"https://api.github.com/users/pataruco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pataruco/subscriptions","organizations_url":"https://api.github.com/users/pataruco/orgs","repos_url":"https://api.github.com/users/pataruco/repos","events_url":"https://api.github.com/users/pataruco/events{/privacy}","received_events_url":"https://api.github.com/users/pataruco/received_events","type":"User","site_admin":false},"body":"Please, if this a title of a result item I suggest to change `<p>` for a heading tag, e.g `<h3>`","created_at":"2019-12-04T21:02:44Z","updated_at":"2019-12-04T21:05:53Z","html_url":"https://github.com/MHRA/products/pull/37#discussion_r353980876","pull_request_url":"https://api.github.com/repos/MHRA/products/pulls/37","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/MHRA/products/pulls/comments/353980876"},"html":{"href":"https://github.com/MHRA/products/pull/37#discussion_r353980876"},"pull_request":{"href":"https://api.github.com/repos/MHRA/products/pulls/37"}}},"pull_request":{"url":"https://api.github.com/repos/MHRA/products/pulls/37","id":349016159,"node_id":"MDExOlB1bGxSZXF1ZXN0MzQ5MDE2MTU5","html_url":"https://github.com/MHRA/products/pull/37","diff_url":"https://github.com/MHRA/products/pull/37.diff","patch_url":"https://github.com/MHRA/products/pull/37.patch","issue_url":"https://api.github.com/repos/MHRA/products/issues/37","number":37,"state":"open","locked":false,"title":"Change clickable area of search results","user":{"login":"m-doughty","id":45387047,"node_id":"MDQ6VXNlcjQ1Mzg3MDQ3","avatar_url":"https://avatars1.githubusercontent.com/u/45387047?v=4","gravatar_id":"","url":"https://api.github.com/users/m-doughty","html_url":"https://github.com/m-doughty","followers_url":"https://api.github.com/users/m-doughty/followers","following_url":"https://api.github.com/users/m-doughty/following{/other_user}","gists_url":"https://api.github.com/users/m-doughty/gists{/gist_id}","starred_url":"https://api.github.com/users/m-doughty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-doughty/subscriptions","organizations_url":"https://api.github.com/users/m-doughty/orgs","repos_url":"https://api.github.com/users/m-doughty/repos","events_url":"https://api.github.com/users/m-doughty/events{/privacy}","received_events_url":"https://api.github.com/users/m-doughty/received_events","type":"User","site_admin":false},"body":"### Name of the story\r\n\r\n#34 \r\n\r\n![](https://i.gifer.com/PdvL.gif)\r\n\r\n### Acceptance Criteria\r\n\r\n- [x] Only the title of search results should take you to the document.\r\n\r\n### Testing information\r\n\r\n1. Navigate to the website.\r\n2. Perform a valid search which returns results (`ibuprofen` for example).\r\n3. Clicking on the title (or file size) should load the document, clicking anywhere else should not.\r\n\r\n### Pre-merge Checklist\r\n\r\n- [ ] Branch test approved","created_at":"2019-12-04T17:48:57Z","updated_at":"2019-12-04T21:05:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e00fce98868c1456126cb22e3af6be3a58391258","assignee":{"login":"m-doughty","id":45387047,"node_id":"MDQ6VXNlcjQ1Mzg3MDQ3","avatar_url":"https://avatars1.githubusercontent.com/u/45387047?v=4","gravatar_id":"","url":"https://api.github.com/users/m-doughty","html_url":"https://github.com/m-doughty","followers_url":"https://api.github.com/users/m-doughty/followers","following_url":"https://api.github.com/users/m-doughty/following{/other_user}","gists_url":"https://api.github.com/users/m-doughty/gists{/gist_id}","starred_url":"https://api.github.com/users/m-doughty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-doughty/subscriptions","organizations_url":"https://api.github.com/users/m-doughty/orgs","repos_url":"https://api.github.com/users/m-doughty/repos","events_url":"https://api.github.com/users/m-doughty/events{/privacy}","received_events_url":"https://api.github.com/users/m-doughty/received_events","type":"User","site_admin":false},"assignees":[{"login":"m-doughty","id":45387047,"node_id":"MDQ6VXNlcjQ1Mzg3MDQ3","avatar_url":"https://avatars1.githubusercontent.com/u/45387047?v=4","gravatar_id":"","url":"https://api.github.com/users/m-doughty","html_url":"https://github.com/m-doughty","followers_url":"https://api.github.com/users/m-doughty/followers","following_url":"https://api.github.com/users/m-doughty/following{/other_user}","gists_url":"https://api.github.com/users/m-doughty/gists{/gist_id}","starred_url":"https://api.github.com/users/m-doughty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-doughty/subscriptions","organizations_url":"https://api.github.com/users/m-doughty/orgs","repos_url":"https://api.github.com/users/m-doughty/repos","events_url":"https://api.github.com/users/m-doughty/events{/privacy}","received_events_url":"https://api.github.com/users/m-doughty/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"craiga","id":76330,"node_id":"MDQ6VXNlcjc2MzMw","avatar_url":"https://avatars3.githubusercontent.com/u/76330?v=4","gravatar_id":"","url":"https://api.github.com/users/craiga","html_url":"https://github.com/craiga","followers_url":"https://api.github.com/users/craiga/followers","following_url":"https://api.github.com/users/craiga/following{/other_user}","gists_url":"https://api.github.com/users/craiga/gists{/gist_id}","starred_url":"https://api.github.com/users/craiga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craiga/subscriptions","organizations_url":"https://api.github.com/users/craiga/orgs","repos_url":"https://api.github.com/users/craiga/repos","events_url":"https://api.github.com/users/craiga/events{/privacy}","received_events_url":"https://api.github.com/users/craiga/received_events","type":"User","site_admin":false},{"login":"StuartHarris","id":203552,"node_id":"MDQ6VXNlcjIwMzU1Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/203552?v=4","gravatar_id":"","url":"https://api.github.com/users/StuartHarris","html_url":"https://github.com/StuartHarris","followers_url":"https://api.github.com/users/StuartHarris/followers","following_url":"https://api.github.com/users/StuartHarris/following{/other_user}","gists_url":"https://api.github.com/users/StuartHarris/gists{/gist_id}","starred_url":"https://api.github.com/users/StuartHarris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StuartHarris/subscriptions","organizations_url":"https://api.github.com/users/StuartHarris/orgs","repos_url":"https://api.github.com/users/StuartHarris/repos","events_url":"https://api.github.com/users/StuartHarris/events{/privacy}","received_events_url":"https://api.github.com/users/StuartHarris/received_events","type":"User","site_admin":false},{"login":"rjkerrison","id":7150842,"node_id":"MDQ6VXNlcjcxNTA4NDI=","avatar_url":"https://avatars0.githubusercontent.com/u/7150842?v=4","gravatar_id":"","url":"https://api.github.com/users/rjkerrison","html_url":"https://github.com/rjkerrison","followers_url":"https://api.github.com/users/rjkerrison/followers","following_url":"https://api.github.com/users/rjkerrison/following{/other_user}","gists_url":"https://api.github.com/users/rjkerrison/gists{/gist_id}","starred_url":"https://api.github.com/users/rjkerrison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjkerrison/subscriptions","organizations_url":"https://api.github.com/users/rjkerrison/orgs","repos_url":"https://api.github.com/users/rjkerrison/repos","events_url":"https://api.github.com/users/rjkerrison/events{/privacy}","received_events_url":"https://api.github.com/users/rjkerrison/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":1661588790,"node_id":"MDU6TGFiZWwxNjYxNTg4Nzkw","url":"https://api.github.com/repos/MHRA/products/labels/enhancement%20%F0%9F%92%AB","name":"enhancement 💫","color":"a2eeef","default":false,"description":"New feature or request"},{"id":1676924413,"node_id":"MDU6TGFiZWwxNjc2OTI0NDEz","url":"https://api.github.com/repos/MHRA/products/labels/website%20%F0%9F%92%BB","name":"website 💻","color":"e5de5e","default":false,"description":""}],"milestone":null,"commits_url":"https://api.github.com/repos/MHRA/products/pulls/37/commits","review_comments_url":"https://api.github.com/repos/MHRA/products/pulls/37/comments","review_comment_url":"https://api.github.com/repos/MHRA/products/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MHRA/products/issues/37/comments","statuses_url":"https://api.github.com/repos/MHRA/products/statuses/4eadea8d9ed256ac36ff520220949a0947302a26","head":{"label":"MHRA:change-clickable-area-of-search-results","ref":"change-clickable-area-of-search-results","sha":"4eadea8d9ed256ac36ff520220949a0947302a26","user":{"login":"MHRA","id":57719143,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU3NzE5MTQz","avatar_url":"https://avatars0.githubusercontent.com/u/57719143?v=4","gravatar_id":"","url":"https://api.github.com/users/MHRA","html_url":"https://github.com/MHRA","followers_url":"https://api.github.com/users/MHRA/followers","following_url":"https://api.github.com/users/MHRA/following{/other_user}","gists_url":"https://api.github.com/users/MHRA/gists{/gist_id}","starred_url":"https://api.github.com/users/MHRA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MHRA/subscriptions","organizations_url":"https://api.github.com/users/MHRA/orgs","repos_url":"https://api.github.com/users/MHRA/repos","events_url":"https://api.github.com/users/MHRA/events{/privacy}","received_events_url":"https://api.github.com/users/MHRA/received_events","type":"Organization","site_admin":false},"repo":{"id":220052149,"node_id":"MDEwOlJlcG9zaXRvcnkyMjAwNTIxNDk=","name":"products","full_name":"MHRA/products","private":false,"owner":{"login":"MHRA","id":57719143,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU3NzE5MTQz","avatar_url":"https://avatars0.githubusercontent.com/u/57719143?v=4","gravatar_id":"","url":"https://api.github.com/users/MHRA","html_url":"https://github.com/MHRA","followers_url":"https://api.github.com/users/MHRA/followers","following_url":"https://api.github.com/users/MHRA/following{/other_user}","gists_url":"https://api.github.com/users/MHRA/gists{/gist_id}","starred_url":"https://api.github.com/users/MHRA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MHRA/subscriptions","organizations_url":"https://api.github.com/users/MHRA/orgs","repos_url":"https://api.github.com/users/MHRA/repos","events_url":"https://api.github.com/users/MHRA/events{/privacy}","received_events_url":"https://api.github.com/users/MHRA/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/MHRA/products","description":"Medicines Information Portal","fork":false,"url":"https://api.github.com/repos/MHRA/products","forks_url":"https://api.github.com/repos/MHRA/products/forks","keys_url":"https://api.github.com/repos/MHRA/products/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MHRA/products/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MHRA/products/teams","hooks_url":"https://api.github.com/repos/MHRA/products/hooks","issue_events_url":"https://api.github.com/repos/MHRA/products/issues/events{/number}","events_url":"https://api.github.com/repos/MHRA/products/events","assignees_url":"https://api.github.com/repos/MHRA/products/assignees{/user}","branches_url":"https://api.github.com/repos/MHRA/products/branches{/branch}","tags_url":"https://api.github.com/repos/MHRA/products/tags","blobs_url":"https://api.github.com/repos/MHRA/products/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MHRA/products/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MHRA/products/git/refs{/sha}","trees_url":"https://api.github.com/repos/MHRA/products/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MHRA/products/statuses/{sha}","languages_url":"https://api.github.com/repos/MHRA/products/languages","stargazers_url":"https://api.github.com/repos/MHRA/products/stargazers","contributors_url":"https://api.github.com/repos/MHRA/products/contributors","subscribers_url":"https://api.github.com/repos/MHRA/products/subscribers","subscription_url":"https://api.github.com/repos/MHRA/products/subscription","commits_url":"https://api.github.com/repos/MHRA/products/commits{/sha}","git_commits_url":"https://api.github.com/repos/MHRA/products/git/commits{/sha}","comments_url":"https://api.github.com/repos/MHRA/products/comments{/number}","issue_comment_url":"https://api.github.com/repos/MHRA/products/issues/comments{/number}","contents_url":"https://api.github.com/repos/MHRA/products/contents/{+path}","compare_url":"https://api.github.com/repos/MHRA/products/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MHRA/products/merges","archive_url":"https://api.github.com/repos/MHRA/products/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MHRA/products/downloads","issues_url":"https://api.github.com/repos/MHRA/products/issues{/number}","pulls_url":"https://api.github.com/repos/MHRA/products/pulls{/number}","milestones_url":"https://api.github.com/repos/MHRA/products/milestones{/number}","notifications_url":"https://api.github.com/repos/MHRA/products/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MHRA/products/labels{/name}","releases_url":"https://api.github.com/repos/MHRA/products/releases{/id}","deployments_url":"https://api.github.com/repos/MHRA/products/deployments","created_at":"2019-11-06T17:24:35Z","updated_at":"2019-12-04T20:53:00Z","pushed_at":"2019-12-04T20:57:22Z","git_url":"git://github.com/MHRA/products.git","ssh_url":"git@github.com:MHRA/products.git","clone_url":"https://github.com/MHRA/products.git","svn_url":"https://github.com/MHRA/products","homepage":null,"size":987,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":4,"license":null,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"MHRA:master","ref":"master","sha":"87095b0c68f0dea7fd47713581272f9e451836d2","user":{"login":"MHRA","id":57719143,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU3NzE5MTQz","avatar_url":"https://avatars0.githubusercontent.com/u/57719143?v=4","gravatar_id":"","url":"https://api.github.com/users/MHRA","html_url":"https://github.com/MHRA","followers_url":"https://api.github.com/users/MHRA/followers","following_url":"https://api.github.com/users/MHRA/following{/other_user}","gists_url":"https://api.github.com/users/MHRA/gists{/gist_id}","starred_url":"https://api.github.com/users/MHRA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MHRA/subscriptions","organizations_url":"https://api.github.com/users/MHRA/orgs","repos_url":"https://api.github.com/users/MHRA/repos","events_url":"https://api.github.com/users/MHRA/events{/privacy}","received_events_url":"https://api.github.com/users/MHRA/received_events","type":"Organization","site_admin":false},"repo":{"id":220052149,"node_id":"MDEwOlJlcG9zaXRvcnkyMjAwNTIxNDk=","name":"products","full_name":"MHRA/products","private":false,"owner":{"login":"MHRA","id":57719143,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU3NzE5MTQz","avatar_url":"https://avatars0.githubusercontent.com/u/57719143?v=4","gravatar_id":"","url":"https://api.github.com/users/MHRA","html_url":"https://github.com/MHRA","followers_url":"https://api.github.com/users/MHRA/followers","following_url":"https://api.github.com/users/MHRA/following{/other_user}","gists_url":"https://api.github.com/users/MHRA/gists{/gist_id}","starred_url":"https://api.github.com/users/MHRA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MHRA/subscriptions","organizations_url":"https://api.github.com/users/MHRA/orgs","repos_url":"https://api.github.com/users/MHRA/repos","events_url":"https://api.github.com/users/MHRA/events{/privacy}","received_events_url":"https://api.github.com/users/MHRA/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/MHRA/products","description":"Medicines Information Portal","fork":false,"url":"https://api.github.com/repos/MHRA/products","forks_url":"https://api.github.com/repos/MHRA/products/forks","keys_url":"https://api.github.com/repos/MHRA/products/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MHRA/products/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MHRA/products/teams","hooks_url":"https://api.github.com/repos/MHRA/products/hooks","issue_events_url":"https://api.github.com/repos/MHRA/products/issues/events{/number}","events_url":"https://api.github.com/repos/MHRA/products/events","assignees_url":"https://api.github.com/repos/MHRA/products/assignees{/user}","branches_url":"https://api.github.com/repos/MHRA/products/branches{/branch}","tags_url":"https://api.github.com/repos/MHRA/products/tags","blobs_url":"https://api.github.com/repos/MHRA/products/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MHRA/products/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MHRA/products/git/refs{/sha}","trees_url":"https://api.github.com/repos/MHRA/products/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MHRA/products/statuses/{sha}","languages_url":"https://api.github.com/repos/MHRA/products/languages","stargazers_url":"https://api.github.com/repos/MHRA/products/stargazers","contributors_url":"https://api.github.com/repos/MHRA/products/contributors","subscribers_url":"https://api.github.com/repos/MHRA/products/subscribers","subscription_url":"https://api.github.com/repos/MHRA/products/subscription","commits_url":"https://api.github.com/repos/MHRA/products/commits{/sha}","git_commits_url":"https://api.github.com/repos/MHRA/products/git/commits{/sha}","comments_url":"https://api.github.com/repos/MHRA/products/comments{/number}","issue_comment_url":"https://api.github.com/repos/MHRA/products/issues/comments{/number}","contents_url":"https://api.github.com/repos/MHRA/products/contents/{+path}","compare_url":"https://api.github.com/repos/MHRA/products/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MHRA/products/merges","archive_url":"https://api.github.com/repos/MHRA/products/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MHRA/products/downloads","issues_url":"https://api.github.com/repos/MHRA/products/issues{/number}","pulls_url":"https://api.github.com/repos/MHRA/products/pulls{/number}","milestones_url":"https://api.github.com/repos/MHRA/products/milestones{/number}","notifications_url":"https://api.github.com/repos/MHRA/products/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MHRA/products/labels{/name}","releases_url":"https://api.github.com/repos/MHRA/products/releases{/id}","deployments_url":"https://api.github.com/repos/MHRA/products/deployments","created_at":"2019-11-06T17:24:35Z","updated_at":"2019-12-04T20:53:00Z","pushed_at":"2019-12-04T20:57:22Z","git_url":"git://github.com/MHRA/products.git","ssh_url":"git@github.com:MHRA/products.git","clone_url":"https://github.com/MHRA/products.git","svn_url":"https://github.com/MHRA/products","homepage":null,"size":987,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":4,"license":null,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MHRA/products/pulls/37"},"html":{"href":"https://github.com/MHRA/products/pull/37"},"issue":{"href":"https://api.github.com/repos/MHRA/products/issues/37"},"comments":{"href":"https://api.github.com/repos/MHRA/products/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/MHRA/products/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/MHRA/products/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MHRA/products/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/MHRA/products/statuses/4eadea8d9ed256ac36ff520220949a0947302a26"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"pataruco"}}