{"action":"created","comment":{"url":"https://api.github.com/repos/unlock-protocol/unlock/pulls/comments/236052090","pull_request_review_id":178060591,"id":236052090,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNjA1MjA5MA==","diff_hunk":"@@ -1,14 +1,21 @@\n import React from 'react'\n import { storiesOf } from '@storybook/react'\n+\n+import { Provider } from 'react-redux'\n import LockIconBar from '../../components/creator/lock/LockIconBar'\n+import createUnlockStore from '../../createUnlockStore'\n+\n+const store = createUnlockStore({})\n \n-storiesOf('LockIconBar', LockIconBar).add('LockIconBar', () => {\n-  const lock = {\n-    keyPrice: '10000000000000000000',\n-    expirationDuration: '172800',\n-    maxNumberOfKeys: '240',\n-    outstandingKeys: '3',\n-    address: '0xab7c74abc0c4d48d1bdad5dcb26153fc8780f83e',\n-  }\n-  return <LockIconBar lock={lock} />\n-})\n+storiesOf('LockIconBar', LockIconBar)\n+  .addDecorator(getStory => <Provider store={store}>{getStory()}</Provider>)\n+  .add('LockIconBar', () => {\n+    const lock = {\n+      keyPrice: '10000000000000000000',\n+      expirationDuration: '172800',\n+      maxNumberOfKeys: '240',\n+      outstandingKeys: '3',","path":"unlock-app/src/stories/creator/LockIconBar.stories.js","position":27,"original_position":27,"commit_id":"e2a39117a521db7c251790ea4459516cf607f775","original_commit_id":"e2a39117a521db7c251790ea4459516cf607f775","user":{"login":"benwerd","id":624104,"node_id":"MDQ6VXNlcjYyNDEwNA==","avatar_url":"https://avatars0.githubusercontent.com/u/624104?v=4","gravatar_id":"","url":"https://api.github.com/users/benwerd","html_url":"https://github.com/benwerd","followers_url":"https://api.github.com/users/benwerd/followers","following_url":"https://api.github.com/users/benwerd/following{/other_user}","gists_url":"https://api.github.com/users/benwerd/gists{/gist_id}","starred_url":"https://api.github.com/users/benwerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benwerd/subscriptions","organizations_url":"https://api.github.com/users/benwerd/orgs","repos_url":"https://api.github.com/users/benwerd/repos","events_url":"https://api.github.com/users/benwerd/events{/privacy}","received_events_url":"https://api.github.com/users/benwerd/received_events","type":"User","site_admin":false},"body":"I'll go back and fix this - my oversight - but we should be using integers now.","created_at":"2018-11-24T19:50:49Z","updated_at":"2018-11-24T19:50:57Z","html_url":"https://github.com/unlock-protocol/unlock/pull/598#discussion_r236052090","pull_request_url":"https://api.github.com/repos/unlock-protocol/unlock/pulls/598","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/unlock-protocol/unlock/pulls/comments/236052090"},"html":{"href":"https://github.com/unlock-protocol/unlock/pull/598#discussion_r236052090"},"pull_request":{"href":"https://api.github.com/repos/unlock-protocol/unlock/pulls/598"}}},"pull_request":{"url":"https://api.github.com/repos/unlock-protocol/unlock/pulls/598","id":233297116,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzMjk3MTE2","html_url":"https://github.com/unlock-protocol/unlock/pull/598","diff_url":"https://github.com/unlock-protocol/unlock/pull/598.diff","patch_url":"https://github.com/unlock-protocol/unlock/pull/598.patch","issue_url":"https://api.github.com/repos/unlock-protocol/unlock/issues/598","number":598,"state":"open","locked":false,"title":"Fixing storybook stories.","user":{"login":"julien51","id":17735,"node_id":"MDQ6VXNlcjE3NzM1","avatar_url":"https://avatars0.githubusercontent.com/u/17735?v=4","gravatar_id":"","url":"https://api.github.com/users/julien51","html_url":"https://github.com/julien51","followers_url":"https://api.github.com/users/julien51/followers","following_url":"https://api.github.com/users/julien51/following{/other_user}","gists_url":"https://api.github.com/users/julien51/gists{/gist_id}","starred_url":"https://api.github.com/users/julien51/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julien51/subscriptions","organizations_url":"https://api.github.com/users/julien51/orgs","repos_url":"https://api.github.com/users/julien51/repos","events_url":"https://api.github.com/users/julien51/events{/privacy}","received_events_url":"https://api.github.com/users/julien51/received_events","type":"User","site_admin":false},"body":null,"created_at":"2018-11-24T02:47:23Z","updated_at":"2018-11-24T19:50:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bfef5330827d0856b2152db10cf39e694d9cc14f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/unlock-protocol/unlock/pulls/598/commits","review_comments_url":"https://api.github.com/repos/unlock-protocol/unlock/pulls/598/comments","review_comment_url":"https://api.github.com/repos/unlock-protocol/unlock/pulls/comments{/number}","comments_url":"https://api.github.com/repos/unlock-protocol/unlock/issues/598/comments","statuses_url":"https://api.github.com/repos/unlock-protocol/unlock/statuses/e2a39117a521db7c251790ea4459516cf607f775","head":{"label":"unlock-protocol:storybookFixes","ref":"storybookFixes","sha":"e2a39117a521db7c251790ea4459516cf607f775","user":{"login":"unlock-protocol","id":36645693,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2NjQ1Njkz","avatar_url":"https://avatars2.githubusercontent.com/u/36645693?v=4","gravatar_id":"","url":"https://api.github.com/users/unlock-protocol","html_url":"https://github.com/unlock-protocol","followers_url":"https://api.github.com/users/unlock-protocol/followers","following_url":"https://api.github.com/users/unlock-protocol/following{/other_user}","gists_url":"https://api.github.com/users/unlock-protocol/gists{/gist_id}","starred_url":"https://api.github.com/users/unlock-protocol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unlock-protocol/subscriptions","organizations_url":"https://api.github.com/users/unlock-protocol/orgs","repos_url":"https://api.github.com/users/unlock-protocol/repos","events_url":"https://api.github.com/users/unlock-protocol/events{/privacy}","received_events_url":"https://api.github.com/users/unlock-protocol/received_events","type":"Organization","site_admin":false},"repo":{"id":112683472,"node_id":"MDEwOlJlcG9zaXRvcnkxMTI2ODM0NzI=","name":"unlock","full_name":"unlock-protocol/unlock","private":false,"owner":{"login":"unlock-protocol","id":36645693,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2NjQ1Njkz","avatar_url":"https://avatars2.githubusercontent.com/u/36645693?v=4","gravatar_id":"","url":"https://api.github.com/users/unlock-protocol","html_url":"https://github.com/unlock-protocol","followers_url":"https://api.github.com/users/unlock-protocol/followers","following_url":"https://api.github.com/users/unlock-protocol/following{/other_user}","gists_url":"https://api.github.com/users/unlock-protocol/gists{/gist_id}","starred_url":"https://api.github.com/users/unlock-protocol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unlock-protocol/subscriptions","organizations_url":"https://api.github.com/users/unlock-protocol/orgs","repos_url":"https://api.github.com/users/unlock-protocol/repos","events_url":"https://api.github.com/users/unlock-protocol/events{/privacy}","received_events_url":"https://api.github.com/users/unlock-protocol/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/unlock-protocol/unlock","description":"Unlock is the web's new business model","fork":false,"url":"https://api.github.com/repos/unlock-protocol/unlock","forks_url":"https://api.github.com/repos/unlock-protocol/unlock/forks","keys_url":"https://api.github.com/repos/unlock-protocol/unlock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/unlock-protocol/unlock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/unlock-protocol/unlock/teams","hooks_url":"https://api.github.com/repos/unlock-protocol/unlock/hooks","issue_events_url":"https://api.github.com/repos/unlock-protocol/unlock/issues/events{/number}","events_url":"https://api.github.com/repos/unlock-protocol/unlock/events","assignees_url":"https://api.github.com/repos/unlock-protocol/unlock/assignees{/user}","branches_url":"https://api.github.com/repos/unlock-protocol/unlock/branches{/branch}","tags_url":"https://api.github.com/repos/unlock-protocol/unlock/tags","blobs_url":"https://api.github.com/repos/unlock-protocol/unlock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/unlock-protocol/unlock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/unlock-protocol/unlock/git/refs{/sha}","trees_url":"https://api.github.com/repos/unlock-protocol/unlock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/unlock-protocol/unlock/statuses/{sha}","languages_url":"https://api.github.com/repos/unlock-protocol/unlock/languages","stargazers_url":"https://api.github.com/repos/unlock-protocol/unlock/stargazers","contributors_url":"https://api.github.com/repos/unlock-protocol/unlock/contributors","subscribers_url":"https://api.github.com/repos/unlock-protocol/unlock/subscribers","subscription_url":"https://api.github.com/repos/unlock-protocol/unlock/subscription","commits_url":"https://api.github.com/repos/unlock-protocol/unlock/commits{/sha}","git_commits_url":"https://api.github.com/repos/unlock-protocol/unlock/git/commits{/sha}","comments_url":"https://api.github.com/repos/unlock-protocol/unlock/comments{/number}","issue_comment_url":"https://api.github.com/repos/unlock-protocol/unlock/issues/comments{/number}","contents_url":"https://api.github.com/repos/unlock-protocol/unlock/contents/{+path}","compare_url":"https://api.github.com/repos/unlock-protocol/unlock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/unlock-protocol/unlock/merges","archive_url":"https://api.github.com/repos/unlock-protocol/unlock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/unlock-protocol/unlock/downloads","issues_url":"https://api.github.com/repos/unlock-protocol/unlock/issues{/number}","pulls_url":"https://api.github.com/repos/unlock-protocol/unlock/pulls{/number}","milestones_url":"https://api.github.com/repos/unlock-protocol/unlock/milestones{/number}","notifications_url":"https://api.github.com/repos/unlock-protocol/unlock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/unlock-protocol/unlock/labels{/name}","releases_url":"https://api.github.com/repos/unlock-protocol/unlock/releases{/id}","deployments_url":"https://api.github.com/repos/unlock-protocol/unlock/deployments","created_at":"2017-12-01T02:08:01Z","updated_at":"2018-11-22T16:30:27Z","pushed_at":"2018-11-24T03:08:23Z","git_url":"git://github.com/unlock-protocol/unlock.git","ssh_url":"git@github.com:unlock-protocol/unlock.git","clone_url":"https://github.com/unlock-protocol/unlock.git","svn_url":"https://github.com/unlock-protocol/unlock","homepage":"https://unlock-protocol.com","size":9434,"stargazers_count":59,"watchers_count":59,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"archived":false,"open_issues_count":45,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":21,"open_issues":45,"watchers":59,"default_branch":"master"}},"base":{"label":"unlock-protocol:master","ref":"master","sha":"1449dddaaad19f54b4b4f44eff2353039118c862","user":{"login":"unlock-protocol","id":36645693,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2NjQ1Njkz","avatar_url":"https://avatars2.githubusercontent.com/u/36645693?v=4","gravatar_id":"","url":"https://api.github.com/users/unlock-protocol","html_url":"https://github.com/unlock-protocol","followers_url":"https://api.github.com/users/unlock-protocol/followers","following_url":"https://api.github.com/users/unlock-protocol/following{/other_user}","gists_url":"https://api.github.com/users/unlock-protocol/gists{/gist_id}","starred_url":"https://api.github.com/users/unlock-protocol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unlock-protocol/subscriptions","organizations_url":"https://api.github.com/users/unlock-protocol/orgs","repos_url":"https://api.github.com/users/unlock-protocol/repos","events_url":"https://api.github.com/users/unlock-protocol/events{/privacy}","received_events_url":"https://api.github.com/users/unlock-protocol/received_events","type":"Organization","site_admin":false},"repo":{"id":112683472,"node_id":"MDEwOlJlcG9zaXRvcnkxMTI2ODM0NzI=","name":"unlock","full_name":"unlock-protocol/unlock","private":false,"owner":{"login":"unlock-protocol","id":36645693,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2NjQ1Njkz","avatar_url":"https://avatars2.githubusercontent.com/u/36645693?v=4","gravatar_id":"","url":"https://api.github.com/users/unlock-protocol","html_url":"https://github.com/unlock-protocol","followers_url":"https://api.github.com/users/unlock-protocol/followers","following_url":"https://api.github.com/users/unlock-protocol/following{/other_user}","gists_url":"https://api.github.com/users/unlock-protocol/gists{/gist_id}","starred_url":"https://api.github.com/users/unlock-protocol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unlock-protocol/subscriptions","organizations_url":"https://api.github.com/users/unlock-protocol/orgs","repos_url":"https://api.github.com/users/unlock-protocol/repos","events_url":"https://api.github.com/users/unlock-protocol/events{/privacy}","received_events_url":"https://api.github.com/users/unlock-protocol/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/unlock-protocol/unlock","description":"Unlock is the web's new business model","fork":false,"url":"https://api.github.com/repos/unlock-protocol/unlock","forks_url":"https://api.github.com/repos/unlock-protocol/unlock/forks","keys_url":"https://api.github.com/repos/unlock-protocol/unlock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/unlock-protocol/unlock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/unlock-protocol/unlock/teams","hooks_url":"https://api.github.com/repos/unlock-protocol/unlock/hooks","issue_events_url":"https://api.github.com/repos/unlock-protocol/unlock/issues/events{/number}","events_url":"https://api.github.com/repos/unlock-protocol/unlock/events","assignees_url":"https://api.github.com/repos/unlock-protocol/unlock/assignees{/user}","branches_url":"https://api.github.com/repos/unlock-protocol/unlock/branches{/branch}","tags_url":"https://api.github.com/repos/unlock-protocol/unlock/tags","blobs_url":"https://api.github.com/repos/unlock-protocol/unlock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/unlock-protocol/unlock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/unlock-protocol/unlock/git/refs{/sha}","trees_url":"https://api.github.com/repos/unlock-protocol/unlock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/unlock-protocol/unlock/statuses/{sha}","languages_url":"https://api.github.com/repos/unlock-protocol/unlock/languages","stargazers_url":"https://api.github.com/repos/unlock-protocol/unlock/stargazers","contributors_url":"https://api.github.com/repos/unlock-protocol/unlock/contributors","subscribers_url":"https://api.github.com/repos/unlock-protocol/unlock/subscribers","subscription_url":"https://api.github.com/repos/unlock-protocol/unlock/subscription","commits_url":"https://api.github.com/repos/unlock-protocol/unlock/commits{/sha}","git_commits_url":"https://api.github.com/repos/unlock-protocol/unlock/git/commits{/sha}","comments_url":"https://api.github.com/repos/unlock-protocol/unlock/comments{/number}","issue_comment_url":"https://api.github.com/repos/unlock-protocol/unlock/issues/comments{/number}","contents_url":"https://api.github.com/repos/unlock-protocol/unlock/contents/{+path}","compare_url":"https://api.github.com/repos/unlock-protocol/unlock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/unlock-protocol/unlock/merges","archive_url":"https://api.github.com/repos/unlock-protocol/unlock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/unlock-protocol/unlock/downloads","issues_url":"https://api.github.com/repos/unlock-protocol/unlock/issues{/number}","pulls_url":"https://api.github.com/repos/unlock-protocol/unlock/pulls{/number}","milestones_url":"https://api.github.com/repos/unlock-protocol/unlock/milestones{/number}","notifications_url":"https://api.github.com/repos/unlock-protocol/unlock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/unlock-protocol/unlock/labels{/name}","releases_url":"https://api.github.com/repos/unlock-protocol/unlock/releases{/id}","deployments_url":"https://api.github.com/repos/unlock-protocol/unlock/deployments","created_at":"2017-12-01T02:08:01Z","updated_at":"2018-11-22T16:30:27Z","pushed_at":"2018-11-24T03:08:23Z","git_url":"git://github.com/unlock-protocol/unlock.git","ssh_url":"git@github.com:unlock-protocol/unlock.git","clone_url":"https://github.com/unlock-protocol/unlock.git","svn_url":"https://github.com/unlock-protocol/unlock","homepage":"https://unlock-protocol.com","size":9434,"stargazers_count":59,"watchers_count":59,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"archived":false,"open_issues_count":45,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":21,"open_issues":45,"watchers":59,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/unlock-protocol/unlock/pulls/598"},"html":{"href":"https://github.com/unlock-protocol/unlock/pull/598"},"issue":{"href":"https://api.github.com/repos/unlock-protocol/unlock/issues/598"},"comments":{"href":"https://api.github.com/repos/unlock-protocol/unlock/issues/598/comments"},"review_comments":{"href":"https://api.github.com/repos/unlock-protocol/unlock/pulls/598/comments"},"review_comment":{"href":"https://api.github.com/repos/unlock-protocol/unlock/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/unlock-protocol/unlock/pulls/598/commits"},"statuses":{"href":"https://api.github.com/repos/unlock-protocol/unlock/statuses/e2a39117a521db7c251790ea4459516cf607f775"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"benwerd"}}