{"action":"created","comment":{"url":"https://api.github.com/repos/seek-oss/seek-style-guide/pulls/comments/104635463","pull_request_review_id":25478944,"id":104635463,"diff_hunk":"@@ -16,17 +16,22 @@ const employerLinkHref = locale => locale === 'NZ' ?\n   'https://talent.seek.co.nz/' :\n   'https://talent.seek.com.au/';\n \n+const AUTHENTICATED = 'authenticated';","path":"react/Header/Header.js","position":4,"original_position":4,"commit_id":"449de49d5f4c76c38f6521a30b6b2b6b8109aecd","original_commit_id":"449de49d5f4c76c38f6521a30b6b2b6b8109aecd","user":{"login":"michaeltaranto","id":912060,"avatar_url":"https://avatars1.githubusercontent.com/u/912060?v=3","gravatar_id":"","url":"https://api.github.com/users/michaeltaranto","html_url":"https://github.com/michaeltaranto","followers_url":"https://api.github.com/users/michaeltaranto/followers","following_url":"https://api.github.com/users/michaeltaranto/following{/other_user}","gists_url":"https://api.github.com/users/michaeltaranto/gists{/gist_id}","starred_url":"https://api.github.com/users/michaeltaranto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaeltaranto/subscriptions","organizations_url":"https://api.github.com/users/michaeltaranto/orgs","repos_url":"https://api.github.com/users/michaeltaranto/repos","events_url":"https://api.github.com/users/michaeltaranto/events{/privacy}","received_events_url":"https://api.github.com/users/michaeltaranto/received_events","type":"User","site_admin":false},"body":"I looked into exporting these constants but it required a fair bit of boilerplate for the benefit returned (in terms of wiring up @markdalgleish's code above to the PropTypes). I would prefer this to go in consistently for now, but we discuss how to manage this pattern going forward","created_at":"2017-03-07T10:31:33Z","updated_at":"2017-03-07T10:31:34Z","html_url":"https://github.com/seek-oss/seek-style-guide/pull/148#discussion_r104635463","pull_request_url":"https://api.github.com/repos/seek-oss/seek-style-guide/pulls/148","_links":{"self":{"href":"https://api.github.com/repos/seek-oss/seek-style-guide/pulls/comments/104635463"},"html":{"href":"https://github.com/seek-oss/seek-style-guide/pull/148#discussion_r104635463"},"pull_request":{"href":"https://api.github.com/repos/seek-oss/seek-style-guide/pulls/148"}}},"pull_request":{"url":"https://api.github.com/repos/seek-oss/seek-style-guide/pulls/148","id":109394766,"html_url":"https://github.com/seek-oss/seek-style-guide/pull/148","diff_url":"https://github.com/seek-oss/seek-style-guide/pull/148.diff","patch_url":"https://github.com/seek-oss/seek-style-guide/pull/148.patch","issue_url":"https://api.github.com/repos/seek-oss/seek-style-guide/issues/148","number":148,"state":"open","locked":false,"title":"feat(header): Use strings for authentication state","user":{"login":"michaeltaranto","id":912060,"avatar_url":"https://avatars1.githubusercontent.com/u/912060?v=3","gravatar_id":"","url":"https://api.github.com/users/michaeltaranto","html_url":"https://github.com/michaeltaranto","followers_url":"https://api.github.com/users/michaeltaranto/followers","following_url":"https://api.github.com/users/michaeltaranto/following{/other_user}","gists_url":"https://api.github.com/users/michaeltaranto/gists{/gist_id}","starred_url":"https://api.github.com/users/michaeltaranto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaeltaranto/subscriptions","organizations_url":"https://api.github.com/users/michaeltaranto/orgs","repos_url":"https://api.github.com/users/michaeltaranto/repos","events_url":"https://api.github.com/users/michaeltaranto/events{/privacy}","received_events_url":"https://api.github.com/users/michaeltaranto/received_events","type":"User","site_admin":false},"body":"BREAKING CHANGE: Moved away from true/false/null for tri-state management of `authenticated` on the `<Header />`. Now uses explicit strings of `authenticated`/`unauthenticated`/`pending` being passed into `authenticationStatus`.","created_at":"2017-03-07T02:36:07Z","updated_at":"2017-03-07T10:31:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5a399d4d13002202609a589535bd5f6295e3cde4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/seek-oss/seek-style-guide/pulls/148/commits","review_comments_url":"https://api.github.com/repos/seek-oss/seek-style-guide/pulls/148/comments","review_comment_url":"https://api.github.com/repos/seek-oss/seek-style-guide/pulls/comments{/number}","comments_url":"https://api.github.com/repos/seek-oss/seek-style-guide/issues/148/comments","statuses_url":"https://api.github.com/repos/seek-oss/seek-style-guide/statuses/449de49d5f4c76c38f6521a30b6b2b6b8109aecd","head":{"label":"seek-oss:clarify-header-auth-state","ref":"clarify-header-auth-state","sha":"449de49d5f4c76c38f6521a30b6b2b6b8109aecd","user":{"login":"seek-oss","id":22927121,"avatar_url":"https://avatars3.githubusercontent.com/u/22927121?v=3","gravatar_id":"","url":"https://api.github.com/users/seek-oss","html_url":"https://github.com/seek-oss","followers_url":"https://api.github.com/users/seek-oss/followers","following_url":"https://api.github.com/users/seek-oss/following{/other_user}","gists_url":"https://api.github.com/users/seek-oss/gists{/gist_id}","starred_url":"https://api.github.com/users/seek-oss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seek-oss/subscriptions","organizations_url":"https://api.github.com/users/seek-oss/orgs","repos_url":"https://api.github.com/users/seek-oss/repos","events_url":"https://api.github.com/users/seek-oss/events{/privacy}","received_events_url":"https://api.github.com/users/seek-oss/received_events","type":"Organization","site_admin":false},"repo":{"id":56475150,"name":"seek-style-guide","full_name":"seek-oss/seek-style-guide","owner":{"login":"seek-oss","id":22927121,"avatar_url":"https://avatars3.githubusercontent.com/u/22927121?v=3","gravatar_id":"","url":"https://api.github.com/users/seek-oss","html_url":"https://github.com/seek-oss","followers_url":"https://api.github.com/users/seek-oss/followers","following_url":"https://api.github.com/users/seek-oss/following{/other_user}","gists_url":"https://api.github.com/users/seek-oss/gists{/gist_id}","starred_url":"https://api.github.com/users/seek-oss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seek-oss/subscriptions","organizations_url":"https://api.github.com/users/seek-oss/orgs","repos_url":"https://api.github.com/users/seek-oss/repos","events_url":"https://api.github.com/users/seek-oss/events{/privacy}","received_events_url":"https://api.github.com/users/seek-oss/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/seek-oss/seek-style-guide","description":"Living style guide containing the building blocks and design principles for SEEK web apps.","fork":false,"url":"https://api.github.com/repos/seek-oss/seek-style-guide","forks_url":"https://api.github.com/repos/seek-oss/seek-style-guide/forks","keys_url":"https://api.github.com/repos/seek-oss/seek-style-guide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seek-oss/seek-style-guide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seek-oss/seek-style-guide/teams","hooks_url":"https://api.github.com/repos/seek-oss/seek-style-guide/hooks","issue_events_url":"https://api.github.com/repos/seek-oss/seek-style-guide/issues/events{/number}","events_url":"https://api.github.com/repos/seek-oss/seek-style-guide/events","assignees_url":"https://api.github.com/repos/seek-oss/seek-style-guide/assignees{/user}","branches_url":"https://api.github.com/repos/seek-oss/seek-style-guide/branches{/branch}","tags_url":"https://api.github.com/repos/seek-oss/seek-style-guide/tags","blobs_url":"https://api.github.com/repos/seek-oss/seek-style-guide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seek-oss/seek-style-guide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seek-oss/seek-style-guide/git/refs{/sha}","trees_url":"https://api.github.com/repos/seek-oss/seek-style-guide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seek-oss/seek-style-guide/statuses/{sha}","languages_url":"https://api.github.com/repos/seek-oss/seek-style-guide/languages","stargazers_url":"https://api.github.com/repos/seek-oss/seek-style-guide/stargazers","contributors_url":"https://api.github.com/repos/seek-oss/seek-style-guide/contributors","subscribers_url":"https://api.github.com/repos/seek-oss/seek-style-guide/subscribers","subscription_url":"https://api.github.com/repos/seek-oss/seek-style-guide/subscription","commits_url":"https://api.github.com/repos/seek-oss/seek-style-guide/commits{/sha}","git_commits_url":"https://api.github.com/repos/seek-oss/seek-style-guide/git/commits{/sha}","comments_url":"https://api.github.com/repos/seek-oss/seek-style-guide/comments{/number}","issue_comment_url":"https://api.github.com/repos/seek-oss/seek-style-guide/issues/comments{/number}","contents_url":"https://api.github.com/repos/seek-oss/seek-style-guide/contents/{+path}","compare_url":"https://api.github.com/repos/seek-oss/seek-style-guide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seek-oss/seek-style-guide/merges","archive_url":"https://api.github.com/repos/seek-oss/seek-style-guide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seek-oss/seek-style-guide/downloads","issues_url":"https://api.github.com/repos/seek-oss/seek-style-guide/issues{/number}","pulls_url":"https://api.github.com/repos/seek-oss/seek-style-guide/pulls{/number}","milestones_url":"https://api.github.com/repos/seek-oss/seek-style-guide/milestones{/number}","notifications_url":"https://api.github.com/repos/seek-oss/seek-style-guide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seek-oss/seek-style-guide/labels{/name}","releases_url":"https://api.github.com/repos/seek-oss/seek-style-guide/releases{/id}","deployments_url":"https://api.github.com/repos/seek-oss/seek-style-guide/deployments","created_at":"2016-04-18T03:47:28Z","updated_at":"2017-02-24T09:49:38Z","pushed_at":"2017-03-07T05:11:30Z","git_url":"git://github.com/seek-oss/seek-style-guide.git","ssh_url":"git@github.com:seek-oss/seek-style-guide.git","clone_url":"https://github.com/seek-oss/seek-style-guide.git","svn_url":"https://github.com/seek-oss/seek-style-guide","homepage":"http://seek-oss.github.io/seek-style-guide","size":2826,"stargazers_count":23,"watchers_count":23,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5,"mirror_url":null,"open_issues_count":7,"forks":5,"open_issues":7,"watchers":23,"default_branch":"master"}},"base":{"label":"seek-oss:master","ref":"master","sha":"bf6371a33f3cf4b0f190d4634b046e1b86b5f545","user":{"login":"seek-oss","id":22927121,"avatar_url":"https://avatars3.githubusercontent.com/u/22927121?v=3","gravatar_id":"","url":"https://api.github.com/users/seek-oss","html_url":"https://github.com/seek-oss","followers_url":"https://api.github.com/users/seek-oss/followers","following_url":"https://api.github.com/users/seek-oss/following{/other_user}","gists_url":"https://api.github.com/users/seek-oss/gists{/gist_id}","starred_url":"https://api.github.com/users/seek-oss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seek-oss/subscriptions","organizations_url":"https://api.github.com/users/seek-oss/orgs","repos_url":"https://api.github.com/users/seek-oss/repos","events_url":"https://api.github.com/users/seek-oss/events{/privacy}","received_events_url":"https://api.github.com/users/seek-oss/received_events","type":"Organization","site_admin":false},"repo":{"id":56475150,"name":"seek-style-guide","full_name":"seek-oss/seek-style-guide","owner":{"login":"seek-oss","id":22927121,"avatar_url":"https://avatars3.githubusercontent.com/u/22927121?v=3","gravatar_id":"","url":"https://api.github.com/users/seek-oss","html_url":"https://github.com/seek-oss","followers_url":"https://api.github.com/users/seek-oss/followers","following_url":"https://api.github.com/users/seek-oss/following{/other_user}","gists_url":"https://api.github.com/users/seek-oss/gists{/gist_id}","starred_url":"https://api.github.com/users/seek-oss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seek-oss/subscriptions","organizations_url":"https://api.github.com/users/seek-oss/orgs","repos_url":"https://api.github.com/users/seek-oss/repos","events_url":"https://api.github.com/users/seek-oss/events{/privacy}","received_events_url":"https://api.github.com/users/seek-oss/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/seek-oss/seek-style-guide","description":"Living style guide containing the building blocks and design principles for SEEK web apps.","fork":false,"url":"https://api.github.com/repos/seek-oss/seek-style-guide","forks_url":"https://api.github.com/repos/seek-oss/seek-style-guide/forks","keys_url":"https://api.github.com/repos/seek-oss/seek-style-guide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seek-oss/seek-style-guide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seek-oss/seek-style-guide/teams","hooks_url":"https://api.github.com/repos/seek-oss/seek-style-guide/hooks","issue_events_url":"https://api.github.com/repos/seek-oss/seek-style-guide/issues/events{/number}","events_url":"https://api.github.com/repos/seek-oss/seek-style-guide/events","assignees_url":"https://api.github.com/repos/seek-oss/seek-style-guide/assignees{/user}","branches_url":"https://api.github.com/repos/seek-oss/seek-style-guide/branches{/branch}","tags_url":"https://api.github.com/repos/seek-oss/seek-style-guide/tags","blobs_url":"https://api.github.com/repos/seek-oss/seek-style-guide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seek-oss/seek-style-guide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seek-oss/seek-style-guide/git/refs{/sha}","trees_url":"https://api.github.com/repos/seek-oss/seek-style-guide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seek-oss/seek-style-guide/statuses/{sha}","languages_url":"https://api.github.com/repos/seek-oss/seek-style-guide/languages","stargazers_url":"https://api.github.com/repos/seek-oss/seek-style-guide/stargazers","contributors_url":"https://api.github.com/repos/seek-oss/seek-style-guide/contributors","subscribers_url":"https://api.github.com/repos/seek-oss/seek-style-guide/subscribers","subscription_url":"https://api.github.com/repos/seek-oss/seek-style-guide/subscription","commits_url":"https://api.github.com/repos/seek-oss/seek-style-guide/commits{/sha}","git_commits_url":"https://api.github.com/repos/seek-oss/seek-style-guide/git/commits{/sha}","comments_url":"https://api.github.com/repos/seek-oss/seek-style-guide/comments{/number}","issue_comment_url":"https://api.github.com/repos/seek-oss/seek-style-guide/issues/comments{/number}","contents_url":"https://api.github.com/repos/seek-oss/seek-style-guide/contents/{+path}","compare_url":"https://api.github.com/repos/seek-oss/seek-style-guide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seek-oss/seek-style-guide/merges","archive_url":"https://api.github.com/repos/seek-oss/seek-style-guide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seek-oss/seek-style-guide/downloads","issues_url":"https://api.github.com/repos/seek-oss/seek-style-guide/issues{/number}","pulls_url":"https://api.github.com/repos/seek-oss/seek-style-guide/pulls{/number}","milestones_url":"https://api.github.com/repos/seek-oss/seek-style-guide/milestones{/number}","notifications_url":"https://api.github.com/repos/seek-oss/seek-style-guide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seek-oss/seek-style-guide/labels{/name}","releases_url":"https://api.github.com/repos/seek-oss/seek-style-guide/releases{/id}","deployments_url":"https://api.github.com/repos/seek-oss/seek-style-guide/deployments","created_at":"2016-04-18T03:47:28Z","updated_at":"2017-02-24T09:49:38Z","pushed_at":"2017-03-07T05:11:30Z","git_url":"git://github.com/seek-oss/seek-style-guide.git","ssh_url":"git@github.com:seek-oss/seek-style-guide.git","clone_url":"https://github.com/seek-oss/seek-style-guide.git","svn_url":"https://github.com/seek-oss/seek-style-guide","homepage":"http://seek-oss.github.io/seek-style-guide","size":2826,"stargazers_count":23,"watchers_count":23,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5,"mirror_url":null,"open_issues_count":7,"forks":5,"open_issues":7,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/seek-oss/seek-style-guide/pulls/148"},"html":{"href":"https://github.com/seek-oss/seek-style-guide/pull/148"},"issue":{"href":"https://api.github.com/repos/seek-oss/seek-style-guide/issues/148"},"comments":{"href":"https://api.github.com/repos/seek-oss/seek-style-guide/issues/148/comments"},"review_comments":{"href":"https://api.github.com/repos/seek-oss/seek-style-guide/pulls/148/comments"},"review_comment":{"href":"https://api.github.com/repos/seek-oss/seek-style-guide/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/seek-oss/seek-style-guide/pulls/148/commits"},"statuses":{"href":"https://api.github.com/repos/seek-oss/seek-style-guide/statuses/449de49d5f4c76c38f6521a30b6b2b6b8109aecd"}}}}
{"actor":{"display_login":"michaeltaranto"}}