{"action":"created","comment":{"url":"https://api.github.com/repos/newsuk/times-components/pulls/comments/181409044","pull_request_review_id":112036722,"id":181409044,"diff_hunk":"@@ -29,53 +30,52 @@ const bylineLinkStyles = {\n   }\n };\n \n+const sections = Object.keys(colours.section);\n+\n+const ArticleBylineWithCommonProps = props => (","path":"packages/article-byline/article-byline.stories.js","position":null,"original_position":14,"commit_id":"e7ccaa571a50a760363cb0dcd391f46c304d7880","original_commit_id":"21f744ee2f26db9e02d4fc8070d2519126bf33a3","user":{"login":"jamesseanwright","id":2032803,"avatar_url":"https://avatars1.githubusercontent.com/u/2032803?v=4","gravatar_id":"","url":"https://api.github.com/users/jamesseanwright","html_url":"https://github.com/jamesseanwright","followers_url":"https://api.github.com/users/jamesseanwright/followers","following_url":"https://api.github.com/users/jamesseanwright/following{/other_user}","gists_url":"https://api.github.com/users/jamesseanwright/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesseanwright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesseanwright/subscriptions","organizations_url":"https://api.github.com/users/jamesseanwright/orgs","repos_url":"https://api.github.com/users/jamesseanwright/repos","events_url":"https://api.github.com/users/jamesseanwright/events{/privacy}","received_events_url":"https://api.github.com/users/jamesseanwright/received_events","type":"User","site_admin":false},"body":"I had tried this, but it didn't work with the Storybook knobs. However, I was able to work around this by writing a function for getting the common props, so that said knobs are reinvoked on each render.","created_at":"2018-04-13T14:38:54Z","updated_at":"2018-04-13T14:38:54Z","html_url":"https://github.com/newsuk/times-components/pull/867#discussion_r181409044","pull_request_url":"https://api.github.com/repos/newsuk/times-components/pulls/867","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/newsuk/times-components/pulls/comments/181409044"},"html":{"href":"https://github.com/newsuk/times-components/pull/867#discussion_r181409044"},"pull_request":{"href":"https://api.github.com/repos/newsuk/times-components/pulls/867"}},"in_reply_to_id":181391176},"pull_request":{"url":"https://api.github.com/repos/newsuk/times-components/pulls/867","id":181489596,"html_url":"https://github.com/newsuk/times-components/pull/867","diff_url":"https://github.com/newsuk/times-components/pull/867.diff","patch_url":"https://github.com/newsuk/times-components/pull/867.patch","issue_url":"https://api.github.com/repos/newsuk/times-components/issues/867","number":867,"state":"open","locked":false,"title":"Feat/REPLAT-1761/488 - article byline styling","user":{"login":"jamesseanwright","id":2032803,"avatar_url":"https://avatars1.githubusercontent.com/u/2032803?v=4","gravatar_id":"","url":"https://api.github.com/users/jamesseanwright","html_url":"https://github.com/jamesseanwright","followers_url":"https://api.github.com/users/jamesseanwright/followers","following_url":"https://api.github.com/users/jamesseanwright/following{/other_user}","gists_url":"https://api.github.com/users/jamesseanwright/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesseanwright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesseanwright/subscriptions","organizations_url":"https://api.github.com/users/jamesseanwright/orgs","repos_url":"https://api.github.com/users/jamesseanwright/repos","events_url":"https://api.github.com/users/jamesseanwright/events{/privacy}","received_events_url":"https://api.github.com/users/jamesseanwright/received_events","type":"User","site_admin":false},"body":"Covered by [REPLAT-1761](https://nidigitalsolutions.jira.com/browse/REPLAT-1761) and [REPLAT-488](https://nidigitalsolutions.jira.com/browse/REPLAT-488).","created_at":"2018-04-13T13:33:26Z","updated_at":"2018-04-13T14:38:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0f94ce21dcec9574d06c542c1c9b3d8328e59bcf","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/newsuk/times-components/pulls/867/commits","review_comments_url":"https://api.github.com/repos/newsuk/times-components/pulls/867/comments","review_comment_url":"https://api.github.com/repos/newsuk/times-components/pulls/comments{/number}","comments_url":"https://api.github.com/repos/newsuk/times-components/issues/867/comments","statuses_url":"https://api.github.com/repos/newsuk/times-components/statuses/e7ccaa571a50a760363cb0dcd391f46c304d7880","head":{"label":"newsuk:feat/replat-1761-article-byline-styling","ref":"feat/replat-1761-article-byline-styling","sha":"e7ccaa571a50a760363cb0dcd391f46c304d7880","user":{"login":"newsuk","id":736306,"avatar_url":"https://avatars1.githubusercontent.com/u/736306?v=4","gravatar_id":"","url":"https://api.github.com/users/newsuk","html_url":"https://github.com/newsuk","followers_url":"https://api.github.com/users/newsuk/followers","following_url":"https://api.github.com/users/newsuk/following{/other_user}","gists_url":"https://api.github.com/users/newsuk/gists{/gist_id}","starred_url":"https://api.github.com/users/newsuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newsuk/subscriptions","organizations_url":"https://api.github.com/users/newsuk/orgs","repos_url":"https://api.github.com/users/newsuk/repos","events_url":"https://api.github.com/users/newsuk/events{/privacy}","received_events_url":"https://api.github.com/users/newsuk/received_events","type":"Organization","site_admin":false},"repo":{"id":93151110,"name":"times-components","full_name":"newsuk/times-components","owner":{"login":"newsuk","id":736306,"avatar_url":"https://avatars1.githubusercontent.com/u/736306?v=4","gravatar_id":"","url":"https://api.github.com/users/newsuk","html_url":"https://github.com/newsuk","followers_url":"https://api.github.com/users/newsuk/followers","following_url":"https://api.github.com/users/newsuk/following{/other_user}","gists_url":"https://api.github.com/users/newsuk/gists{/gist_id}","starred_url":"https://api.github.com/users/newsuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newsuk/subscriptions","organizations_url":"https://api.github.com/users/newsuk/orgs","repos_url":"https://api.github.com/users/newsuk/repos","events_url":"https://api.github.com/users/newsuk/events{/privacy}","received_events_url":"https://api.github.com/users/newsuk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/newsuk/times-components","description":"A collection of reusable components used by The Times","fork":false,"url":"https://api.github.com/repos/newsuk/times-components","forks_url":"https://api.github.com/repos/newsuk/times-components/forks","keys_url":"https://api.github.com/repos/newsuk/times-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/newsuk/times-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/newsuk/times-components/teams","hooks_url":"https://api.github.com/repos/newsuk/times-components/hooks","issue_events_url":"https://api.github.com/repos/newsuk/times-components/issues/events{/number}","events_url":"https://api.github.com/repos/newsuk/times-components/events","assignees_url":"https://api.github.com/repos/newsuk/times-components/assignees{/user}","branches_url":"https://api.github.com/repos/newsuk/times-components/branches{/branch}","tags_url":"https://api.github.com/repos/newsuk/times-components/tags","blobs_url":"https://api.github.com/repos/newsuk/times-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/newsuk/times-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/newsuk/times-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/newsuk/times-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/newsuk/times-components/statuses/{sha}","languages_url":"https://api.github.com/repos/newsuk/times-components/languages","stargazers_url":"https://api.github.com/repos/newsuk/times-components/stargazers","contributors_url":"https://api.github.com/repos/newsuk/times-components/contributors","subscribers_url":"https://api.github.com/repos/newsuk/times-components/subscribers","subscription_url":"https://api.github.com/repos/newsuk/times-components/subscription","commits_url":"https://api.github.com/repos/newsuk/times-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/newsuk/times-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/newsuk/times-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/newsuk/times-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/newsuk/times-components/contents/{+path}","compare_url":"https://api.github.com/repos/newsuk/times-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/newsuk/times-components/merges","archive_url":"https://api.github.com/repos/newsuk/times-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/newsuk/times-components/downloads","issues_url":"https://api.github.com/repos/newsuk/times-components/issues{/number}","pulls_url":"https://api.github.com/repos/newsuk/times-components/pulls{/number}","milestones_url":"https://api.github.com/repos/newsuk/times-components/milestones{/number}","notifications_url":"https://api.github.com/repos/newsuk/times-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/newsuk/times-components/labels{/name}","releases_url":"https://api.github.com/repos/newsuk/times-components/releases{/id}","deployments_url":"https://api.github.com/repos/newsuk/times-components/deployments","created_at":"2017-06-02T09:41:03Z","updated_at":"2018-04-13T13:08:49Z","pushed_at":"2018-04-13T14:37:26Z","git_url":"git://github.com/newsuk/times-components.git","ssh_url":"git@github.com:newsuk/times-components.git","clone_url":"https://github.com/newsuk/times-components.git","svn_url":"https://github.com/newsuk/times-components","homepage":"http://components.thetimes.co.uk","size":43264,"stargazers_count":46,"watchers_count":46,"language":"JavaScript","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":30,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause"},"forks":8,"open_issues":30,"watchers":46,"default_branch":"master"}},"base":{"label":"newsuk:master","ref":"master","sha":"db14675e3af10a85b1696e9130eed143e6143107","user":{"login":"newsuk","id":736306,"avatar_url":"https://avatars1.githubusercontent.com/u/736306?v=4","gravatar_id":"","url":"https://api.github.com/users/newsuk","html_url":"https://github.com/newsuk","followers_url":"https://api.github.com/users/newsuk/followers","following_url":"https://api.github.com/users/newsuk/following{/other_user}","gists_url":"https://api.github.com/users/newsuk/gists{/gist_id}","starred_url":"https://api.github.com/users/newsuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newsuk/subscriptions","organizations_url":"https://api.github.com/users/newsuk/orgs","repos_url":"https://api.github.com/users/newsuk/repos","events_url":"https://api.github.com/users/newsuk/events{/privacy}","received_events_url":"https://api.github.com/users/newsuk/received_events","type":"Organization","site_admin":false},"repo":{"id":93151110,"name":"times-components","full_name":"newsuk/times-components","owner":{"login":"newsuk","id":736306,"avatar_url":"https://avatars1.githubusercontent.com/u/736306?v=4","gravatar_id":"","url":"https://api.github.com/users/newsuk","html_url":"https://github.com/newsuk","followers_url":"https://api.github.com/users/newsuk/followers","following_url":"https://api.github.com/users/newsuk/following{/other_user}","gists_url":"https://api.github.com/users/newsuk/gists{/gist_id}","starred_url":"https://api.github.com/users/newsuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newsuk/subscriptions","organizations_url":"https://api.github.com/users/newsuk/orgs","repos_url":"https://api.github.com/users/newsuk/repos","events_url":"https://api.github.com/users/newsuk/events{/privacy}","received_events_url":"https://api.github.com/users/newsuk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/newsuk/times-components","description":"A collection of reusable components used by The Times","fork":false,"url":"https://api.github.com/repos/newsuk/times-components","forks_url":"https://api.github.com/repos/newsuk/times-components/forks","keys_url":"https://api.github.com/repos/newsuk/times-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/newsuk/times-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/newsuk/times-components/teams","hooks_url":"https://api.github.com/repos/newsuk/times-components/hooks","issue_events_url":"https://api.github.com/repos/newsuk/times-components/issues/events{/number}","events_url":"https://api.github.com/repos/newsuk/times-components/events","assignees_url":"https://api.github.com/repos/newsuk/times-components/assignees{/user}","branches_url":"https://api.github.com/repos/newsuk/times-components/branches{/branch}","tags_url":"https://api.github.com/repos/newsuk/times-components/tags","blobs_url":"https://api.github.com/repos/newsuk/times-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/newsuk/times-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/newsuk/times-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/newsuk/times-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/newsuk/times-components/statuses/{sha}","languages_url":"https://api.github.com/repos/newsuk/times-components/languages","stargazers_url":"https://api.github.com/repos/newsuk/times-components/stargazers","contributors_url":"https://api.github.com/repos/newsuk/times-components/contributors","subscribers_url":"https://api.github.com/repos/newsuk/times-components/subscribers","subscription_url":"https://api.github.com/repos/newsuk/times-components/subscription","commits_url":"https://api.github.com/repos/newsuk/times-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/newsuk/times-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/newsuk/times-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/newsuk/times-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/newsuk/times-components/contents/{+path}","compare_url":"https://api.github.com/repos/newsuk/times-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/newsuk/times-components/merges","archive_url":"https://api.github.com/repos/newsuk/times-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/newsuk/times-components/downloads","issues_url":"https://api.github.com/repos/newsuk/times-components/issues{/number}","pulls_url":"https://api.github.com/repos/newsuk/times-components/pulls{/number}","milestones_url":"https://api.github.com/repos/newsuk/times-components/milestones{/number}","notifications_url":"https://api.github.com/repos/newsuk/times-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/newsuk/times-components/labels{/name}","releases_url":"https://api.github.com/repos/newsuk/times-components/releases{/id}","deployments_url":"https://api.github.com/repos/newsuk/times-components/deployments","created_at":"2017-06-02T09:41:03Z","updated_at":"2018-04-13T13:08:49Z","pushed_at":"2018-04-13T14:37:26Z","git_url":"git://github.com/newsuk/times-components.git","ssh_url":"git@github.com:newsuk/times-components.git","clone_url":"https://github.com/newsuk/times-components.git","svn_url":"https://github.com/newsuk/times-components","homepage":"http://components.thetimes.co.uk","size":43264,"stargazers_count":46,"watchers_count":46,"language":"JavaScript","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":30,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause"},"forks":8,"open_issues":30,"watchers":46,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/newsuk/times-components/pulls/867"},"html":{"href":"https://github.com/newsuk/times-components/pull/867"},"issue":{"href":"https://api.github.com/repos/newsuk/times-components/issues/867"},"comments":{"href":"https://api.github.com/repos/newsuk/times-components/issues/867/comments"},"review_comments":{"href":"https://api.github.com/repos/newsuk/times-components/pulls/867/comments"},"review_comment":{"href":"https://api.github.com/repos/newsuk/times-components/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/newsuk/times-components/pulls/867/commits"},"statuses":{"href":"https://api.github.com/repos/newsuk/times-components/statuses/e7ccaa571a50a760363cb0dcd391f46c304d7880"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"jamesseanwright"}}