{"action":"created","comment":{"url":"https://api.github.com/repos/paritytech/parity-reactive-ui/pulls/comments/155746419","pull_request_review_id":82115108,"id":155746419,"diff_hunk":"@@ -1,45 +1,48 @@\n const blockies = require('blockies');\n const React = require('react');\n-const {Image} = require('semantic-ui-react');\n-const {ReactiveComponent} = require('oo7-react');\n+const { Image } = require('semantic-ui-react');\n+const { ReactiveComponent } = require('oo7-react');\n \n function createIdentityImage (address, scale = 8) {\n \treturn blockies({\n-    \tseed: (address || '').toLowerCase(),\n-    \tsize: 8,\n-    \tscale\n-    }).toDataURL();\n+\t\tseed: (address || '').toLowerCase(),\n+\t\tsize: 8,\n+\t\tscale\n+\t}).toDataURL();\n }\n \n class AccountIcon extends ReactiveComponent {\n-\tconstructor() { super(['address', 'className', 'style']); }\n+\tconstructor () { super(['address', 'className', 'style']); }\n \n-\trender() {\n-\t\tif (typeof(this.state.address) == \"string\") {\n-\t\t\treturn (<Image\n-\t\t\t\tinline\n-\t\t\t\tavatar={this.props.avatar}\n-                src={createIdentityImage(this.state.address)}\n-\t\t\t\tstyle={Object.assign({borderRadius: '50%'}, this.state.style)}\n-                className={typeof(this.state.className) === 'string' ? this.state.className : ''}\n-                id={this.props.id}\n-                data-address-img\n-            />);\n+\trender () {\n+\t\tif (typeof (this.state.address) === 'string') {\n+\t\t\treturn (\n+\t\t\t\t<Image\n+\t\t\t\t\tinline\n+\t\t\t\t\tavatar={ this.props.avatar }\n+\t\t\t\t\tsrc={ createIdentityImage(this.state.address) }\n+\t\t\t\t\tstyle={ Object.assign({ borderRadius: '50%' }, this.state.style) }\n+\t\t\t\t\tclassName={ typeof (this.state.className) === 'string' ? this.state.className : '' }\n+\t\t\t\t\tid={ this.props.id }\n+\t\t\t\t\tdata-address-img","path":"src/AccountIcon.jsx","position":45,"original_position":45,"commit_id":"e985f5e0a1218096d5e90aca00a9a15d75826681","original_commit_id":"e985f5e0a1218096d5e90aca00a9a15d75826681","user":{"login":"amaurymartiny","id":1293565,"avatar_url":"https://avatars0.githubusercontent.com/u/1293565?v=4","gravatar_id":"","url":"https://api.github.com/users/amaurymartiny","html_url":"https://github.com/amaurymartiny","followers_url":"https://api.github.com/users/amaurymartiny/followers","following_url":"https://api.github.com/users/amaurymartiny/following{/other_user}","gists_url":"https://api.github.com/users/amaurymartiny/gists{/gist_id}","starred_url":"https://api.github.com/users/amaurymartiny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amaurymartiny/subscriptions","organizations_url":"https://api.github.com/users/amaurymartiny/orgs","repos_url":"https://api.github.com/users/amaurymartiny/repos","events_url":"https://api.github.com/users/amaurymartiny/events{/privacy}","received_events_url":"https://api.github.com/users/amaurymartiny/received_events","type":"User","site_admin":false},"body":"What is this for?","created_at":"2017-12-08T10:29:40Z","updated_at":"2017-12-08T10:54:01Z","html_url":"https://github.com/paritytech/parity-reactive-ui/pull/18#discussion_r155746419","pull_request_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/pulls/18","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/paritytech/parity-reactive-ui/pulls/comments/155746419"},"html":{"href":"https://github.com/paritytech/parity-reactive-ui/pull/18#discussion_r155746419"},"pull_request":{"href":"https://api.github.com/repos/paritytech/parity-reactive-ui/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/paritytech/parity-reactive-ui/pulls/18","id":147084487,"html_url":"https://github.com/paritytech/parity-reactive-ui/pull/18","diff_url":"https://github.com/paritytech/parity-reactive-ui/pull/18.diff","patch_url":"https://github.com/paritytech/parity-reactive-ui/pull/18.patch","issue_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/issues/18","number":18,"state":"open","locked":false,"title":"Add components","user":{"login":"apstemmer","id":15899530,"avatar_url":"https://avatars0.githubusercontent.com/u/15899530?v=4","gravatar_id":"","url":"https://api.github.com/users/apstemmer","html_url":"https://github.com/apstemmer","followers_url":"https://api.github.com/users/apstemmer/followers","following_url":"https://api.github.com/users/apstemmer/following{/other_user}","gists_url":"https://api.github.com/users/apstemmer/gists{/gist_id}","starred_url":"https://api.github.com/users/apstemmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apstemmer/subscriptions","organizations_url":"https://api.github.com/users/apstemmer/orgs","repos_url":"https://api.github.com/users/apstemmer/repos","events_url":"https://api.github.com/users/apstemmer/events{/privacy}","received_events_url":"https://api.github.com/users/apstemmer/received_events","type":"User","site_admin":false},"body":"Added some componenets for dispalying tokens as well as a tiny assets folder","created_at":"2017-10-17T16:03:25Z","updated_at":"2017-12-08T10:54:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"86b8a00d108ac19f3fa119854083b84c2336319e","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/pulls/18/commits","review_comments_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/pulls/18/comments","review_comment_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/issues/18/comments","statuses_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/statuses/e985f5e0a1218096d5e90aca00a9a15d75826681","head":{"label":"paritytech:add-components","ref":"add-components","sha":"e985f5e0a1218096d5e90aca00a9a15d75826681","user":{"login":"paritytech","id":14176906,"avatar_url":"https://avatars2.githubusercontent.com/u/14176906?v=4","gravatar_id":"","url":"https://api.github.com/users/paritytech","html_url":"https://github.com/paritytech","followers_url":"https://api.github.com/users/paritytech/followers","following_url":"https://api.github.com/users/paritytech/following{/other_user}","gists_url":"https://api.github.com/users/paritytech/gists{/gist_id}","starred_url":"https://api.github.com/users/paritytech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paritytech/subscriptions","organizations_url":"https://api.github.com/users/paritytech/orgs","repos_url":"https://api.github.com/users/paritytech/repos","events_url":"https://api.github.com/users/paritytech/events{/privacy}","received_events_url":"https://api.github.com/users/paritytech/received_events","type":"Organization","site_admin":false},"repo":{"id":80125646,"name":"parity-reactive-ui","full_name":"paritytech/parity-reactive-ui","owner":{"login":"paritytech","id":14176906,"avatar_url":"https://avatars2.githubusercontent.com/u/14176906?v=4","gravatar_id":"","url":"https://api.github.com/users/paritytech","html_url":"https://github.com/paritytech","followers_url":"https://api.github.com/users/paritytech/followers","following_url":"https://api.github.com/users/paritytech/following{/other_user}","gists_url":"https://api.github.com/users/paritytech/gists{/gist_id}","starred_url":"https://api.github.com/users/paritytech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paritytech/subscriptions","organizations_url":"https://api.github.com/users/paritytech/orgs","repos_url":"https://api.github.com/users/paritytech/repos","events_url":"https://api.github.com/users/paritytech/events{/privacy}","received_events_url":"https://api.github.com/users/paritytech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/paritytech/parity-reactive-ui","description":"The Bond-based Parity Reactive UI library","fork":false,"url":"https://api.github.com/repos/paritytech/parity-reactive-ui","forks_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/forks","keys_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/teams","hooks_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/hooks","issue_events_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/issues/events{/number}","events_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/events","assignees_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/assignees{/user}","branches_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/branches{/branch}","tags_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/tags","blobs_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/languages","stargazers_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/stargazers","contributors_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/contributors","subscribers_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/subscribers","subscription_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/subscription","commits_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/contents/{+path}","compare_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/merges","archive_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/downloads","issues_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/issues{/number}","pulls_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/labels{/name}","releases_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/releases{/id}","deployments_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/deployments","created_at":"2017-01-26T15:14:47Z","updated_at":"2017-12-08T10:35:49Z","pushed_at":"2017-12-08T09:59:27Z","git_url":"git://github.com/paritytech/parity-reactive-ui.git","ssh_url":"git@github.com:paritytech/parity-reactive-ui.git","clone_url":"https://github.com/paritytech/parity-reactive-ui.git","svn_url":"https://github.com/paritytech/parity-reactive-ui","homepage":null,"size":669,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":5,"open_issues":6,"watchers":8,"default_branch":"master"}},"base":{"label":"paritytech:master","ref":"master","sha":"816dc8f349ed06364df23bc17e52bdbc9ff89390","user":{"login":"paritytech","id":14176906,"avatar_url":"https://avatars2.githubusercontent.com/u/14176906?v=4","gravatar_id":"","url":"https://api.github.com/users/paritytech","html_url":"https://github.com/paritytech","followers_url":"https://api.github.com/users/paritytech/followers","following_url":"https://api.github.com/users/paritytech/following{/other_user}","gists_url":"https://api.github.com/users/paritytech/gists{/gist_id}","starred_url":"https://api.github.com/users/paritytech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paritytech/subscriptions","organizations_url":"https://api.github.com/users/paritytech/orgs","repos_url":"https://api.github.com/users/paritytech/repos","events_url":"https://api.github.com/users/paritytech/events{/privacy}","received_events_url":"https://api.github.com/users/paritytech/received_events","type":"Organization","site_admin":false},"repo":{"id":80125646,"name":"parity-reactive-ui","full_name":"paritytech/parity-reactive-ui","owner":{"login":"paritytech","id":14176906,"avatar_url":"https://avatars2.githubusercontent.com/u/14176906?v=4","gravatar_id":"","url":"https://api.github.com/users/paritytech","html_url":"https://github.com/paritytech","followers_url":"https://api.github.com/users/paritytech/followers","following_url":"https://api.github.com/users/paritytech/following{/other_user}","gists_url":"https://api.github.com/users/paritytech/gists{/gist_id}","starred_url":"https://api.github.com/users/paritytech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paritytech/subscriptions","organizations_url":"https://api.github.com/users/paritytech/orgs","repos_url":"https://api.github.com/users/paritytech/repos","events_url":"https://api.github.com/users/paritytech/events{/privacy}","received_events_url":"https://api.github.com/users/paritytech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/paritytech/parity-reactive-ui","description":"The Bond-based Parity Reactive UI library","fork":false,"url":"https://api.github.com/repos/paritytech/parity-reactive-ui","forks_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/forks","keys_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/teams","hooks_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/hooks","issue_events_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/issues/events{/number}","events_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/events","assignees_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/assignees{/user}","branches_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/branches{/branch}","tags_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/tags","blobs_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/languages","stargazers_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/stargazers","contributors_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/contributors","subscribers_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/subscribers","subscription_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/subscription","commits_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/contents/{+path}","compare_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/merges","archive_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/downloads","issues_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/issues{/number}","pulls_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/labels{/name}","releases_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/releases{/id}","deployments_url":"https://api.github.com/repos/paritytech/parity-reactive-ui/deployments","created_at":"2017-01-26T15:14:47Z","updated_at":"2017-12-08T10:35:49Z","pushed_at":"2017-12-08T09:59:27Z","git_url":"git://github.com/paritytech/parity-reactive-ui.git","ssh_url":"git@github.com:paritytech/parity-reactive-ui.git","clone_url":"https://github.com/paritytech/parity-reactive-ui.git","svn_url":"https://github.com/paritytech/parity-reactive-ui","homepage":null,"size":669,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":5,"open_issues":6,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/paritytech/parity-reactive-ui/pulls/18"},"html":{"href":"https://github.com/paritytech/parity-reactive-ui/pull/18"},"issue":{"href":"https://api.github.com/repos/paritytech/parity-reactive-ui/issues/18"},"comments":{"href":"https://api.github.com/repos/paritytech/parity-reactive-ui/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/paritytech/parity-reactive-ui/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/paritytech/parity-reactive-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/paritytech/parity-reactive-ui/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/paritytech/parity-reactive-ui/statuses/e985f5e0a1218096d5e90aca00a9a15d75826681"}},"author_association":"NONE"}}
{"actor":{"display_login":"amaurymartiny"}}