{"action":"created","comment":{"url":"https://api.github.com/repos/metaspace2020/metaspace/pulls/comments/203351229","pull_request_review_id":138220735,"id":203351229,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMzM1MTIyOQ==","diff_hunk":"@@ -99,8 +105,13 @@ export default class MainImage extends Vue {\n         })\n     }\n \n+    browserWarning(): string {\n+      return alert('Your browser is not supported, please change to Chrome/Firefox instead')","path":"metaspace/webapp/src/components/annotation-widgets/default/MainImage.vue","position":39,"original_position":39,"commit_id":"1b26e4904777a494db092549de7bcf318d32390c","original_commit_id":"1b26e4904777a494db092549de7bcf318d32390c","user":{"login":"LachlanStuart","id":26366936,"node_id":"MDQ6VXNlcjI2MzY2OTM2","avatar_url":"https://avatars3.githubusercontent.com/u/26366936?v=4","gravatar_id":"","url":"https://api.github.com/users/LachlanStuart","html_url":"https://github.com/LachlanStuart","followers_url":"https://api.github.com/users/LachlanStuart/followers","following_url":"https://api.github.com/users/LachlanStuart/following{/other_user}","gists_url":"https://api.github.com/users/LachlanStuart/gists{/gist_id}","starred_url":"https://api.github.com/users/LachlanStuart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LachlanStuart/subscriptions","organizations_url":"https://api.github.com/users/LachlanStuart/orgs","repos_url":"https://api.github.com/users/LachlanStuart/repos","events_url":"https://api.github.com/users/LachlanStuart/events{/privacy}","received_events_url":"https://api.github.com/users/LachlanStuart/received_events","type":"User","site_admin":false},"body":"* Please change this to \"Due to technical limitations we are only able to support downloading layered and/or zoomed images on Chrome and Firefox. As a workaround, it is possible to get a copy of the raw ion image by right-clicking it and clicking \"Save image...\", however this will not take into account your current zoom settings or show the optical image.\"\r\n* This function's return value isn't used and probably won't ever be used. It shouldn't return anything, and it should be named with an imperative phrase, e.g. `showBrowserWarning`\r\n* Please use an ElementUI alert, because browser alerts aren't very nice.\r\n\r\ne.g.\r\n```\r\nshowBrowserWarning(): {\r\n    this.$alert('Due to technical limitations we are only able to support downloading layered and/or zoomed images on Chrome and Firefox. As a workaround, it is possible to get a copy of the raw ion image by right-clicking it and clicking \"Save picture as\", however this will not take into account your current zoom settings or show the optical image.');\r\n}\r\n```","created_at":"2018-07-18T12:02:50Z","updated_at":"2018-07-18T12:02:51Z","html_url":"https://github.com/metaspace2020/metaspace/pull/10#discussion_r203351229","pull_request_url":"https://api.github.com/repos/metaspace2020/metaspace/pulls/10","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/metaspace2020/metaspace/pulls/comments/203351229"},"html":{"href":"https://github.com/metaspace2020/metaspace/pull/10#discussion_r203351229"},"pull_request":{"href":"https://api.github.com/repos/metaspace2020/metaspace/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/metaspace2020/metaspace/pulls/10","id":201711296,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxNzExMjk2","html_url":"https://github.com/metaspace2020/metaspace/pull/10","diff_url":"https://github.com/metaspace2020/metaspace/pull/10.diff","patch_url":"https://github.com/metaspace2020/metaspace/pull/10.patch","issue_url":"https://api.github.com/repos/metaspace2020/metaspace/issues/10","number":10,"state":"open","locked":false,"title":"Fixes to scrolling on annotations page","user":{"login":"Ren22","id":13621309,"node_id":"MDQ6VXNlcjEzNjIxMzA5","avatar_url":"https://avatars1.githubusercontent.com/u/13621309?v=4","gravatar_id":"","url":"https://api.github.com/users/Ren22","html_url":"https://github.com/Ren22","followers_url":"https://api.github.com/users/Ren22/followers","following_url":"https://api.github.com/users/Ren22/following{/other_user}","gists_url":"https://api.github.com/users/Ren22/gists{/gist_id}","starred_url":"https://api.github.com/users/Ren22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ren22/subscriptions","organizations_url":"https://api.github.com/users/Ren22/orgs","repos_url":"https://api.github.com/users/Ren22/repos","events_url":"https://api.github.com/users/Ren22/events{/privacy}","received_events_url":"https://api.github.com/users/Ren22/received_events","type":"User","site_admin":false},"body":"- fixed text alignment problem (Use ctrl to zoom in..)\r\n- filling of the empty space on Y axis (before only free space on X axis was used when zooming)\r\n- domtoimage browser dependency warning(works on Firefox/Chrome, warns on other browsers)","created_at":"2018-07-16T17:58:46Z","updated_at":"2018-07-18T12:02:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4127466c5c9e27fc34b0e93a8d11fa7dd77a1cca","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/metaspace2020/metaspace/pulls/10/commits","review_comments_url":"https://api.github.com/repos/metaspace2020/metaspace/pulls/10/comments","review_comment_url":"https://api.github.com/repos/metaspace2020/metaspace/pulls/comments{/number}","comments_url":"https://api.github.com/repos/metaspace2020/metaspace/issues/10/comments","statuses_url":"https://api.github.com/repos/metaspace2020/metaspace/statuses/1b26e4904777a494db092549de7bcf318d32390c","head":{"label":"metaspace2020:feature/zooming-fixes","ref":"feature/zooming-fixes","sha":"1b26e4904777a494db092549de7bcf318d32390c","user":{"login":"metaspace2020","id":12054325,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyMDU0MzI1","avatar_url":"https://avatars1.githubusercontent.com/u/12054325?v=4","gravatar_id":"","url":"https://api.github.com/users/metaspace2020","html_url":"https://github.com/metaspace2020","followers_url":"https://api.github.com/users/metaspace2020/followers","following_url":"https://api.github.com/users/metaspace2020/following{/other_user}","gists_url":"https://api.github.com/users/metaspace2020/gists{/gist_id}","starred_url":"https://api.github.com/users/metaspace2020/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metaspace2020/subscriptions","organizations_url":"https://api.github.com/users/metaspace2020/orgs","repos_url":"https://api.github.com/users/metaspace2020/repos","events_url":"https://api.github.com/users/metaspace2020/events{/privacy}","received_events_url":"https://api.github.com/users/metaspace2020/received_events","type":"Organization","site_admin":false},"repo":{"id":138977979,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg5Nzc5Nzk=","name":"metaspace","full_name":"metaspace2020/metaspace","owner":{"login":"metaspace2020","id":12054325,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyMDU0MzI1","avatar_url":"https://avatars1.githubusercontent.com/u/12054325?v=4","gravatar_id":"","url":"https://api.github.com/users/metaspace2020","html_url":"https://github.com/metaspace2020","followers_url":"https://api.github.com/users/metaspace2020/followers","following_url":"https://api.github.com/users/metaspace2020/following{/other_user}","gists_url":"https://api.github.com/users/metaspace2020/gists{/gist_id}","starred_url":"https://api.github.com/users/metaspace2020/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metaspace2020/subscriptions","organizations_url":"https://api.github.com/users/metaspace2020/orgs","repos_url":"https://api.github.com/users/metaspace2020/repos","events_url":"https://api.github.com/users/metaspace2020/events{/privacy}","received_events_url":"https://api.github.com/users/metaspace2020/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/metaspace2020/metaspace","description":"Engine for metabolite annotation for imaging mass spectrometry","fork":false,"url":"https://api.github.com/repos/metaspace2020/metaspace","forks_url":"https://api.github.com/repos/metaspace2020/metaspace/forks","keys_url":"https://api.github.com/repos/metaspace2020/metaspace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/metaspace2020/metaspace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/metaspace2020/metaspace/teams","hooks_url":"https://api.github.com/repos/metaspace2020/metaspace/hooks","issue_events_url":"https://api.github.com/repos/metaspace2020/metaspace/issues/events{/number}","events_url":"https://api.github.com/repos/metaspace2020/metaspace/events","assignees_url":"https://api.github.com/repos/metaspace2020/metaspace/assignees{/user}","branches_url":"https://api.github.com/repos/metaspace2020/metaspace/branches{/branch}","tags_url":"https://api.github.com/repos/metaspace2020/metaspace/tags","blobs_url":"https://api.github.com/repos/metaspace2020/metaspace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/metaspace2020/metaspace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/metaspace2020/metaspace/git/refs{/sha}","trees_url":"https://api.github.com/repos/metaspace2020/metaspace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/metaspace2020/metaspace/statuses/{sha}","languages_url":"https://api.github.com/repos/metaspace2020/metaspace/languages","stargazers_url":"https://api.github.com/repos/metaspace2020/metaspace/stargazers","contributors_url":"https://api.github.com/repos/metaspace2020/metaspace/contributors","subscribers_url":"https://api.github.com/repos/metaspace2020/metaspace/subscribers","subscription_url":"https://api.github.com/repos/metaspace2020/metaspace/subscription","commits_url":"https://api.github.com/repos/metaspace2020/metaspace/commits{/sha}","git_commits_url":"https://api.github.com/repos/metaspace2020/metaspace/git/commits{/sha}","comments_url":"https://api.github.com/repos/metaspace2020/metaspace/comments{/number}","issue_comment_url":"https://api.github.com/repos/metaspace2020/metaspace/issues/comments{/number}","contents_url":"https://api.github.com/repos/metaspace2020/metaspace/contents/{+path}","compare_url":"https://api.github.com/repos/metaspace2020/metaspace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/metaspace2020/metaspace/merges","archive_url":"https://api.github.com/repos/metaspace2020/metaspace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/metaspace2020/metaspace/downloads","issues_url":"https://api.github.com/repos/metaspace2020/metaspace/issues{/number}","pulls_url":"https://api.github.com/repos/metaspace2020/metaspace/pulls{/number}","milestones_url":"https://api.github.com/repos/metaspace2020/metaspace/milestones{/number}","notifications_url":"https://api.github.com/repos/metaspace2020/metaspace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/metaspace2020/metaspace/labels{/name}","releases_url":"https://api.github.com/repos/metaspace2020/metaspace/releases{/id}","deployments_url":"https://api.github.com/repos/metaspace2020/metaspace/deployments","created_at":"2018-06-28T06:49:14Z","updated_at":"2018-07-17T16:52:20Z","pushed_at":"2018-07-18T09:18:10Z","git_url":"git://github.com/metaspace2020/metaspace.git","ssh_url":"git@github.com:metaspace2020/metaspace.git","clone_url":"https://github.com/metaspace2020/metaspace.git","svn_url":"https://github.com/metaspace2020/metaspace","homepage":null,"size":54022,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"metaspace2020:master","ref":"master","sha":"a2186e9fab48cff30932010296810dcffa7e9a6a","user":{"login":"metaspace2020","id":12054325,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyMDU0MzI1","avatar_url":"https://avatars1.githubusercontent.com/u/12054325?v=4","gravatar_id":"","url":"https://api.github.com/users/metaspace2020","html_url":"https://github.com/metaspace2020","followers_url":"https://api.github.com/users/metaspace2020/followers","following_url":"https://api.github.com/users/metaspace2020/following{/other_user}","gists_url":"https://api.github.com/users/metaspace2020/gists{/gist_id}","starred_url":"https://api.github.com/users/metaspace2020/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metaspace2020/subscriptions","organizations_url":"https://api.github.com/users/metaspace2020/orgs","repos_url":"https://api.github.com/users/metaspace2020/repos","events_url":"https://api.github.com/users/metaspace2020/events{/privacy}","received_events_url":"https://api.github.com/users/metaspace2020/received_events","type":"Organization","site_admin":false},"repo":{"id":138977979,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg5Nzc5Nzk=","name":"metaspace","full_name":"metaspace2020/metaspace","owner":{"login":"metaspace2020","id":12054325,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyMDU0MzI1","avatar_url":"https://avatars1.githubusercontent.com/u/12054325?v=4","gravatar_id":"","url":"https://api.github.com/users/metaspace2020","html_url":"https://github.com/metaspace2020","followers_url":"https://api.github.com/users/metaspace2020/followers","following_url":"https://api.github.com/users/metaspace2020/following{/other_user}","gists_url":"https://api.github.com/users/metaspace2020/gists{/gist_id}","starred_url":"https://api.github.com/users/metaspace2020/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metaspace2020/subscriptions","organizations_url":"https://api.github.com/users/metaspace2020/orgs","repos_url":"https://api.github.com/users/metaspace2020/repos","events_url":"https://api.github.com/users/metaspace2020/events{/privacy}","received_events_url":"https://api.github.com/users/metaspace2020/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/metaspace2020/metaspace","description":"Engine for metabolite annotation for imaging mass spectrometry","fork":false,"url":"https://api.github.com/repos/metaspace2020/metaspace","forks_url":"https://api.github.com/repos/metaspace2020/metaspace/forks","keys_url":"https://api.github.com/repos/metaspace2020/metaspace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/metaspace2020/metaspace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/metaspace2020/metaspace/teams","hooks_url":"https://api.github.com/repos/metaspace2020/metaspace/hooks","issue_events_url":"https://api.github.com/repos/metaspace2020/metaspace/issues/events{/number}","events_url":"https://api.github.com/repos/metaspace2020/metaspace/events","assignees_url":"https://api.github.com/repos/metaspace2020/metaspace/assignees{/user}","branches_url":"https://api.github.com/repos/metaspace2020/metaspace/branches{/branch}","tags_url":"https://api.github.com/repos/metaspace2020/metaspace/tags","blobs_url":"https://api.github.com/repos/metaspace2020/metaspace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/metaspace2020/metaspace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/metaspace2020/metaspace/git/refs{/sha}","trees_url":"https://api.github.com/repos/metaspace2020/metaspace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/metaspace2020/metaspace/statuses/{sha}","languages_url":"https://api.github.com/repos/metaspace2020/metaspace/languages","stargazers_url":"https://api.github.com/repos/metaspace2020/metaspace/stargazers","contributors_url":"https://api.github.com/repos/metaspace2020/metaspace/contributors","subscribers_url":"https://api.github.com/repos/metaspace2020/metaspace/subscribers","subscription_url":"https://api.github.com/repos/metaspace2020/metaspace/subscription","commits_url":"https://api.github.com/repos/metaspace2020/metaspace/commits{/sha}","git_commits_url":"https://api.github.com/repos/metaspace2020/metaspace/git/commits{/sha}","comments_url":"https://api.github.com/repos/metaspace2020/metaspace/comments{/number}","issue_comment_url":"https://api.github.com/repos/metaspace2020/metaspace/issues/comments{/number}","contents_url":"https://api.github.com/repos/metaspace2020/metaspace/contents/{+path}","compare_url":"https://api.github.com/repos/metaspace2020/metaspace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/metaspace2020/metaspace/merges","archive_url":"https://api.github.com/repos/metaspace2020/metaspace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/metaspace2020/metaspace/downloads","issues_url":"https://api.github.com/repos/metaspace2020/metaspace/issues{/number}","pulls_url":"https://api.github.com/repos/metaspace2020/metaspace/pulls{/number}","milestones_url":"https://api.github.com/repos/metaspace2020/metaspace/milestones{/number}","notifications_url":"https://api.github.com/repos/metaspace2020/metaspace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/metaspace2020/metaspace/labels{/name}","releases_url":"https://api.github.com/repos/metaspace2020/metaspace/releases{/id}","deployments_url":"https://api.github.com/repos/metaspace2020/metaspace/deployments","created_at":"2018-06-28T06:49:14Z","updated_at":"2018-07-17T16:52:20Z","pushed_at":"2018-07-18T09:18:10Z","git_url":"git://github.com/metaspace2020/metaspace.git","ssh_url":"git@github.com:metaspace2020/metaspace.git","clone_url":"https://github.com/metaspace2020/metaspace.git","svn_url":"https://github.com/metaspace2020/metaspace","homepage":null,"size":54022,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/metaspace2020/metaspace/pulls/10"},"html":{"href":"https://github.com/metaspace2020/metaspace/pull/10"},"issue":{"href":"https://api.github.com/repos/metaspace2020/metaspace/issues/10"},"comments":{"href":"https://api.github.com/repos/metaspace2020/metaspace/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/metaspace2020/metaspace/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/metaspace2020/metaspace/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/metaspace2020/metaspace/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/metaspace2020/metaspace/statuses/1b26e4904777a494db092549de7bcf318d32390c"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"LachlanStuart"}}