{"action":"created","comment":{"url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/pulls/comments/244529228","pull_request_review_id":188433861,"id":244529228,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NDUyOTIyOA==","diff_hunk":"@@ -59,33 +66,16 @@ class PersonalSidebar extends Component {\n     })\n   }\n \n-  renderCoin = (accountAddress, token, marketMaker, balance) => [\n-    <CommunityLogo token={token} key='0' />,\n-    <div className='personal-community-content' key='1'>\n-      <div className='personal-community-content-balance'>\n-        CC Balance <span>{balance && formatWei(balance, 0)}</span>\n-        <div className='coin-content'>\n-          <div className='coin-content-type'>\n-            <span className='coin-currency-type'>CLN</span>\n-            <span className='coin-currency'>{marketMaker ? formatEther(marketMaker.currentPrice) : null}</span>\n-          </div>\n-          <div className='coin-content-type'>\n-            <span className='coin-currency-type'>USD</span>\n-            <span className='coin-currency'>\n-              {\n-                marketMaker\n-                  ? formatEther(marketMaker.currentPrice.multipliedBy(this.props.fiat.USD && this.props.fiat.USD.price))\n-                  : null\n-              }</span>\n-          </div>\n-        </div>\n-      </div>\n-    </div>\n-  ]\n-\n   renderIssuedCoins (accountAddress, tokens, marketMaker) {\n-    return Object.keys(tokens).length ? Object.keys(tokens).map((key) => {\n-      if (tokens[key].owner === accountAddress) {\n+    let filterTokens = Object.keys(tokens).length ? tokens : null","path":"client/src/components/PersonalSidebar.js","position":52,"original_position":52,"commit_id":"a4c4d76180f6354cba8f4071ca66fe52473325a1","original_commit_id":"a4c4d76180f6354cba8f4071ca66fe52473325a1","user":{"login":"leonprou","id":7228844,"node_id":"MDQ6VXNlcjcyMjg4NDQ=","avatar_url":"https://avatars3.githubusercontent.com/u/7228844?v=4","gravatar_id":"","url":"https://api.github.com/users/leonprou","html_url":"https://github.com/leonprou","followers_url":"https://api.github.com/users/leonprou/followers","following_url":"https://api.github.com/users/leonprou/following{/other_user}","gists_url":"https://api.github.com/users/leonprou/gists{/gist_id}","starred_url":"https://api.github.com/users/leonprou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonprou/subscriptions","organizations_url":"https://api.github.com/users/leonprou/orgs","repos_url":"https://api.github.com/users/leonprou/repos","events_url":"https://api.github.com/users/leonprou/events{/privacy}","received_events_url":"https://api.github.com/users/leonprou/received_events","type":"User","site_admin":false},"body":"This is working but all looks too complicate. Let's consider if we have time next sprint to refactor  the `PersonalSidebar` and make it simpler.","created_at":"2018-12-30T09:53:06Z","updated_at":"2018-12-30T09:53:06Z","html_url":"https://github.com/ColuLocalNetwork/CLN-community-app/pull/158#discussion_r244529228","pull_request_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/pulls/158","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/pulls/comments/244529228"},"html":{"href":"https://github.com/ColuLocalNetwork/CLN-community-app/pull/158#discussion_r244529228"},"pull_request":{"href":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/pulls/158"}}},"pull_request":{"url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/pulls/158","id":241440987,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQxNDQwOTg3","html_url":"https://github.com/ColuLocalNetwork/CLN-community-app/pull/158","diff_url":"https://github.com/ColuLocalNetwork/CLN-community-app/pull/158.diff","patch_url":"https://github.com/ColuLocalNetwork/CLN-community-app/pull/158.patch","issue_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/issues/158","number":158,"state":"open","locked":false,"title":"balance search implementation and styles fixes","user":{"login":"Kukushkina","id":8957684,"node_id":"MDQ6VXNlcjg5NTc2ODQ=","avatar_url":"https://avatars1.githubusercontent.com/u/8957684?v=4","gravatar_id":"","url":"https://api.github.com/users/Kukushkina","html_url":"https://github.com/Kukushkina","followers_url":"https://api.github.com/users/Kukushkina/followers","following_url":"https://api.github.com/users/Kukushkina/following{/other_user}","gists_url":"https://api.github.com/users/Kukushkina/gists{/gist_id}","starred_url":"https://api.github.com/users/Kukushkina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kukushkina/subscriptions","organizations_url":"https://api.github.com/users/Kukushkina/orgs","repos_url":"https://api.github.com/users/Kukushkina/repos","events_url":"https://api.github.com/users/Kukushkina/events{/privacy}","received_events_url":"https://api.github.com/users/Kukushkina/received_events","type":"User","site_admin":false},"body":"## Proposed changes\r\n\r\nSearch on balance menu\r\n\r\n- [x] Bugfix (non-breaking change which fixes an issue)\r\n- [ ] New feature (non-breaking change which adds functionality)\r\n","created_at":"2018-12-29T11:28:54Z","updated_at":"2018-12-30T09:53:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"35b392c86b0e9c8d74acd1310fa00d472af0e49c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/pulls/158/commits","review_comments_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/pulls/158/comments","review_comment_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/issues/158/comments","statuses_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/statuses/a4c4d76180f6354cba8f4071ca66fe52473325a1","head":{"label":"ColuLocalNetwork:balances-search","ref":"balances-search","sha":"a4c4d76180f6354cba8f4071ca66fe52473325a1","user":{"login":"ColuLocalNetwork","id":42146365,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQyMTQ2MzY1","avatar_url":"https://avatars3.githubusercontent.com/u/42146365?v=4","gravatar_id":"","url":"https://api.github.com/users/ColuLocalNetwork","html_url":"https://github.com/ColuLocalNetwork","followers_url":"https://api.github.com/users/ColuLocalNetwork/followers","following_url":"https://api.github.com/users/ColuLocalNetwork/following{/other_user}","gists_url":"https://api.github.com/users/ColuLocalNetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/ColuLocalNetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ColuLocalNetwork/subscriptions","organizations_url":"https://api.github.com/users/ColuLocalNetwork/orgs","repos_url":"https://api.github.com/users/ColuLocalNetwork/repos","events_url":"https://api.github.com/users/ColuLocalNetwork/events{/privacy}","received_events_url":"https://api.github.com/users/ColuLocalNetwork/received_events","type":"Organization","site_admin":false},"repo":{"id":125186960,"node_id":"MDEwOlJlcG9zaXRvcnkxMjUxODY5NjA=","name":"CLN-community-app","full_name":"ColuLocalNetwork/CLN-community-app","private":false,"owner":{"login":"ColuLocalNetwork","id":42146365,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQyMTQ2MzY1","avatar_url":"https://avatars3.githubusercontent.com/u/42146365?v=4","gravatar_id":"","url":"https://api.github.com/users/ColuLocalNetwork","html_url":"https://github.com/ColuLocalNetwork","followers_url":"https://api.github.com/users/ColuLocalNetwork/followers","following_url":"https://api.github.com/users/ColuLocalNetwork/following{/other_user}","gists_url":"https://api.github.com/users/ColuLocalNetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/ColuLocalNetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ColuLocalNetwork/subscriptions","organizations_url":"https://api.github.com/users/ColuLocalNetwork/orgs","repos_url":"https://api.github.com/users/ColuLocalNetwork/repos","events_url":"https://api.github.com/users/ColuLocalNetwork/events{/privacy}","received_events_url":"https://api.github.com/users/ColuLocalNetwork/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ColuLocalNetwork/CLN-community-app","description":null,"fork":false,"url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app","forks_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/forks","keys_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/teams","hooks_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/hooks","issue_events_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/issues/events{/number}","events_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/events","assignees_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/assignees{/user}","branches_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/branches{/branch}","tags_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/tags","blobs_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/statuses/{sha}","languages_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/languages","stargazers_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/stargazers","contributors_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/contributors","subscribers_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/subscribers","subscription_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/subscription","commits_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/contents/{+path}","compare_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/merges","archive_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/downloads","issues_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/issues{/number}","pulls_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/pulls{/number}","milestones_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/milestones{/number}","notifications_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/labels{/name}","releases_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/releases{/id}","deployments_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/deployments","created_at":"2018-03-14T09:21:57Z","updated_at":"2018-12-30T09:32:16Z","pushed_at":"2018-12-30T09:32:17Z","git_url":"git://github.com/ColuLocalNetwork/CLN-community-app.git","ssh_url":"git@github.com:ColuLocalNetwork/CLN-community-app.git","clone_url":"https://github.com/ColuLocalNetwork/CLN-community-app.git","svn_url":"https://github.com/ColuLocalNetwork/CLN-community-app","homepage":null,"size":3040,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":4,"open_issues":4,"watchers":3,"default_branch":"master"}},"base":{"label":"ColuLocalNetwork:master","ref":"master","sha":"5cab8491cf25895adfd9f156b2af1a18be078ebc","user":{"login":"ColuLocalNetwork","id":42146365,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQyMTQ2MzY1","avatar_url":"https://avatars3.githubusercontent.com/u/42146365?v=4","gravatar_id":"","url":"https://api.github.com/users/ColuLocalNetwork","html_url":"https://github.com/ColuLocalNetwork","followers_url":"https://api.github.com/users/ColuLocalNetwork/followers","following_url":"https://api.github.com/users/ColuLocalNetwork/following{/other_user}","gists_url":"https://api.github.com/users/ColuLocalNetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/ColuLocalNetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ColuLocalNetwork/subscriptions","organizations_url":"https://api.github.com/users/ColuLocalNetwork/orgs","repos_url":"https://api.github.com/users/ColuLocalNetwork/repos","events_url":"https://api.github.com/users/ColuLocalNetwork/events{/privacy}","received_events_url":"https://api.github.com/users/ColuLocalNetwork/received_events","type":"Organization","site_admin":false},"repo":{"id":125186960,"node_id":"MDEwOlJlcG9zaXRvcnkxMjUxODY5NjA=","name":"CLN-community-app","full_name":"ColuLocalNetwork/CLN-community-app","private":false,"owner":{"login":"ColuLocalNetwork","id":42146365,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQyMTQ2MzY1","avatar_url":"https://avatars3.githubusercontent.com/u/42146365?v=4","gravatar_id":"","url":"https://api.github.com/users/ColuLocalNetwork","html_url":"https://github.com/ColuLocalNetwork","followers_url":"https://api.github.com/users/ColuLocalNetwork/followers","following_url":"https://api.github.com/users/ColuLocalNetwork/following{/other_user}","gists_url":"https://api.github.com/users/ColuLocalNetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/ColuLocalNetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ColuLocalNetwork/subscriptions","organizations_url":"https://api.github.com/users/ColuLocalNetwork/orgs","repos_url":"https://api.github.com/users/ColuLocalNetwork/repos","events_url":"https://api.github.com/users/ColuLocalNetwork/events{/privacy}","received_events_url":"https://api.github.com/users/ColuLocalNetwork/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ColuLocalNetwork/CLN-community-app","description":null,"fork":false,"url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app","forks_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/forks","keys_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/teams","hooks_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/hooks","issue_events_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/issues/events{/number}","events_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/events","assignees_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/assignees{/user}","branches_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/branches{/branch}","tags_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/tags","blobs_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/statuses/{sha}","languages_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/languages","stargazers_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/stargazers","contributors_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/contributors","subscribers_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/subscribers","subscription_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/subscription","commits_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/contents/{+path}","compare_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/merges","archive_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/downloads","issues_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/issues{/number}","pulls_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/pulls{/number}","milestones_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/milestones{/number}","notifications_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/labels{/name}","releases_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/releases{/id}","deployments_url":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/deployments","created_at":"2018-03-14T09:21:57Z","updated_at":"2018-12-30T09:32:16Z","pushed_at":"2018-12-30T09:32:17Z","git_url":"git://github.com/ColuLocalNetwork/CLN-community-app.git","ssh_url":"git@github.com:ColuLocalNetwork/CLN-community-app.git","clone_url":"https://github.com/ColuLocalNetwork/CLN-community-app.git","svn_url":"https://github.com/ColuLocalNetwork/CLN-community-app","homepage":null,"size":3040,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":4,"open_issues":4,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/pulls/158"},"html":{"href":"https://github.com/ColuLocalNetwork/CLN-community-app/pull/158"},"issue":{"href":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/issues/158"},"comments":{"href":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/issues/158/comments"},"review_comments":{"href":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/pulls/158/comments"},"review_comment":{"href":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/pulls/158/commits"},"statuses":{"href":"https://api.github.com/repos/ColuLocalNetwork/CLN-community-app/statuses/a4c4d76180f6354cba8f4071ca66fe52473325a1"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"leonprou"}}