{"action":"created","comment":{"url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/pulls/comments/202834229","pull_request_review_id":137608663,"id":202834229,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMjgzNDIyOQ==","diff_hunk":"@@ -0,0 +1,71 @@\n+import React from 'react';\n+import PropTypes from 'prop-types';\n+import SubMenu from './SubMenu';\n+\n+const getCurrentSection = (props) => {\n+  return props.currentSection ? props.currentSection : props.defaultSection;\n+};\n+\n+const getId = (title) => {\n+  return `vetnav-${title.toLowerCase().replace(/ /g, '-')}`;\n+};\n+\n+const MenuSection = (props) => {\n+  const show = getCurrentSection(props) === props.title;\n+\n+  return (\n+    <li className=\"mm-link-container\" role=\"menuitem\">\n+      <button\n+        id={getId(props.title)}\n+        className=\"vetnav-level2\"\n+        aria-haspopup=\"true\"\n+        aria-controls={show ? getId(props.title) : null}\n+        aria-expanded={show}\n+        onClick={() => props.updateCurrentSection(props.title)}>{props.title}</button>\n+      <SubMenu id=\"vetnav-explore\" data={props.links} navTitle={props.title} show={show}></SubMenu>\n+    </li>\n+  );\n+};\n+\n+MenuSection.propTypes = {\n+  title: PropTypes.string.isRequired,\n+  updateCurrentSection: PropTypes.func.isRequired,\n+  links: PropTypes.shape({\n+    columnOne: PropTypes.shape({\n+      title: PropTypes.string.isRequired,\n+      links: PropTypes.arrayOf(\n+        PropTypes.shape({\n+          text: PropTypes.string.isRequired,\n+          href: PropTypes.string.isRequired,\n+        })\n+      ),\n+    }),\n+    columnTwo: PropTypes.shape({\n+      title: PropTypes.string.isRequired,\n+      links: PropTypes.arrayOf(\n+        PropTypes.shape({\n+          text: PropTypes.string.isRequired,\n+          href: PropTypes.string.isRequired,\n+        })\n+      ),\n+    }),","path":"src/components/navigation/MegaMenu/MenuSection.jsx","position":42,"original_position":51,"commit_id":"5b3c368065d5c237fac8ef5a790dc11b47aec2df","original_commit_id":"5b3c368065d5c237fac8ef5a790dc11b47aec2df","user":{"login":"accbjt","id":5377648,"node_id":"MDQ6VXNlcjUzNzc2NDg=","avatar_url":"https://avatars3.githubusercontent.com/u/5377648?v=4","gravatar_id":"","url":"https://api.github.com/users/accbjt","html_url":"https://github.com/accbjt","followers_url":"https://api.github.com/users/accbjt/followers","following_url":"https://api.github.com/users/accbjt/following{/other_user}","gists_url":"https://api.github.com/users/accbjt/gists{/gist_id}","starred_url":"https://api.github.com/users/accbjt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/accbjt/subscriptions","organizations_url":"https://api.github.com/users/accbjt/orgs","repos_url":"https://api.github.com/users/accbjt/repos","events_url":"https://api.github.com/users/accbjt/events{/privacy}","received_events_url":"https://api.github.com/users/accbjt/received_events","type":"User","site_admin":false},"body":"Never thought of doing that. I will try it out.","created_at":"2018-07-16T21:43:51Z","updated_at":"2018-07-16T21:43:51Z","html_url":"https://github.com/department-of-veterans-affairs/design-system/pull/126#discussion_r202834229","pull_request_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/pulls/126","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/department-of-veterans-affairs/design-system/pulls/comments/202834229"},"html":{"href":"https://github.com/department-of-veterans-affairs/design-system/pull/126#discussion_r202834229"},"pull_request":{"href":"https://api.github.com/repos/department-of-veterans-affairs/design-system/pulls/126"}},"in_reply_to_id":202811807},"pull_request":{"url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/pulls/126","id":197925721,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3OTI1NzIx","html_url":"https://github.com/department-of-veterans-affairs/design-system/pull/126","diff_url":"https://github.com/department-of-veterans-affairs/design-system/pull/126.diff","patch_url":"https://github.com/department-of-veterans-affairs/design-system/pull/126.patch","issue_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/issues/126","number":126,"state":"open","locked":false,"title":"Feature/10551","user":{"login":"accbjt","id":5377648,"node_id":"MDQ6VXNlcjUzNzc2NDg=","avatar_url":"https://avatars3.githubusercontent.com/u/5377648?v=4","gravatar_id":"","url":"https://api.github.com/users/accbjt","html_url":"https://github.com/accbjt","followers_url":"https://api.github.com/users/accbjt/followers","following_url":"https://api.github.com/users/accbjt/following{/other_user}","gists_url":"https://api.github.com/users/accbjt/gists{/gist_id}","starred_url":"https://api.github.com/users/accbjt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/accbjt/subscriptions","organizations_url":"https://api.github.com/users/accbjt/orgs","repos_url":"https://api.github.com/users/accbjt/repos","events_url":"https://api.github.com/users/accbjt/events{/privacy}","received_events_url":"https://api.github.com/users/accbjt/received_events","type":"User","site_admin":false},"body":"This is for the new MegaMenu component for the merger work on va.gov.","created_at":"2018-06-28T06:07:04Z","updated_at":"2018-07-16T21:43:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9167e6cebc09a3900d518177d8475c0780adfcd2","assignee":{"login":"jbalboni","id":634932,"node_id":"MDQ6VXNlcjYzNDkzMg==","avatar_url":"https://avatars2.githubusercontent.com/u/634932?v=4","gravatar_id":"","url":"https://api.github.com/users/jbalboni","html_url":"https://github.com/jbalboni","followers_url":"https://api.github.com/users/jbalboni/followers","following_url":"https://api.github.com/users/jbalboni/following{/other_user}","gists_url":"https://api.github.com/users/jbalboni/gists{/gist_id}","starred_url":"https://api.github.com/users/jbalboni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbalboni/subscriptions","organizations_url":"https://api.github.com/users/jbalboni/orgs","repos_url":"https://api.github.com/users/jbalboni/repos","events_url":"https://api.github.com/users/jbalboni/events{/privacy}","received_events_url":"https://api.github.com/users/jbalboni/received_events","type":"User","site_admin":false},"assignees":[{"login":"jbalboni","id":634932,"node_id":"MDQ6VXNlcjYzNDkzMg==","avatar_url":"https://avatars2.githubusercontent.com/u/634932?v=4","gravatar_id":"","url":"https://api.github.com/users/jbalboni","html_url":"https://github.com/jbalboni","followers_url":"https://api.github.com/users/jbalboni/followers","following_url":"https://api.github.com/users/jbalboni/following{/other_user}","gists_url":"https://api.github.com/users/jbalboni/gists{/gist_id}","starred_url":"https://api.github.com/users/jbalboni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbalboni/subscriptions","organizations_url":"https://api.github.com/users/jbalboni/orgs","repos_url":"https://api.github.com/users/jbalboni/repos","events_url":"https://api.github.com/users/jbalboni/events{/privacy}","received_events_url":"https://api.github.com/users/jbalboni/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/pulls/126/commits","review_comments_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/pulls/126/comments","review_comment_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/pulls/comments{/number}","comments_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/issues/126/comments","statuses_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/statuses/5b3c368065d5c237fac8ef5a790dc11b47aec2df","head":{"label":"department-of-veterans-affairs:feature/10551","ref":"feature/10551","sha":"5b3c368065d5c237fac8ef5a790dc11b47aec2df","user":{"login":"department-of-veterans-affairs","id":5421563,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0MjE1NjM=","avatar_url":"https://avatars1.githubusercontent.com/u/5421563?v=4","gravatar_id":"","url":"https://api.github.com/users/department-of-veterans-affairs","html_url":"https://github.com/department-of-veterans-affairs","followers_url":"https://api.github.com/users/department-of-veterans-affairs/followers","following_url":"https://api.github.com/users/department-of-veterans-affairs/following{/other_user}","gists_url":"https://api.github.com/users/department-of-veterans-affairs/gists{/gist_id}","starred_url":"https://api.github.com/users/department-of-veterans-affairs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/department-of-veterans-affairs/subscriptions","organizations_url":"https://api.github.com/users/department-of-veterans-affairs/orgs","repos_url":"https://api.github.com/users/department-of-veterans-affairs/repos","events_url":"https://api.github.com/users/department-of-veterans-affairs/events{/privacy}","received_events_url":"https://api.github.com/users/department-of-veterans-affairs/received_events","type":"Organization","site_admin":false},"repo":{"id":103283288,"node_id":"MDEwOlJlcG9zaXRvcnkxMDMyODMyODg=","name":"design-system","full_name":"department-of-veterans-affairs/design-system","owner":{"login":"department-of-veterans-affairs","id":5421563,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0MjE1NjM=","avatar_url":"https://avatars1.githubusercontent.com/u/5421563?v=4","gravatar_id":"","url":"https://api.github.com/users/department-of-veterans-affairs","html_url":"https://github.com/department-of-veterans-affairs","followers_url":"https://api.github.com/users/department-of-veterans-affairs/followers","following_url":"https://api.github.com/users/department-of-veterans-affairs/following{/other_user}","gists_url":"https://api.github.com/users/department-of-veterans-affairs/gists{/gist_id}","starred_url":"https://api.github.com/users/department-of-veterans-affairs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/department-of-veterans-affairs/subscriptions","organizations_url":"https://api.github.com/users/department-of-veterans-affairs/orgs","repos_url":"https://api.github.com/users/department-of-veterans-affairs/repos","events_url":"https://api.github.com/users/department-of-veterans-affairs/events{/privacy}","received_events_url":"https://api.github.com/users/department-of-veterans-affairs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/department-of-veterans-affairs/design-system","description":"Jean Pants: Design System for vets.gov","fork":false,"url":"https://api.github.com/repos/department-of-veterans-affairs/design-system","forks_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/forks","keys_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/keys{/key_id}","collaborators_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/teams","hooks_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/hooks","issue_events_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/issues/events{/number}","events_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/events","assignees_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/assignees{/user}","branches_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/branches{/branch}","tags_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/tags","blobs_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/git/refs{/sha}","trees_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/git/trees{/sha}","statuses_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/statuses/{sha}","languages_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/languages","stargazers_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/stargazers","contributors_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/contributors","subscribers_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/subscribers","subscription_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/subscription","commits_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/commits{/sha}","git_commits_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/git/commits{/sha}","comments_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/comments{/number}","issue_comment_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/issues/comments{/number}","contents_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/contents/{+path}","compare_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/compare/{base}...{head}","merges_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/merges","archive_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/downloads","issues_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/issues{/number}","pulls_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/pulls{/number}","milestones_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/milestones{/number}","notifications_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/labels{/name}","releases_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/releases{/id}","deployments_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/deployments","created_at":"2017-09-12T14:46:41Z","updated_at":"2018-07-10T13:42:31Z","pushed_at":"2018-07-16T16:36:29Z","git_url":"git://github.com/department-of-veterans-affairs/design-system.git","ssh_url":"git@github.com:department-of-veterans-affairs/design-system.git","clone_url":"https://github.com/department-of-veterans-affairs/design-system.git","svn_url":"https://github.com/department-of-veterans-affairs/design-system","homepage":"https://department-of-veterans-affairs.github.io/design-system","size":40268,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":11,"license":null,"forks":0,"open_issues":11,"watchers":4,"default_branch":"master"}},"base":{"label":"department-of-veterans-affairs:master","ref":"master","sha":"fbde2ffa2f6d1dc2347272fc5b3c0c288900be12","user":{"login":"department-of-veterans-affairs","id":5421563,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0MjE1NjM=","avatar_url":"https://avatars1.githubusercontent.com/u/5421563?v=4","gravatar_id":"","url":"https://api.github.com/users/department-of-veterans-affairs","html_url":"https://github.com/department-of-veterans-affairs","followers_url":"https://api.github.com/users/department-of-veterans-affairs/followers","following_url":"https://api.github.com/users/department-of-veterans-affairs/following{/other_user}","gists_url":"https://api.github.com/users/department-of-veterans-affairs/gists{/gist_id}","starred_url":"https://api.github.com/users/department-of-veterans-affairs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/department-of-veterans-affairs/subscriptions","organizations_url":"https://api.github.com/users/department-of-veterans-affairs/orgs","repos_url":"https://api.github.com/users/department-of-veterans-affairs/repos","events_url":"https://api.github.com/users/department-of-veterans-affairs/events{/privacy}","received_events_url":"https://api.github.com/users/department-of-veterans-affairs/received_events","type":"Organization","site_admin":false},"repo":{"id":103283288,"node_id":"MDEwOlJlcG9zaXRvcnkxMDMyODMyODg=","name":"design-system","full_name":"department-of-veterans-affairs/design-system","owner":{"login":"department-of-veterans-affairs","id":5421563,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0MjE1NjM=","avatar_url":"https://avatars1.githubusercontent.com/u/5421563?v=4","gravatar_id":"","url":"https://api.github.com/users/department-of-veterans-affairs","html_url":"https://github.com/department-of-veterans-affairs","followers_url":"https://api.github.com/users/department-of-veterans-affairs/followers","following_url":"https://api.github.com/users/department-of-veterans-affairs/following{/other_user}","gists_url":"https://api.github.com/users/department-of-veterans-affairs/gists{/gist_id}","starred_url":"https://api.github.com/users/department-of-veterans-affairs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/department-of-veterans-affairs/subscriptions","organizations_url":"https://api.github.com/users/department-of-veterans-affairs/orgs","repos_url":"https://api.github.com/users/department-of-veterans-affairs/repos","events_url":"https://api.github.com/users/department-of-veterans-affairs/events{/privacy}","received_events_url":"https://api.github.com/users/department-of-veterans-affairs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/department-of-veterans-affairs/design-system","description":"Jean Pants: Design System for vets.gov","fork":false,"url":"https://api.github.com/repos/department-of-veterans-affairs/design-system","forks_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/forks","keys_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/keys{/key_id}","collaborators_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/teams","hooks_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/hooks","issue_events_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/issues/events{/number}","events_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/events","assignees_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/assignees{/user}","branches_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/branches{/branch}","tags_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/tags","blobs_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/git/refs{/sha}","trees_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/git/trees{/sha}","statuses_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/statuses/{sha}","languages_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/languages","stargazers_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/stargazers","contributors_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/contributors","subscribers_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/subscribers","subscription_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/subscription","commits_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/commits{/sha}","git_commits_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/git/commits{/sha}","comments_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/comments{/number}","issue_comment_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/issues/comments{/number}","contents_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/contents/{+path}","compare_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/compare/{base}...{head}","merges_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/merges","archive_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/downloads","issues_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/issues{/number}","pulls_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/pulls{/number}","milestones_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/milestones{/number}","notifications_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/labels{/name}","releases_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/releases{/id}","deployments_url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/deployments","created_at":"2017-09-12T14:46:41Z","updated_at":"2018-07-10T13:42:31Z","pushed_at":"2018-07-16T16:36:29Z","git_url":"git://github.com/department-of-veterans-affairs/design-system.git","ssh_url":"git@github.com:department-of-veterans-affairs/design-system.git","clone_url":"https://github.com/department-of-veterans-affairs/design-system.git","svn_url":"https://github.com/department-of-veterans-affairs/design-system","homepage":"https://department-of-veterans-affairs.github.io/design-system","size":40268,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":11,"license":null,"forks":0,"open_issues":11,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/department-of-veterans-affairs/design-system/pulls/126"},"html":{"href":"https://github.com/department-of-veterans-affairs/design-system/pull/126"},"issue":{"href":"https://api.github.com/repos/department-of-veterans-affairs/design-system/issues/126"},"comments":{"href":"https://api.github.com/repos/department-of-veterans-affairs/design-system/issues/126/comments"},"review_comments":{"href":"https://api.github.com/repos/department-of-veterans-affairs/design-system/pulls/126/comments"},"review_comment":{"href":"https://api.github.com/repos/department-of-veterans-affairs/design-system/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/department-of-veterans-affairs/design-system/pulls/126/commits"},"statuses":{"href":"https://api.github.com/repos/department-of-veterans-affairs/design-system/statuses/5b3c368065d5c237fac8ef5a790dc11b47aec2df"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"accbjt"}}