{"action":"created","comment":{"url":"https://api.github.com/repos/wix/wix-ui/pulls/comments/195023400","pull_request_review_id":128305344,"id":195023400,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NTAyMzQwMA==","diff_hunk":"@@ -0,0 +1,49 @@\n+import * as React from 'react';\n+import style from './LinearProgressBar.st.css';\n+\n+export interface LinearProgressBarProps {\n+  value: number;\n+  error?: boolean;\n+  showProgressIndication?: boolean;\n+  errorIcon?: JSX.Element;\n+  successIcon?: JSX.Element;\n+}\n+\n+const resolveIndicationElement = (props: LinearProgressBarProps) => {\n+  const wrapped = (dataHook: string, children: JSX.Element) => \n+    <div data-hook={dataHook}>{children}</div>;\n+\n+  if (props.error) {\n+    return props.errorIcon && wrapped('error-icon', props.errorIcon);\n+  }\n+\n+  if (props.value === 100) {\n+    return props.successIcon && wrapped('success-icon', props.successIcon);","path":"packages/wix-ui-core/src/components/LinearProgressBar/LinearProgressBar.tsx","position":21,"original_position":21,"commit_id":"c521fc122ca2bbe92d30e8ba9a65417dcbd81b6a","original_commit_id":"c521fc122ca2bbe92d30e8ba9a65417dcbd81b6a","user":{"login":"shl3vi","id":16741465,"node_id":"MDQ6VXNlcjE2NzQxNDY1","avatar_url":"https://avatars1.githubusercontent.com/u/16741465?v=4","gravatar_id":"","url":"https://api.github.com/users/shl3vi","html_url":"https://github.com/shl3vi","followers_url":"https://api.github.com/users/shl3vi/followers","following_url":"https://api.github.com/users/shl3vi/following{/other_user}","gists_url":"https://api.github.com/users/shl3vi/gists{/gist_id}","starred_url":"https://api.github.com/users/shl3vi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shl3vi/subscriptions","organizations_url":"https://api.github.com/users/shl3vi/orgs","repos_url":"https://api.github.com/users/shl3vi/repos","events_url":"https://api.github.com/users/shl3vi/events{/privacy}","received_events_url":"https://api.github.com/users/shl3vi/received_events","type":"User","site_admin":false},"body":"Done","created_at":"2018-06-13T09:57:39Z","updated_at":"2018-06-13T09:57:39Z","html_url":"https://github.com/wix/wix-ui/pull/562#discussion_r195023400","pull_request_url":"https://api.github.com/repos/wix/wix-ui/pulls/562","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/wix/wix-ui/pulls/comments/195023400"},"html":{"href":"https://github.com/wix/wix-ui/pull/562#discussion_r195023400"},"pull_request":{"href":"https://api.github.com/repos/wix/wix-ui/pulls/562"}},"in_reply_to_id":194751483},"pull_request":{"url":"https://api.github.com/repos/wix/wix-ui/pulls/562","id":194287567,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0Mjg3NTY3","html_url":"https://github.com/wix/wix-ui/pull/562","diff_url":"https://github.com/wix/wix-ui/pull/562.diff","patch_url":"https://github.com/wix/wix-ui/pull/562.patch","issue_url":"https://api.github.com/repos/wix/wix-ui/issues/562","number":562,"state":"open","locked":false,"title":"Linear Progress bar","user":{"login":"shl3vi","id":16741465,"node_id":"MDQ6VXNlcjE2NzQxNDY1","avatar_url":"https://avatars1.githubusercontent.com/u/16741465?v=4","gravatar_id":"","url":"https://api.github.com/users/shl3vi","html_url":"https://github.com/shl3vi","followers_url":"https://api.github.com/users/shl3vi/followers","following_url":"https://api.github.com/users/shl3vi/following{/other_user}","gists_url":"https://api.github.com/users/shl3vi/gists{/gist_id}","starred_url":"https://api.github.com/users/shl3vi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shl3vi/subscriptions","organizations_url":"https://api.github.com/users/shl3vi/orgs","repos_url":"https://api.github.com/users/shl3vi/repos","events_url":"https://api.github.com/users/shl3vi/events{/privacy}","received_events_url":"https://api.github.com/users/shl3vi/received_events","type":"User","site_admin":false},"body":"* Linear progressBar\r\n* Testkits\r\n* Storybook with examples (use autococ)\r\n* Tests - component (missing e2e)\r\n","created_at":"2018-06-12T13:52:35Z","updated_at":"2018-06-13T09:57:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cab95b664736fb2f9f0ccd43dcd715bf392e8868","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/wix/wix-ui/pulls/562/commits","review_comments_url":"https://api.github.com/repos/wix/wix-ui/pulls/562/comments","review_comment_url":"https://api.github.com/repos/wix/wix-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wix/wix-ui/issues/562/comments","statuses_url":"https://api.github.com/repos/wix/wix-ui/statuses/c521fc122ca2bbe92d30e8ba9a65417dcbd81b6a","head":{"label":"wix:progress-bar","ref":"progress-bar","sha":"c521fc122ca2bbe92d30e8ba9a65417dcbd81b6a","user":{"login":"wix","id":686511,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NjUxMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/686511?v=4","gravatar_id":"","url":"https://api.github.com/users/wix","html_url":"https://github.com/wix","followers_url":"https://api.github.com/users/wix/followers","following_url":"https://api.github.com/users/wix/following{/other_user}","gists_url":"https://api.github.com/users/wix/gists{/gist_id}","starred_url":"https://api.github.com/users/wix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wix/subscriptions","organizations_url":"https://api.github.com/users/wix/orgs","repos_url":"https://api.github.com/users/wix/repos","events_url":"https://api.github.com/users/wix/events{/privacy}","received_events_url":"https://api.github.com/users/wix/received_events","type":"Organization","site_admin":false},"repo":{"id":102359519,"node_id":"MDEwOlJlcG9zaXRvcnkxMDIzNTk1MTk=","name":"wix-ui","full_name":"wix/wix-ui","owner":{"login":"wix","id":686511,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NjUxMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/686511?v=4","gravatar_id":"","url":"https://api.github.com/users/wix","html_url":"https://github.com/wix","followers_url":"https://api.github.com/users/wix/followers","following_url":"https://api.github.com/users/wix/following{/other_user}","gists_url":"https://api.github.com/users/wix/gists{/gist_id}","starred_url":"https://api.github.com/users/wix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wix/subscriptions","organizations_url":"https://api.github.com/users/wix/orgs","repos_url":"https://api.github.com/users/wix/repos","events_url":"https://api.github.com/users/wix/events{/privacy}","received_events_url":"https://api.github.com/users/wix/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wix/wix-ui","description":null,"fork":false,"url":"https://api.github.com/repos/wix/wix-ui","forks_url":"https://api.github.com/repos/wix/wix-ui/forks","keys_url":"https://api.github.com/repos/wix/wix-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wix/wix-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wix/wix-ui/teams","hooks_url":"https://api.github.com/repos/wix/wix-ui/hooks","issue_events_url":"https://api.github.com/repos/wix/wix-ui/issues/events{/number}","events_url":"https://api.github.com/repos/wix/wix-ui/events","assignees_url":"https://api.github.com/repos/wix/wix-ui/assignees{/user}","branches_url":"https://api.github.com/repos/wix/wix-ui/branches{/branch}","tags_url":"https://api.github.com/repos/wix/wix-ui/tags","blobs_url":"https://api.github.com/repos/wix/wix-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wix/wix-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wix/wix-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/wix/wix-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wix/wix-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/wix/wix-ui/languages","stargazers_url":"https://api.github.com/repos/wix/wix-ui/stargazers","contributors_url":"https://api.github.com/repos/wix/wix-ui/contributors","subscribers_url":"https://api.github.com/repos/wix/wix-ui/subscribers","subscription_url":"https://api.github.com/repos/wix/wix-ui/subscription","commits_url":"https://api.github.com/repos/wix/wix-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/wix/wix-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/wix/wix-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/wix/wix-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/wix/wix-ui/contents/{+path}","compare_url":"https://api.github.com/repos/wix/wix-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wix/wix-ui/merges","archive_url":"https://api.github.com/repos/wix/wix-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wix/wix-ui/downloads","issues_url":"https://api.github.com/repos/wix/wix-ui/issues{/number}","pulls_url":"https://api.github.com/repos/wix/wix-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/wix/wix-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/wix/wix-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wix/wix-ui/labels{/name}","releases_url":"https://api.github.com/repos/wix/wix-ui/releases{/id}","deployments_url":"https://api.github.com/repos/wix/wix-ui/deployments","created_at":"2017-09-04T12:34:56Z","updated_at":"2018-06-13T08:57:18Z","pushed_at":"2018-06-13T08:58:59Z","git_url":"git://github.com/wix/wix-ui.git","ssh_url":"git@github.com:wix/wix-ui.git","clone_url":"https://github.com/wix/wix-ui.git","svn_url":"https://github.com/wix/wix-ui","homepage":null,"size":3429,"stargazers_count":29,"watchers_count":29,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":55,"license":null,"forks":8,"open_issues":55,"watchers":29,"default_branch":"master"}},"base":{"label":"wix:master","ref":"master","sha":"9c099eb761aa890dfc58be237dc6763cf3faf4e5","user":{"login":"wix","id":686511,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NjUxMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/686511?v=4","gravatar_id":"","url":"https://api.github.com/users/wix","html_url":"https://github.com/wix","followers_url":"https://api.github.com/users/wix/followers","following_url":"https://api.github.com/users/wix/following{/other_user}","gists_url":"https://api.github.com/users/wix/gists{/gist_id}","starred_url":"https://api.github.com/users/wix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wix/subscriptions","organizations_url":"https://api.github.com/users/wix/orgs","repos_url":"https://api.github.com/users/wix/repos","events_url":"https://api.github.com/users/wix/events{/privacy}","received_events_url":"https://api.github.com/users/wix/received_events","type":"Organization","site_admin":false},"repo":{"id":102359519,"node_id":"MDEwOlJlcG9zaXRvcnkxMDIzNTk1MTk=","name":"wix-ui","full_name":"wix/wix-ui","owner":{"login":"wix","id":686511,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NjUxMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/686511?v=4","gravatar_id":"","url":"https://api.github.com/users/wix","html_url":"https://github.com/wix","followers_url":"https://api.github.com/users/wix/followers","following_url":"https://api.github.com/users/wix/following{/other_user}","gists_url":"https://api.github.com/users/wix/gists{/gist_id}","starred_url":"https://api.github.com/users/wix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wix/subscriptions","organizations_url":"https://api.github.com/users/wix/orgs","repos_url":"https://api.github.com/users/wix/repos","events_url":"https://api.github.com/users/wix/events{/privacy}","received_events_url":"https://api.github.com/users/wix/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wix/wix-ui","description":null,"fork":false,"url":"https://api.github.com/repos/wix/wix-ui","forks_url":"https://api.github.com/repos/wix/wix-ui/forks","keys_url":"https://api.github.com/repos/wix/wix-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wix/wix-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wix/wix-ui/teams","hooks_url":"https://api.github.com/repos/wix/wix-ui/hooks","issue_events_url":"https://api.github.com/repos/wix/wix-ui/issues/events{/number}","events_url":"https://api.github.com/repos/wix/wix-ui/events","assignees_url":"https://api.github.com/repos/wix/wix-ui/assignees{/user}","branches_url":"https://api.github.com/repos/wix/wix-ui/branches{/branch}","tags_url":"https://api.github.com/repos/wix/wix-ui/tags","blobs_url":"https://api.github.com/repos/wix/wix-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wix/wix-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wix/wix-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/wix/wix-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wix/wix-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/wix/wix-ui/languages","stargazers_url":"https://api.github.com/repos/wix/wix-ui/stargazers","contributors_url":"https://api.github.com/repos/wix/wix-ui/contributors","subscribers_url":"https://api.github.com/repos/wix/wix-ui/subscribers","subscription_url":"https://api.github.com/repos/wix/wix-ui/subscription","commits_url":"https://api.github.com/repos/wix/wix-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/wix/wix-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/wix/wix-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/wix/wix-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/wix/wix-ui/contents/{+path}","compare_url":"https://api.github.com/repos/wix/wix-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wix/wix-ui/merges","archive_url":"https://api.github.com/repos/wix/wix-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wix/wix-ui/downloads","issues_url":"https://api.github.com/repos/wix/wix-ui/issues{/number}","pulls_url":"https://api.github.com/repos/wix/wix-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/wix/wix-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/wix/wix-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wix/wix-ui/labels{/name}","releases_url":"https://api.github.com/repos/wix/wix-ui/releases{/id}","deployments_url":"https://api.github.com/repos/wix/wix-ui/deployments","created_at":"2017-09-04T12:34:56Z","updated_at":"2018-06-13T08:57:18Z","pushed_at":"2018-06-13T08:58:59Z","git_url":"git://github.com/wix/wix-ui.git","ssh_url":"git@github.com:wix/wix-ui.git","clone_url":"https://github.com/wix/wix-ui.git","svn_url":"https://github.com/wix/wix-ui","homepage":null,"size":3429,"stargazers_count":29,"watchers_count":29,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":55,"license":null,"forks":8,"open_issues":55,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wix/wix-ui/pulls/562"},"html":{"href":"https://github.com/wix/wix-ui/pull/562"},"issue":{"href":"https://api.github.com/repos/wix/wix-ui/issues/562"},"comments":{"href":"https://api.github.com/repos/wix/wix-ui/issues/562/comments"},"review_comments":{"href":"https://api.github.com/repos/wix/wix-ui/pulls/562/comments"},"review_comment":{"href":"https://api.github.com/repos/wix/wix-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wix/wix-ui/pulls/562/commits"},"statuses":{"href":"https://api.github.com/repos/wix/wix-ui/statuses/c521fc122ca2bbe92d30e8ba9a65417dcbd81b6a"}},"author_association":"NONE"}}
{"actor":{"display_login":"shl3vi"}}