{"action":"created","comment":{"url":"https://api.github.com/repos/keboola/kbc-ui/pulls/comments/207847227","pull_request_review_id":143539292,"id":207847227,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNzg0NzIyNw==","diff_hunk":"@@ -9,9 +9,10 @@ const getComponentType = (type) => {\n };\n \n const getComponentBadges = (component) => {\n-  const flags = component.getIn(['data', 'vendor', 'licenseUrl'])\n-    ? component.get('flags').merge(['hasLicence'])\n-    : component.get('flags');\n+  const complexity = component.get('complexity');\n+  var flags = component.getIn(['data', 'vendor', 'licenseUrl'])\n+    ? component.get('flags').merge(['hasLicence']).push('complexity-' + complexity)","path":"src/scripts/react/common/componentHelpers.js","position":9,"original_position":9,"commit_id":"0d5ba54da627805d8c736713b51e15855dbc0f11","original_commit_id":"0d5ba54da627805d8c736713b51e15855dbc0f11","user":{"login":"kacurez","id":1412120,"node_id":"MDQ6VXNlcjE0MTIxMjA=","avatar_url":"https://avatars0.githubusercontent.com/u/1412120?v=4","gravatar_id":"","url":"https://api.github.com/users/kacurez","html_url":"https://github.com/kacurez","followers_url":"https://api.github.com/users/kacurez/followers","following_url":"https://api.github.com/users/kacurez/following{/other_user}","gists_url":"https://api.github.com/users/kacurez/gists{/gist_id}","starred_url":"https://api.github.com/users/kacurez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kacurez/subscriptions","organizations_url":"https://api.github.com/users/kacurez/orgs","repos_url":"https://api.github.com/users/kacurez/repos","events_url":"https://api.github.com/users/kacurez/events{/privacy}","received_events_url":"https://api.github.com/users/kacurez/received_events","type":"User","site_admin":false},"body":"akurat nevygeneruje `complexity-null` co predpokladam ze nechces","created_at":"2018-08-06T10:42:09Z","updated_at":"2018-08-06T10:42:09Z","html_url":"https://github.com/keboola/kbc-ui/pull/1891#discussion_r207847227","pull_request_url":"https://api.github.com/repos/keboola/kbc-ui/pulls/1891","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/keboola/kbc-ui/pulls/comments/207847227"},"html":{"href":"https://github.com/keboola/kbc-ui/pull/1891#discussion_r207847227"},"pull_request":{"href":"https://api.github.com/repos/keboola/kbc-ui/pulls/1891"}},"in_reply_to_id":207359121},"pull_request":{"url":"https://api.github.com/repos/keboola/kbc-ui/pulls/1891","id":205847719,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1ODQ3NzE5","html_url":"https://github.com/keboola/kbc-ui/pull/1891","diff_url":"https://github.com/keboola/kbc-ui/pull/1891.diff","patch_url":"https://github.com/keboola/kbc-ui/pull/1891.patch","issue_url":"https://api.github.com/repos/keboola/kbc-ui/issues/1891","number":1891,"state":"open","locked":false,"title":"[wip] complexity badges","user":{"login":"janmichek","id":15363559,"node_id":"MDQ6VXNlcjE1MzYzNTU5","avatar_url":"https://avatars2.githubusercontent.com/u/15363559?v=4","gravatar_id":"","url":"https://api.github.com/users/janmichek","html_url":"https://github.com/janmichek","followers_url":"https://api.github.com/users/janmichek/followers","following_url":"https://api.github.com/users/janmichek/following{/other_user}","gists_url":"https://api.github.com/users/janmichek/gists{/gist_id}","starred_url":"https://api.github.com/users/janmichek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janmichek/subscriptions","organizations_url":"https://api.github.com/users/janmichek/orgs","repos_url":"https://api.github.com/users/janmichek/repos","events_url":"https://api.github.com/users/janmichek/events{/privacy}","received_events_url":"https://api.github.com/users/janmichek/received_events","type":"User","site_admin":false},"body":"Fixes https://github.com/keboola/kbc-ui/issues/1734\r\n\r\n","created_at":"2018-08-02T20:11:56Z","updated_at":"2018-08-06T10:42:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1ec9b4165773163b4ff0261412712b0e186809e6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/keboola/kbc-ui/pulls/1891/commits","review_comments_url":"https://api.github.com/repos/keboola/kbc-ui/pulls/1891/comments","review_comment_url":"https://api.github.com/repos/keboola/kbc-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/keboola/kbc-ui/issues/1891/comments","statuses_url":"https://api.github.com/repos/keboola/kbc-ui/statuses/0d5ba54da627805d8c736713b51e15855dbc0f11","head":{"label":"keboola:jan-complexity-badges","ref":"jan-complexity-badges","sha":"0d5ba54da627805d8c736713b51e15855dbc0f11","user":{"login":"keboola","id":1424387,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MjQzODc=","avatar_url":"https://avatars1.githubusercontent.com/u/1424387?v=4","gravatar_id":"","url":"https://api.github.com/users/keboola","html_url":"https://github.com/keboola","followers_url":"https://api.github.com/users/keboola/followers","following_url":"https://api.github.com/users/keboola/following{/other_user}","gists_url":"https://api.github.com/users/keboola/gists{/gist_id}","starred_url":"https://api.github.com/users/keboola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keboola/subscriptions","organizations_url":"https://api.github.com/users/keboola/orgs","repos_url":"https://api.github.com/users/keboola/repos","events_url":"https://api.github.com/users/keboola/events{/privacy}","received_events_url":"https://api.github.com/users/keboola/received_events","type":"Organization","site_admin":false},"repo":{"id":26681387,"node_id":"MDEwOlJlcG9zaXRvcnkyNjY4MTM4Nw==","name":"kbc-ui","full_name":"keboola/kbc-ui","owner":{"login":"keboola","id":1424387,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MjQzODc=","avatar_url":"https://avatars1.githubusercontent.com/u/1424387?v=4","gravatar_id":"","url":"https://api.github.com/users/keboola","html_url":"https://github.com/keboola","followers_url":"https://api.github.com/users/keboola/followers","following_url":"https://api.github.com/users/keboola/following{/other_user}","gists_url":"https://api.github.com/users/keboola/gists{/gist_id}","starred_url":"https://api.github.com/users/keboola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keboola/subscriptions","organizations_url":"https://api.github.com/users/keboola/orgs","repos_url":"https://api.github.com/users/keboola/repos","events_url":"https://api.github.com/users/keboola/events{/privacy}","received_events_url":"https://api.github.com/users/keboola/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/keboola/kbc-ui","description":"User interface for Keboola Connection","fork":false,"url":"https://api.github.com/repos/keboola/kbc-ui","forks_url":"https://api.github.com/repos/keboola/kbc-ui/forks","keys_url":"https://api.github.com/repos/keboola/kbc-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/keboola/kbc-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/keboola/kbc-ui/teams","hooks_url":"https://api.github.com/repos/keboola/kbc-ui/hooks","issue_events_url":"https://api.github.com/repos/keboola/kbc-ui/issues/events{/number}","events_url":"https://api.github.com/repos/keboola/kbc-ui/events","assignees_url":"https://api.github.com/repos/keboola/kbc-ui/assignees{/user}","branches_url":"https://api.github.com/repos/keboola/kbc-ui/branches{/branch}","tags_url":"https://api.github.com/repos/keboola/kbc-ui/tags","blobs_url":"https://api.github.com/repos/keboola/kbc-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/keboola/kbc-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/keboola/kbc-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/keboola/kbc-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/keboola/kbc-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/keboola/kbc-ui/languages","stargazers_url":"https://api.github.com/repos/keboola/kbc-ui/stargazers","contributors_url":"https://api.github.com/repos/keboola/kbc-ui/contributors","subscribers_url":"https://api.github.com/repos/keboola/kbc-ui/subscribers","subscription_url":"https://api.github.com/repos/keboola/kbc-ui/subscription","commits_url":"https://api.github.com/repos/keboola/kbc-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/keboola/kbc-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/keboola/kbc-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/keboola/kbc-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/keboola/kbc-ui/contents/{+path}","compare_url":"https://api.github.com/repos/keboola/kbc-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/keboola/kbc-ui/merges","archive_url":"https://api.github.com/repos/keboola/kbc-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/keboola/kbc-ui/downloads","issues_url":"https://api.github.com/repos/keboola/kbc-ui/issues{/number}","pulls_url":"https://api.github.com/repos/keboola/kbc-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/keboola/kbc-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/keboola/kbc-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/keboola/kbc-ui/labels{/name}","releases_url":"https://api.github.com/repos/keboola/kbc-ui/releases{/id}","deployments_url":"https://api.github.com/repos/keboola/kbc-ui/deployments","created_at":"2014-11-15T13:56:22Z","updated_at":"2018-08-03T10:47:07Z","pushed_at":"2018-08-06T10:13:12Z","git_url":"git://github.com/keboola/kbc-ui.git","ssh_url":"git@github.com:keboola/kbc-ui.git","clone_url":"https://github.com/keboola/kbc-ui.git","svn_url":"https://github.com/keboola/kbc-ui","homepage":"","size":16145,"stargazers_count":16,"watchers_count":16,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":275,"license":null,"forks":9,"open_issues":275,"watchers":16,"default_branch":"master"}},"base":{"label":"keboola:master","ref":"master","sha":"915e0dad8acbef1adf5b970647ce9964cbe36157","user":{"login":"keboola","id":1424387,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MjQzODc=","avatar_url":"https://avatars1.githubusercontent.com/u/1424387?v=4","gravatar_id":"","url":"https://api.github.com/users/keboola","html_url":"https://github.com/keboola","followers_url":"https://api.github.com/users/keboola/followers","following_url":"https://api.github.com/users/keboola/following{/other_user}","gists_url":"https://api.github.com/users/keboola/gists{/gist_id}","starred_url":"https://api.github.com/users/keboola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keboola/subscriptions","organizations_url":"https://api.github.com/users/keboola/orgs","repos_url":"https://api.github.com/users/keboola/repos","events_url":"https://api.github.com/users/keboola/events{/privacy}","received_events_url":"https://api.github.com/users/keboola/received_events","type":"Organization","site_admin":false},"repo":{"id":26681387,"node_id":"MDEwOlJlcG9zaXRvcnkyNjY4MTM4Nw==","name":"kbc-ui","full_name":"keboola/kbc-ui","owner":{"login":"keboola","id":1424387,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MjQzODc=","avatar_url":"https://avatars1.githubusercontent.com/u/1424387?v=4","gravatar_id":"","url":"https://api.github.com/users/keboola","html_url":"https://github.com/keboola","followers_url":"https://api.github.com/users/keboola/followers","following_url":"https://api.github.com/users/keboola/following{/other_user}","gists_url":"https://api.github.com/users/keboola/gists{/gist_id}","starred_url":"https://api.github.com/users/keboola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keboola/subscriptions","organizations_url":"https://api.github.com/users/keboola/orgs","repos_url":"https://api.github.com/users/keboola/repos","events_url":"https://api.github.com/users/keboola/events{/privacy}","received_events_url":"https://api.github.com/users/keboola/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/keboola/kbc-ui","description":"User interface for Keboola Connection","fork":false,"url":"https://api.github.com/repos/keboola/kbc-ui","forks_url":"https://api.github.com/repos/keboola/kbc-ui/forks","keys_url":"https://api.github.com/repos/keboola/kbc-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/keboola/kbc-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/keboola/kbc-ui/teams","hooks_url":"https://api.github.com/repos/keboola/kbc-ui/hooks","issue_events_url":"https://api.github.com/repos/keboola/kbc-ui/issues/events{/number}","events_url":"https://api.github.com/repos/keboola/kbc-ui/events","assignees_url":"https://api.github.com/repos/keboola/kbc-ui/assignees{/user}","branches_url":"https://api.github.com/repos/keboola/kbc-ui/branches{/branch}","tags_url":"https://api.github.com/repos/keboola/kbc-ui/tags","blobs_url":"https://api.github.com/repos/keboola/kbc-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/keboola/kbc-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/keboola/kbc-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/keboola/kbc-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/keboola/kbc-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/keboola/kbc-ui/languages","stargazers_url":"https://api.github.com/repos/keboola/kbc-ui/stargazers","contributors_url":"https://api.github.com/repos/keboola/kbc-ui/contributors","subscribers_url":"https://api.github.com/repos/keboola/kbc-ui/subscribers","subscription_url":"https://api.github.com/repos/keboola/kbc-ui/subscription","commits_url":"https://api.github.com/repos/keboola/kbc-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/keboola/kbc-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/keboola/kbc-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/keboola/kbc-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/keboola/kbc-ui/contents/{+path}","compare_url":"https://api.github.com/repos/keboola/kbc-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/keboola/kbc-ui/merges","archive_url":"https://api.github.com/repos/keboola/kbc-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/keboola/kbc-ui/downloads","issues_url":"https://api.github.com/repos/keboola/kbc-ui/issues{/number}","pulls_url":"https://api.github.com/repos/keboola/kbc-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/keboola/kbc-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/keboola/kbc-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/keboola/kbc-ui/labels{/name}","releases_url":"https://api.github.com/repos/keboola/kbc-ui/releases{/id}","deployments_url":"https://api.github.com/repos/keboola/kbc-ui/deployments","created_at":"2014-11-15T13:56:22Z","updated_at":"2018-08-03T10:47:07Z","pushed_at":"2018-08-06T10:13:12Z","git_url":"git://github.com/keboola/kbc-ui.git","ssh_url":"git@github.com:keboola/kbc-ui.git","clone_url":"https://github.com/keboola/kbc-ui.git","svn_url":"https://github.com/keboola/kbc-ui","homepage":"","size":16145,"stargazers_count":16,"watchers_count":16,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":275,"license":null,"forks":9,"open_issues":275,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/keboola/kbc-ui/pulls/1891"},"html":{"href":"https://github.com/keboola/kbc-ui/pull/1891"},"issue":{"href":"https://api.github.com/repos/keboola/kbc-ui/issues/1891"},"comments":{"href":"https://api.github.com/repos/keboola/kbc-ui/issues/1891/comments"},"review_comments":{"href":"https://api.github.com/repos/keboola/kbc-ui/pulls/1891/comments"},"review_comment":{"href":"https://api.github.com/repos/keboola/kbc-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/keboola/kbc-ui/pulls/1891/commits"},"statuses":{"href":"https://api.github.com/repos/keboola/kbc-ui/statuses/0d5ba54da627805d8c736713b51e15855dbc0f11"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"kacurez"}}