{"action":"created","comment":{"url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/pulls/comments/183785702","pull_request_review_id":114850242,"id":183785702,"diff_hunk":"@@ -0,0 +1,84 @@\n+<template>\n+  <div class=\"view-and-copy\">\n+\n+    <popper trigger=\"click\" :options=\"popperOptions\">\n+      <div class=\"popper\">\n+        <div class=\"inner\">\n+          {{text}}\n+        </div>\n+      </div>\n+      <ae-button slot=\"reference\" size=\"small\" plain>\n+        <ae-icon slot=\"icon\" name=\"view\"/>\n+      </ae-button>\n+    </popper>\n+\n+    <textarea rows=1 :class=\"[showHash ? 'showHash':'', 'text']\" readonly v-model=\"text\" ref=\"text\" required>{{text}}</textarea>\n+    <ae-button @click.prevent=\"copy\" size=\"small\" plain>\n+      <ae-icon slot=\"icon\" name=\"copy\"/>\n+    </ae-button>\n+  </div>\n+</template>\n+<script>\n+import {\n+  AeButton,\n+  AeIcon\n+} from '@aeternity/aepp-components'\n+import Popper from 'vue-popperjs'\n+export default {\n+  name: 'view-and-copy',\n+  props: ['text'],\n+  components: {\n+    AeButton,\n+    AeIcon,\n+    Popper\n+  },\n+  data () {\n+    return {\n+      showHash: false,\n+      popperOptions: {\n+        placement: 'top',\n+        modifiers: {\n+          flip: {\n+            behavior: ['left', 'top']\n+          },\n+          preventOverflow: {\n+            boundariesElement: window\n+          }\n+        }\n+      }\n+    }\n+  },\n+  methods: {\n+    copy () {\n+      try {\n+        let textArea = this.$refs.text\n+        textArea.select()\n+        document.execCommand('copy')","path":"src/components/viewAndCopy/viewAndCopy.vue","position":56,"original_position":56,"commit_id":"e4e62497295454100afd09eb996d86a3831c3db5","original_commit_id":"e4e62497295454100afd09eb996d86a3831c3db5","user":{"login":"davidyuk","id":9007851,"avatar_url":"https://avatars3.githubusercontent.com/u/9007851?v=4","gravatar_id":"","url":"https://api.github.com/users/davidyuk","html_url":"https://github.com/davidyuk","followers_url":"https://api.github.com/users/davidyuk/followers","following_url":"https://api.github.com/users/davidyuk/following{/other_user}","gists_url":"https://api.github.com/users/davidyuk/gists{/gist_id}","starred_url":"https://api.github.com/users/davidyuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidyuk/subscriptions","organizations_url":"https://api.github.com/users/davidyuk/orgs","repos_url":"https://api.github.com/users/davidyuk/repos","events_url":"https://api.github.com/users/davidyuk/events{/privacy}","received_events_url":"https://api.github.com/users/davidyuk/received_events","type":"User","site_admin":false},"body":"No, it was worked perfectly, we decided to change business logic :slightly_smiling_face: ","created_at":"2018-04-24T15:51:21Z","updated_at":"2018-04-24T15:51:21Z","html_url":"https://github.com/aeternity/aepp-blockchain-explorer/pull/19#discussion_r183785702","pull_request_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/pulls/19","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/pulls/comments/183785702"},"html":{"href":"https://github.com/aeternity/aepp-blockchain-explorer/pull/19#discussion_r183785702"},"pull_request":{"href":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/pulls/19"}},"in_reply_to_id":183765254},"pull_request":{"url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/pulls/19","id":183749091,"html_url":"https://github.com/aeternity/aepp-blockchain-explorer/pull/19","diff_url":"https://github.com/aeternity/aepp-blockchain-explorer/pull/19.diff","patch_url":"https://github.com/aeternity/aepp-blockchain-explorer/pull/19.patch","issue_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/issues/19","number":19,"state":"open","locked":false,"title":"View and copy component with tooltip","user":{"login":"dadaphl","id":415536,"avatar_url":"https://avatars3.githubusercontent.com/u/415536?v=4","gravatar_id":"","url":"https://api.github.com/users/dadaphl","html_url":"https://github.com/dadaphl","followers_url":"https://api.github.com/users/dadaphl/followers","following_url":"https://api.github.com/users/dadaphl/following{/other_user}","gists_url":"https://api.github.com/users/dadaphl/gists{/gist_id}","starred_url":"https://api.github.com/users/dadaphl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dadaphl/subscriptions","organizations_url":"https://api.github.com/users/dadaphl/orgs","repos_url":"https://api.github.com/users/dadaphl/repos","events_url":"https://api.github.com/users/dadaphl/events{/privacy}","received_events_url":"https://api.github.com/users/dadaphl/received_events","type":"User","site_admin":false},"body":"\r\n<img width=\"98\" alt=\"screen shot 2018-04-24 at 16 06 24\" src=\"https://user-images.githubusercontent.com/415536/39192478-8af8d776-47d9-11e8-812a-86c3a318485c.png\">\r\n\r\n----\r\n<img width=\"565\" alt=\"screen shot 2018-04-24 at 16 06 28\" src=\"https://user-images.githubusercontent.com/415536/39192467-82e4d882-47d9-11e8-9ffb-91629433970e.png\">\r\n","created_at":"2018-04-24T14:07:56Z","updated_at":"2018-04-24T15:51:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7f5ff7f402f616da01bb5302f27b0aee532bcd3c","assignee":null,"assignees":[],"requested_reviewers":[{"login":"SamLife91","id":11982790,"avatar_url":"https://avatars2.githubusercontent.com/u/11982790?v=4","gravatar_id":"","url":"https://api.github.com/users/SamLife91","html_url":"https://github.com/SamLife91","followers_url":"https://api.github.com/users/SamLife91/followers","following_url":"https://api.github.com/users/SamLife91/following{/other_user}","gists_url":"https://api.github.com/users/SamLife91/gists{/gist_id}","starred_url":"https://api.github.com/users/SamLife91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamLife91/subscriptions","organizations_url":"https://api.github.com/users/SamLife91/orgs","repos_url":"https://api.github.com/users/SamLife91/repos","events_url":"https://api.github.com/users/SamLife91/events{/privacy}","received_events_url":"https://api.github.com/users/SamLife91/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/pulls/19/commits","review_comments_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/pulls/19/comments","review_comment_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/issues/19/comments","statuses_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/statuses/e4e62497295454100afd09eb996d86a3831c3db5","head":{"label":"aeternity:view-and-copy-component","ref":"view-and-copy-component","sha":"e4e62497295454100afd09eb996d86a3831c3db5","user":{"login":"aeternity","id":21989234,"avatar_url":"https://avatars1.githubusercontent.com/u/21989234?v=4","gravatar_id":"","url":"https://api.github.com/users/aeternity","html_url":"https://github.com/aeternity","followers_url":"https://api.github.com/users/aeternity/followers","following_url":"https://api.github.com/users/aeternity/following{/other_user}","gists_url":"https://api.github.com/users/aeternity/gists{/gist_id}","starred_url":"https://api.github.com/users/aeternity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aeternity/subscriptions","organizations_url":"https://api.github.com/users/aeternity/orgs","repos_url":"https://api.github.com/users/aeternity/repos","events_url":"https://api.github.com/users/aeternity/events{/privacy}","received_events_url":"https://api.github.com/users/aeternity/received_events","type":"Organization","site_admin":false},"repo":{"id":118007776,"name":"aepp-blockchain-explorer","full_name":"aeternity/aepp-blockchain-explorer","owner":{"login":"aeternity","id":21989234,"avatar_url":"https://avatars1.githubusercontent.com/u/21989234?v=4","gravatar_id":"","url":"https://api.github.com/users/aeternity","html_url":"https://github.com/aeternity","followers_url":"https://api.github.com/users/aeternity/followers","following_url":"https://api.github.com/users/aeternity/following{/other_user}","gists_url":"https://api.github.com/users/aeternity/gists{/gist_id}","starred_url":"https://api.github.com/users/aeternity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aeternity/subscriptions","organizations_url":"https://api.github.com/users/aeternity/orgs","repos_url":"https://api.github.com/users/aeternity/repos","events_url":"https://api.github.com/users/aeternity/events{/privacy}","received_events_url":"https://api.github.com/users/aeternity/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aeternity/aepp-blockchain-explorer","description":null,"fork":false,"url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer","forks_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/forks","keys_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/teams","hooks_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/hooks","issue_events_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/issues/events{/number}","events_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/events","assignees_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/assignees{/user}","branches_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/branches{/branch}","tags_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/tags","blobs_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/git/refs{/sha}","trees_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/statuses/{sha}","languages_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/languages","stargazers_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/stargazers","contributors_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/contributors","subscribers_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/subscribers","subscription_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/subscription","commits_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/commits{/sha}","git_commits_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/git/commits{/sha}","comments_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/comments{/number}","issue_comment_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/issues/comments{/number}","contents_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/contents/{+path}","compare_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/merges","archive_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/downloads","issues_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/issues{/number}","pulls_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/pulls{/number}","milestones_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/milestones{/number}","notifications_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/labels{/name}","releases_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/releases{/id}","deployments_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/deployments","created_at":"2018-01-18T16:25:01Z","updated_at":"2018-04-24T14:08:11Z","pushed_at":"2018-04-24T14:29:56Z","git_url":"git://github.com/aeternity/aepp-blockchain-explorer.git","ssh_url":"git@github.com:aeternity/aepp-blockchain-explorer.git","clone_url":"https://github.com/aeternity/aepp-blockchain-explorer.git","svn_url":"https://github.com/aeternity/aepp-blockchain-explorer","homepage":null,"size":467,"stargazers_count":6,"watchers_count":6,"language":"Vue","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":12,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":3,"open_issues":12,"watchers":6,"default_branch":"master"}},"base":{"label":"aeternity:master","ref":"master","sha":"9aebf51569dc35899edef5976cd43effed86f020","user":{"login":"aeternity","id":21989234,"avatar_url":"https://avatars1.githubusercontent.com/u/21989234?v=4","gravatar_id":"","url":"https://api.github.com/users/aeternity","html_url":"https://github.com/aeternity","followers_url":"https://api.github.com/users/aeternity/followers","following_url":"https://api.github.com/users/aeternity/following{/other_user}","gists_url":"https://api.github.com/users/aeternity/gists{/gist_id}","starred_url":"https://api.github.com/users/aeternity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aeternity/subscriptions","organizations_url":"https://api.github.com/users/aeternity/orgs","repos_url":"https://api.github.com/users/aeternity/repos","events_url":"https://api.github.com/users/aeternity/events{/privacy}","received_events_url":"https://api.github.com/users/aeternity/received_events","type":"Organization","site_admin":false},"repo":{"id":118007776,"name":"aepp-blockchain-explorer","full_name":"aeternity/aepp-blockchain-explorer","owner":{"login":"aeternity","id":21989234,"avatar_url":"https://avatars1.githubusercontent.com/u/21989234?v=4","gravatar_id":"","url":"https://api.github.com/users/aeternity","html_url":"https://github.com/aeternity","followers_url":"https://api.github.com/users/aeternity/followers","following_url":"https://api.github.com/users/aeternity/following{/other_user}","gists_url":"https://api.github.com/users/aeternity/gists{/gist_id}","starred_url":"https://api.github.com/users/aeternity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aeternity/subscriptions","organizations_url":"https://api.github.com/users/aeternity/orgs","repos_url":"https://api.github.com/users/aeternity/repos","events_url":"https://api.github.com/users/aeternity/events{/privacy}","received_events_url":"https://api.github.com/users/aeternity/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aeternity/aepp-blockchain-explorer","description":null,"fork":false,"url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer","forks_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/forks","keys_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/teams","hooks_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/hooks","issue_events_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/issues/events{/number}","events_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/events","assignees_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/assignees{/user}","branches_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/branches{/branch}","tags_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/tags","blobs_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/git/refs{/sha}","trees_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/statuses/{sha}","languages_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/languages","stargazers_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/stargazers","contributors_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/contributors","subscribers_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/subscribers","subscription_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/subscription","commits_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/commits{/sha}","git_commits_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/git/commits{/sha}","comments_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/comments{/number}","issue_comment_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/issues/comments{/number}","contents_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/contents/{+path}","compare_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/merges","archive_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/downloads","issues_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/issues{/number}","pulls_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/pulls{/number}","milestones_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/milestones{/number}","notifications_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/labels{/name}","releases_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/releases{/id}","deployments_url":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/deployments","created_at":"2018-01-18T16:25:01Z","updated_at":"2018-04-24T14:08:11Z","pushed_at":"2018-04-24T14:29:56Z","git_url":"git://github.com/aeternity/aepp-blockchain-explorer.git","ssh_url":"git@github.com:aeternity/aepp-blockchain-explorer.git","clone_url":"https://github.com/aeternity/aepp-blockchain-explorer.git","svn_url":"https://github.com/aeternity/aepp-blockchain-explorer","homepage":null,"size":467,"stargazers_count":6,"watchers_count":6,"language":"Vue","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":12,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":3,"open_issues":12,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/pulls/19"},"html":{"href":"https://github.com/aeternity/aepp-blockchain-explorer/pull/19"},"issue":{"href":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/issues/19"},"comments":{"href":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/aeternity/aepp-blockchain-explorer/statuses/e4e62497295454100afd09eb996d86a3831c3db5"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"davidyuk"}}