{"action":"created","comment":{"url":"https://api.github.com/repos/square/misk/pulls/comments/234290118","pull_request_review_id":175907685,"id":234290118,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNDI5MDExOA==","diff_hunk":"@@ -0,0 +1,30 @@\n+import * as React from \"react\"\n+\n+/**\n+ * <TextHTMLOrElementComponent content={<div>item</div>} length={35} />\n+ * <TextHTMLOrElementComponent content={\"Test\"} length={35} />\n+ * <TextHTMLOrElementComponent content={'<a href=\"http://squareup.com/\">Test</a>'} length={35} />\n+ *\n+ * Renders passed in text, HTML-parseable string, or React element with optional length constraints for text.\n+ */\n+\n+export interface ITextHTMLOrElementProps {\n+  content: string | Element | JSX.Element\n+}\n+\n+export const TextHTMLOrElementComponent = (\n+  props: ITextHTMLOrElementProps\n+): JSX.Element => {\n+  const { content }: any = props","path":"misk/web/@misk/components/src/components/TextHTMLOrElementComponent.tsx","position":18,"original_position":18,"commit_id":"ec3843d09743774f3ac42d9385455ee37ff2098b","original_commit_id":"143b8129ea55a0bff5f7303323593af71f93029e","user":{"login":"adrw","id":8827217,"node_id":"MDQ6VXNlcjg4MjcyMTc=","avatar_url":"https://avatars1.githubusercontent.com/u/8827217?v=4","gravatar_id":"","url":"https://api.github.com/users/adrw","html_url":"https://github.com/adrw","followers_url":"https://api.github.com/users/adrw/followers","following_url":"https://api.github.com/users/adrw/following{/other_user}","gists_url":"https://api.github.com/users/adrw/gists{/gist_id}","starred_url":"https://api.github.com/users/adrw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrw/subscriptions","organizations_url":"https://api.github.com/users/adrw/orgs","repos_url":"https://api.github.com/users/adrw/repos","events_url":"https://api.github.com/users/adrw/events{/privacy}","received_events_url":"https://api.github.com/users/adrw/received_events","type":"User","site_admin":false},"body":"Thanks! That's a good catch!","created_at":"2018-11-16T17:37:53Z","updated_at":"2018-11-16T17:37:53Z","html_url":"https://github.com/square/misk/pull/633#discussion_r234290118","pull_request_url":"https://api.github.com/repos/square/misk/pulls/633","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/square/misk/pulls/comments/234290118"},"html":{"href":"https://github.com/square/misk/pull/633#discussion_r234290118"},"pull_request":{"href":"https://api.github.com/repos/square/misk/pulls/633"}},"in_reply_to_id":234084944},"pull_request":{"url":"https://api.github.com/repos/square/misk/pulls/633","id":230282379,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMwMjgyMzc5","html_url":"https://github.com/square/misk/pull/633","diff_url":"https://github.com/square/misk/pull/633.diff","patch_url":"https://github.com/square/misk/pull/633.patch","issue_url":"https://api.github.com/repos/square/misk/issues/633","number":633,"state":"open","locked":false,"title":"Environment Navbar","user":{"login":"adrw","id":8827217,"node_id":"MDQ6VXNlcjg4MjcyMTc=","avatar_url":"https://avatars1.githubusercontent.com/u/8827217?v=4","gravatar_id":"","url":"https://api.github.com/users/adrw","html_url":"https://github.com/adrw","followers_url":"https://api.github.com/users/adrw/followers","following_url":"https://api.github.com/users/adrw/following{/other_user}","gists_url":"https://api.github.com/users/adrw/gists{/gist_id}","starred_url":"https://api.github.com/users/adrw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrw/subscriptions","organizations_url":"https://api.github.com/users/adrw/orgs","repos_url":"https://api.github.com/users/adrw/repos","events_url":"https://api.github.com/users/adrw/events{/privacy}","received_events_url":"https://api.github.com/users/adrw/received_events","type":"User","site_admin":false},"body":"* [CLOSES #462] Environment Navbar added to `@misk/components:TopbarComponents`\r\n* Fixed Refresh local Node Modules functionality in `misk-build`\r\n* Add ability to override build Docker image with `dockerImage` field in package.json\r\n* Add color Enum to `@misk/common` to have common SQ colors\r\n* Add additional Responsive containers\r\n* Responsive spot in Navbar for additional menu items\r\n* Additional menu items also show in pull down menu for cases of overflow / mobile view\r\n* Size awareness allows responsive pruning of top navbar additional header items to the dropdown menu instead\r\n* New `TextHTMLOrElementComponent` renders anything passed into it\r\n* New navbarItems props for Topbar Component allows dynamic passing in of top level navbar links and React components\r\n* New status props for Topbar Component allows dynamic setting of status text / link / React Component in coloured status bar that shows by default in Dev, Testing, and Staging environments\r\n* Scrollable Misk Menu (for when it is too long and goes off screen)\r\n* `misk-web@0.0.6`\r\n\r\n![screen shot 2018-11-15 at 5 16 53 pm](https://user-images.githubusercontent.com/8827217/48585418-97243280-e8fa-11e8-8007-bbd74fd2c091.png)\r\n","created_at":"2018-11-12T22:02:49Z","updated_at":"2018-11-16T17:37:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ebf40cbc78f3648e1e3328805e9b012cd9ba8144","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/square/misk/pulls/633/commits","review_comments_url":"https://api.github.com/repos/square/misk/pulls/633/comments","review_comment_url":"https://api.github.com/repos/square/misk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/square/misk/issues/633/comments","statuses_url":"https://api.github.com/repos/square/misk/statuses/ec3843d09743774f3ac42d9385455ee37ff2098b","head":{"label":"adrw:adrw/20181112.462EnvironmentNavbar","ref":"adrw/20181112.462EnvironmentNavbar","sha":"ec3843d09743774f3ac42d9385455ee37ff2098b","user":{"login":"adrw","id":8827217,"node_id":"MDQ6VXNlcjg4MjcyMTc=","avatar_url":"https://avatars1.githubusercontent.com/u/8827217?v=4","gravatar_id":"","url":"https://api.github.com/users/adrw","html_url":"https://github.com/adrw","followers_url":"https://api.github.com/users/adrw/followers","following_url":"https://api.github.com/users/adrw/following{/other_user}","gists_url":"https://api.github.com/users/adrw/gists{/gist_id}","starred_url":"https://api.github.com/users/adrw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrw/subscriptions","organizations_url":"https://api.github.com/users/adrw/orgs","repos_url":"https://api.github.com/users/adrw/repos","events_url":"https://api.github.com/users/adrw/events{/privacy}","received_events_url":"https://api.github.com/users/adrw/received_events","type":"User","site_admin":false},"repo":{"id":132631329,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI2MzEzMjk=","name":"misk","full_name":"adrw/misk","private":false,"owner":{"login":"adrw","id":8827217,"node_id":"MDQ6VXNlcjg4MjcyMTc=","avatar_url":"https://avatars1.githubusercontent.com/u/8827217?v=4","gravatar_id":"","url":"https://api.github.com/users/adrw","html_url":"https://github.com/adrw","followers_url":"https://api.github.com/users/adrw/followers","following_url":"https://api.github.com/users/adrw/following{/other_user}","gists_url":"https://api.github.com/users/adrw/gists{/gist_id}","starred_url":"https://api.github.com/users/adrw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrw/subscriptions","organizations_url":"https://api.github.com/users/adrw/orgs","repos_url":"https://api.github.com/users/adrw/repos","events_url":"https://api.github.com/users/adrw/events{/privacy}","received_events_url":"https://api.github.com/users/adrw/received_events","type":"User","site_admin":false},"html_url":"https://github.com/adrw/misk","description":null,"fork":true,"url":"https://api.github.com/repos/adrw/misk","forks_url":"https://api.github.com/repos/adrw/misk/forks","keys_url":"https://api.github.com/repos/adrw/misk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adrw/misk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adrw/misk/teams","hooks_url":"https://api.github.com/repos/adrw/misk/hooks","issue_events_url":"https://api.github.com/repos/adrw/misk/issues/events{/number}","events_url":"https://api.github.com/repos/adrw/misk/events","assignees_url":"https://api.github.com/repos/adrw/misk/assignees{/user}","branches_url":"https://api.github.com/repos/adrw/misk/branches{/branch}","tags_url":"https://api.github.com/repos/adrw/misk/tags","blobs_url":"https://api.github.com/repos/adrw/misk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adrw/misk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adrw/misk/git/refs{/sha}","trees_url":"https://api.github.com/repos/adrw/misk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adrw/misk/statuses/{sha}","languages_url":"https://api.github.com/repos/adrw/misk/languages","stargazers_url":"https://api.github.com/repos/adrw/misk/stargazers","contributors_url":"https://api.github.com/repos/adrw/misk/contributors","subscribers_url":"https://api.github.com/repos/adrw/misk/subscribers","subscription_url":"https://api.github.com/repos/adrw/misk/subscription","commits_url":"https://api.github.com/repos/adrw/misk/commits{/sha}","git_commits_url":"https://api.github.com/repos/adrw/misk/git/commits{/sha}","comments_url":"https://api.github.com/repos/adrw/misk/comments{/number}","issue_comment_url":"https://api.github.com/repos/adrw/misk/issues/comments{/number}","contents_url":"https://api.github.com/repos/adrw/misk/contents/{+path}","compare_url":"https://api.github.com/repos/adrw/misk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adrw/misk/merges","archive_url":"https://api.github.com/repos/adrw/misk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adrw/misk/downloads","issues_url":"https://api.github.com/repos/adrw/misk/issues{/number}","pulls_url":"https://api.github.com/repos/adrw/misk/pulls{/number}","milestones_url":"https://api.github.com/repos/adrw/misk/milestones{/number}","notifications_url":"https://api.github.com/repos/adrw/misk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adrw/misk/labels{/name}","releases_url":"https://api.github.com/repos/adrw/misk/releases{/id}","deployments_url":"https://api.github.com/repos/adrw/misk/deployments","created_at":"2018-05-08T15:47:44Z","updated_at":"2018-09-20T18:23:27Z","pushed_at":"2018-11-16T17:31:04Z","git_url":"git://github.com/adrw/misk.git","ssh_url":"git@github.com:adrw/misk.git","clone_url":"https://github.com/adrw/misk.git","svn_url":"https://github.com/adrw/misk","homepage":null,"size":5226,"stargazers_count":0,"watchers_count":0,"language":"Kotlin","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"square:master","ref":"master","sha":"b5444f07b3a4844b19b3c0a5c3e8a70df7904088","user":{"login":"square","id":82592,"node_id":"MDEyOk9yZ2FuaXphdGlvbjgyNTky","avatar_url":"https://avatars0.githubusercontent.com/u/82592?v=4","gravatar_id":"","url":"https://api.github.com/users/square","html_url":"https://github.com/square","followers_url":"https://api.github.com/users/square/followers","following_url":"https://api.github.com/users/square/following{/other_user}","gists_url":"https://api.github.com/users/square/gists{/gist_id}","starred_url":"https://api.github.com/users/square/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/square/subscriptions","organizations_url":"https://api.github.com/users/square/orgs","repos_url":"https://api.github.com/users/square/repos","events_url":"https://api.github.com/users/square/events{/privacy}","received_events_url":"https://api.github.com/users/square/received_events","type":"Organization","site_admin":false},"repo":{"id":113107217,"node_id":"MDEwOlJlcG9zaXRvcnkxMTMxMDcyMTc=","name":"misk","full_name":"square/misk","private":false,"owner":{"login":"square","id":82592,"node_id":"MDEyOk9yZ2FuaXphdGlvbjgyNTky","avatar_url":"https://avatars0.githubusercontent.com/u/82592?v=4","gravatar_id":"","url":"https://api.github.com/users/square","html_url":"https://github.com/square","followers_url":"https://api.github.com/users/square/followers","following_url":"https://api.github.com/users/square/following{/other_user}","gists_url":"https://api.github.com/users/square/gists{/gist_id}","starred_url":"https://api.github.com/users/square/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/square/subscriptions","organizations_url":"https://api.github.com/users/square/orgs","repos_url":"https://api.github.com/users/square/repos","events_url":"https://api.github.com/users/square/events{/privacy}","received_events_url":"https://api.github.com/users/square/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/square/misk","description":null,"fork":false,"url":"https://api.github.com/repos/square/misk","forks_url":"https://api.github.com/repos/square/misk/forks","keys_url":"https://api.github.com/repos/square/misk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/square/misk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/square/misk/teams","hooks_url":"https://api.github.com/repos/square/misk/hooks","issue_events_url":"https://api.github.com/repos/square/misk/issues/events{/number}","events_url":"https://api.github.com/repos/square/misk/events","assignees_url":"https://api.github.com/repos/square/misk/assignees{/user}","branches_url":"https://api.github.com/repos/square/misk/branches{/branch}","tags_url":"https://api.github.com/repos/square/misk/tags","blobs_url":"https://api.github.com/repos/square/misk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/square/misk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/square/misk/git/refs{/sha}","trees_url":"https://api.github.com/repos/square/misk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/square/misk/statuses/{sha}","languages_url":"https://api.github.com/repos/square/misk/languages","stargazers_url":"https://api.github.com/repos/square/misk/stargazers","contributors_url":"https://api.github.com/repos/square/misk/contributors","subscribers_url":"https://api.github.com/repos/square/misk/subscribers","subscription_url":"https://api.github.com/repos/square/misk/subscription","commits_url":"https://api.github.com/repos/square/misk/commits{/sha}","git_commits_url":"https://api.github.com/repos/square/misk/git/commits{/sha}","comments_url":"https://api.github.com/repos/square/misk/comments{/number}","issue_comment_url":"https://api.github.com/repos/square/misk/issues/comments{/number}","contents_url":"https://api.github.com/repos/square/misk/contents/{+path}","compare_url":"https://api.github.com/repos/square/misk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/square/misk/merges","archive_url":"https://api.github.com/repos/square/misk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/square/misk/downloads","issues_url":"https://api.github.com/repos/square/misk/issues{/number}","pulls_url":"https://api.github.com/repos/square/misk/pulls{/number}","milestones_url":"https://api.github.com/repos/square/misk/milestones{/number}","notifications_url":"https://api.github.com/repos/square/misk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/square/misk/labels{/name}","releases_url":"https://api.github.com/repos/square/misk/releases{/id}","deployments_url":"https://api.github.com/repos/square/misk/deployments","created_at":"2017-12-04T23:31:52Z","updated_at":"2018-11-16T10:43:56Z","pushed_at":"2018-11-16T17:31:06Z","git_url":"git://github.com/square/misk.git","ssh_url":"git@github.com:square/misk.git","clone_url":"https://github.com/square/misk.git","svn_url":"https://github.com/square/misk","homepage":null,"size":3582,"stargazers_count":121,"watchers_count":121,"language":"Kotlin","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":17,"mirror_url":null,"archived":false,"open_issues_count":98,"license":null,"forks":17,"open_issues":98,"watchers":121,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/square/misk/pulls/633"},"html":{"href":"https://github.com/square/misk/pull/633"},"issue":{"href":"https://api.github.com/repos/square/misk/issues/633"},"comments":{"href":"https://api.github.com/repos/square/misk/issues/633/comments"},"review_comments":{"href":"https://api.github.com/repos/square/misk/pulls/633/comments"},"review_comment":{"href":"https://api.github.com/repos/square/misk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/square/misk/pulls/633/commits"},"statuses":{"href":"https://api.github.com/repos/square/misk/statuses/ec3843d09743774f3ac42d9385455ee37ff2098b"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"adrw"}}