{"action":"created","comment":{"url":"https://api.github.com/repos/uber-web/baseui/pulls/comments/234327960","pull_request_review_id":175955157,"id":234327960,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNDMyNzk2MA==","diff_hunk":"@@ -0,0 +1,56 @@\n+# Header Navigation Component\n+\n+## Usage\n+\n+### Basic usage\n+\n+```javascript\n+import * as React from 'react';\n+import {HeaderNavigation} from 'baseui/header-navigation';\n+import {Button, KIND} from 'baseui/button';\n+\n+export default () => <HeaderNavigation homeElement={<span>Uber</span>}>\n+  <a href=\"/a\">Link One</a>\n+  <a href=\"/b\">Link Two</a>\n+  <Button onClick={() => console.log('clicked')} kind={KIND.primary}>Get started</Button>\n+</HeaderNavigation>;\n+```\n+\n+### Advanced usage\n+\n+```javascript\n+import * as React from 'react';\n+import {HeaderNavigation} from 'baseui/header-navigation';\n+import {Button, KIND} from 'baseui/button';\n+import {StatefulMenu as Menu} from 'baseui/menu';\n+const ITEMS = [{label: 'menu item 1'}, {label: 'menu item 2'}];\n+\n+export default () => <HeaderNavigation homeElement={<Menu items={ITEMS} />}","path":"rfcs/header-navigation-component.md","position":28,"original_position":28,"commit_id":"097265bbac0beb2b33a22a15e04b162a9cc0f619","original_commit_id":"097265bbac0beb2b33a22a15e04b162a9cc0f619","user":{"login":"blackswanny","id":1851469,"node_id":"MDQ6VXNlcjE4NTE0Njk=","avatar_url":"https://avatars1.githubusercontent.com/u/1851469?v=4","gravatar_id":"","url":"https://api.github.com/users/blackswanny","html_url":"https://github.com/blackswanny","followers_url":"https://api.github.com/users/blackswanny/followers","following_url":"https://api.github.com/users/blackswanny/following{/other_user}","gists_url":"https://api.github.com/users/blackswanny/gists{/gist_id}","starred_url":"https://api.github.com/users/blackswanny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blackswanny/subscriptions","organizations_url":"https://api.github.com/users/blackswanny/orgs","repos_url":"https://api.github.com/users/blackswanny/repos","events_url":"https://api.github.com/users/blackswanny/events{/privacy}","received_events_url":"https://api.github.com/users/blackswanny/received_events","type":"User","site_admin":false},"body":"Yes, it won't work like this. Need another example","created_at":"2018-11-16T19:49:01Z","updated_at":"2018-11-16T19:49:01Z","html_url":"https://github.com/uber-web/baseui/pull/514#discussion_r234327960","pull_request_url":"https://api.github.com/repos/uber-web/baseui/pulls/514","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/uber-web/baseui/pulls/comments/234327960"},"html":{"href":"https://github.com/uber-web/baseui/pull/514#discussion_r234327960"},"pull_request":{"href":"https://api.github.com/repos/uber-web/baseui/pulls/514"}},"in_reply_to_id":234269653},"pull_request":{"url":"https://api.github.com/repos/uber-web/baseui/pulls/514","id":231346293,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMxMzQ2Mjkz","html_url":"https://github.com/uber-web/baseui/pull/514","diff_url":"https://github.com/uber-web/baseui/pull/514.diff","patch_url":"https://github.com/uber-web/baseui/pull/514.patch","issue_url":"https://api.github.com/repos/uber-web/baseui/issues/514","number":514,"state":"open","locked":false,"title":"add mini RFC for header navigation","user":{"login":"blackswanny","id":1851469,"node_id":"MDQ6VXNlcjE4NTE0Njk=","avatar_url":"https://avatars1.githubusercontent.com/u/1851469?v=4","gravatar_id":"","url":"https://api.github.com/users/blackswanny","html_url":"https://github.com/blackswanny","followers_url":"https://api.github.com/users/blackswanny/followers","following_url":"https://api.github.com/users/blackswanny/following{/other_user}","gists_url":"https://api.github.com/users/blackswanny/gists{/gist_id}","starred_url":"https://api.github.com/users/blackswanny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blackswanny/subscriptions","organizations_url":"https://api.github.com/users/blackswanny/orgs","repos_url":"https://api.github.com/users/blackswanny/repos","events_url":"https://api.github.com/users/blackswanny/events{/privacy}","received_events_url":"https://api.github.com/users/blackswanny/received_events","type":"User","site_admin":false},"body":"add mini RFC for header navigation\r\n![image](https://user-images.githubusercontent.com/1851469/48584041-057fe980-e929-11e8-91ad-e6c0e1f7132c.png)\r\n","created_at":"2018-11-15T21:51:45Z","updated_at":"2018-11-16T19:49:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ff99b271ceb31bd25b7d5925f2195baa2b8256bf","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1053695297,"node_id":"MDU6TGFiZWwxMDUzNjk1Mjk3","url":"https://api.github.com/repos/uber-web/baseui/labels/docs","name":"docs","color":"ededed","default":false},{"id":962782592,"node_id":"MDU6TGFiZWw5NjI3ODI1OTI=","url":"https://api.github.com/repos/uber-web/baseui/labels/documentation","name":"documentation","color":"12527c","default":false},{"id":1053349575,"node_id":"MDU6TGFiZWwxMDUzMzQ5NTc1","url":"https://api.github.com/repos/uber-web/baseui/labels/feature","name":"feature","color":"46f262","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/uber-web/baseui/pulls/514/commits","review_comments_url":"https://api.github.com/repos/uber-web/baseui/pulls/514/comments","review_comment_url":"https://api.github.com/repos/uber-web/baseui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/uber-web/baseui/issues/514/comments","statuses_url":"https://api.github.com/repos/uber-web/baseui/statuses/097265bbac0beb2b33a22a15e04b162a9cc0f619","head":{"label":"uber-web:feature/header","ref":"feature/header","sha":"097265bbac0beb2b33a22a15e04b162a9cc0f619","user":{"login":"uber-web","id":20204342,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwMjA0MzQy","avatar_url":"https://avatars3.githubusercontent.com/u/20204342?v=4","gravatar_id":"","url":"https://api.github.com/users/uber-web","html_url":"https://github.com/uber-web","followers_url":"https://api.github.com/users/uber-web/followers","following_url":"https://api.github.com/users/uber-web/following{/other_user}","gists_url":"https://api.github.com/users/uber-web/gists{/gist_id}","starred_url":"https://api.github.com/users/uber-web/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uber-web/subscriptions","organizations_url":"https://api.github.com/users/uber-web/orgs","repos_url":"https://api.github.com/users/uber-web/repos","events_url":"https://api.github.com/users/uber-web/events{/privacy}","received_events_url":"https://api.github.com/users/uber-web/received_events","type":"Organization","site_admin":false},"repo":{"id":124470321,"node_id":"MDEwOlJlcG9zaXRvcnkxMjQ0NzAzMjE=","name":"baseui","full_name":"uber-web/baseui","private":false,"owner":{"login":"uber-web","id":20204342,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwMjA0MzQy","avatar_url":"https://avatars3.githubusercontent.com/u/20204342?v=4","gravatar_id":"","url":"https://api.github.com/users/uber-web","html_url":"https://github.com/uber-web","followers_url":"https://api.github.com/users/uber-web/followers","following_url":"https://api.github.com/users/uber-web/following{/other_user}","gists_url":"https://api.github.com/users/uber-web/gists{/gist_id}","starred_url":"https://api.github.com/users/uber-web/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uber-web/subscriptions","organizations_url":"https://api.github.com/users/uber-web/orgs","repos_url":"https://api.github.com/users/uber-web/repos","events_url":"https://api.github.com/users/uber-web/events{/privacy}","received_events_url":"https://api.github.com/users/uber-web/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/uber-web/baseui","description":"A React Component library implementing the Base UI design","fork":false,"url":"https://api.github.com/repos/uber-web/baseui","forks_url":"https://api.github.com/repos/uber-web/baseui/forks","keys_url":"https://api.github.com/repos/uber-web/baseui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uber-web/baseui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uber-web/baseui/teams","hooks_url":"https://api.github.com/repos/uber-web/baseui/hooks","issue_events_url":"https://api.github.com/repos/uber-web/baseui/issues/events{/number}","events_url":"https://api.github.com/repos/uber-web/baseui/events","assignees_url":"https://api.github.com/repos/uber-web/baseui/assignees{/user}","branches_url":"https://api.github.com/repos/uber-web/baseui/branches{/branch}","tags_url":"https://api.github.com/repos/uber-web/baseui/tags","blobs_url":"https://api.github.com/repos/uber-web/baseui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uber-web/baseui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uber-web/baseui/git/refs{/sha}","trees_url":"https://api.github.com/repos/uber-web/baseui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uber-web/baseui/statuses/{sha}","languages_url":"https://api.github.com/repos/uber-web/baseui/languages","stargazers_url":"https://api.github.com/repos/uber-web/baseui/stargazers","contributors_url":"https://api.github.com/repos/uber-web/baseui/contributors","subscribers_url":"https://api.github.com/repos/uber-web/baseui/subscribers","subscription_url":"https://api.github.com/repos/uber-web/baseui/subscription","commits_url":"https://api.github.com/repos/uber-web/baseui/commits{/sha}","git_commits_url":"https://api.github.com/repos/uber-web/baseui/git/commits{/sha}","comments_url":"https://api.github.com/repos/uber-web/baseui/comments{/number}","issue_comment_url":"https://api.github.com/repos/uber-web/baseui/issues/comments{/number}","contents_url":"https://api.github.com/repos/uber-web/baseui/contents/{+path}","compare_url":"https://api.github.com/repos/uber-web/baseui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uber-web/baseui/merges","archive_url":"https://api.github.com/repos/uber-web/baseui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uber-web/baseui/downloads","issues_url":"https://api.github.com/repos/uber-web/baseui/issues{/number}","pulls_url":"https://api.github.com/repos/uber-web/baseui/pulls{/number}","milestones_url":"https://api.github.com/repos/uber-web/baseui/milestones{/number}","notifications_url":"https://api.github.com/repos/uber-web/baseui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uber-web/baseui/labels{/name}","releases_url":"https://api.github.com/repos/uber-web/baseui/releases{/id}","deployments_url":"https://api.github.com/repos/uber-web/baseui/deployments","created_at":"2018-03-09T01:32:10Z","updated_at":"2018-11-16T18:24:52Z","pushed_at":"2018-11-16T18:24:51Z","git_url":"git://github.com/uber-web/baseui.git","ssh_url":"git@github.com:uber-web/baseui.git","clone_url":"https://github.com/uber-web/baseui.git","svn_url":"https://github.com/uber-web/baseui","homepage":"https://baseui.design","size":4205,"stargazers_count":167,"watchers_count":167,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"archived":false,"open_issues_count":26,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":20,"open_issues":26,"watchers":167,"default_branch":"master"}},"base":{"label":"uber-web:master","ref":"master","sha":"c33840363374ec1389bc974227bca9ad3aba39e1","user":{"login":"uber-web","id":20204342,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwMjA0MzQy","avatar_url":"https://avatars3.githubusercontent.com/u/20204342?v=4","gravatar_id":"","url":"https://api.github.com/users/uber-web","html_url":"https://github.com/uber-web","followers_url":"https://api.github.com/users/uber-web/followers","following_url":"https://api.github.com/users/uber-web/following{/other_user}","gists_url":"https://api.github.com/users/uber-web/gists{/gist_id}","starred_url":"https://api.github.com/users/uber-web/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uber-web/subscriptions","organizations_url":"https://api.github.com/users/uber-web/orgs","repos_url":"https://api.github.com/users/uber-web/repos","events_url":"https://api.github.com/users/uber-web/events{/privacy}","received_events_url":"https://api.github.com/users/uber-web/received_events","type":"Organization","site_admin":false},"repo":{"id":124470321,"node_id":"MDEwOlJlcG9zaXRvcnkxMjQ0NzAzMjE=","name":"baseui","full_name":"uber-web/baseui","private":false,"owner":{"login":"uber-web","id":20204342,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwMjA0MzQy","avatar_url":"https://avatars3.githubusercontent.com/u/20204342?v=4","gravatar_id":"","url":"https://api.github.com/users/uber-web","html_url":"https://github.com/uber-web","followers_url":"https://api.github.com/users/uber-web/followers","following_url":"https://api.github.com/users/uber-web/following{/other_user}","gists_url":"https://api.github.com/users/uber-web/gists{/gist_id}","starred_url":"https://api.github.com/users/uber-web/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uber-web/subscriptions","organizations_url":"https://api.github.com/users/uber-web/orgs","repos_url":"https://api.github.com/users/uber-web/repos","events_url":"https://api.github.com/users/uber-web/events{/privacy}","received_events_url":"https://api.github.com/users/uber-web/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/uber-web/baseui","description":"A React Component library implementing the Base UI design","fork":false,"url":"https://api.github.com/repos/uber-web/baseui","forks_url":"https://api.github.com/repos/uber-web/baseui/forks","keys_url":"https://api.github.com/repos/uber-web/baseui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uber-web/baseui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uber-web/baseui/teams","hooks_url":"https://api.github.com/repos/uber-web/baseui/hooks","issue_events_url":"https://api.github.com/repos/uber-web/baseui/issues/events{/number}","events_url":"https://api.github.com/repos/uber-web/baseui/events","assignees_url":"https://api.github.com/repos/uber-web/baseui/assignees{/user}","branches_url":"https://api.github.com/repos/uber-web/baseui/branches{/branch}","tags_url":"https://api.github.com/repos/uber-web/baseui/tags","blobs_url":"https://api.github.com/repos/uber-web/baseui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uber-web/baseui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uber-web/baseui/git/refs{/sha}","trees_url":"https://api.github.com/repos/uber-web/baseui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uber-web/baseui/statuses/{sha}","languages_url":"https://api.github.com/repos/uber-web/baseui/languages","stargazers_url":"https://api.github.com/repos/uber-web/baseui/stargazers","contributors_url":"https://api.github.com/repos/uber-web/baseui/contributors","subscribers_url":"https://api.github.com/repos/uber-web/baseui/subscribers","subscription_url":"https://api.github.com/repos/uber-web/baseui/subscription","commits_url":"https://api.github.com/repos/uber-web/baseui/commits{/sha}","git_commits_url":"https://api.github.com/repos/uber-web/baseui/git/commits{/sha}","comments_url":"https://api.github.com/repos/uber-web/baseui/comments{/number}","issue_comment_url":"https://api.github.com/repos/uber-web/baseui/issues/comments{/number}","contents_url":"https://api.github.com/repos/uber-web/baseui/contents/{+path}","compare_url":"https://api.github.com/repos/uber-web/baseui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uber-web/baseui/merges","archive_url":"https://api.github.com/repos/uber-web/baseui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uber-web/baseui/downloads","issues_url":"https://api.github.com/repos/uber-web/baseui/issues{/number}","pulls_url":"https://api.github.com/repos/uber-web/baseui/pulls{/number}","milestones_url":"https://api.github.com/repos/uber-web/baseui/milestones{/number}","notifications_url":"https://api.github.com/repos/uber-web/baseui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uber-web/baseui/labels{/name}","releases_url":"https://api.github.com/repos/uber-web/baseui/releases{/id}","deployments_url":"https://api.github.com/repos/uber-web/baseui/deployments","created_at":"2018-03-09T01:32:10Z","updated_at":"2018-11-16T18:24:52Z","pushed_at":"2018-11-16T18:24:51Z","git_url":"git://github.com/uber-web/baseui.git","ssh_url":"git@github.com:uber-web/baseui.git","clone_url":"https://github.com/uber-web/baseui.git","svn_url":"https://github.com/uber-web/baseui","homepage":"https://baseui.design","size":4205,"stargazers_count":167,"watchers_count":167,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"archived":false,"open_issues_count":26,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":20,"open_issues":26,"watchers":167,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/uber-web/baseui/pulls/514"},"html":{"href":"https://github.com/uber-web/baseui/pull/514"},"issue":{"href":"https://api.github.com/repos/uber-web/baseui/issues/514"},"comments":{"href":"https://api.github.com/repos/uber-web/baseui/issues/514/comments"},"review_comments":{"href":"https://api.github.com/repos/uber-web/baseui/pulls/514/comments"},"review_comment":{"href":"https://api.github.com/repos/uber-web/baseui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/uber-web/baseui/pulls/514/commits"},"statuses":{"href":"https://api.github.com/repos/uber-web/baseui/statuses/097265bbac0beb2b33a22a15e04b162a9cc0f619"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"blackswanny"}}