{"action":"created","comment":{"url":"https://api.github.com/repos/department-of-veterans-affairs/design-system/pulls/comments/202816898","pull_request_review_id":137573507,"id":202816898,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMjgxNjg5OA==","diff_hunk":"@@ -0,0 +1,116 @@\n+import PropTypes from 'prop-types';\n+import React from 'react';\n+import MenuSection from './MenuSection';\n+import SubMenu from './SubMenu';\n+\n+const defaultSection = (sections) => {\n+  return sections[0].title;\n+};\n+\n+export default class MegaMenu extends React.Component {\n+  toggleDropDown(title) {\n+    if (this.props.currentDropdown === title) {\n+      this.props.toggleDropDown('');\n+    } else {\n+      this.props.toggleDropDown(title);\n+    }\n+  }\n+\n+  updateCurrentSection(title) {\n+    this.props.updateCurrentSection(title);\n+  }\n+\n+  render() {\n+    const {\n+      currentDropdown,\n+      currentSection,\n+      data,\n+    } = this.props;\n+\n+    return (\n+      <div className=\"login-container\">\n+        <div className=\"row va-flex\">\n+          <div id=\"vetnav\" role=\"navigation\">\n+            <ul id=\"vetnav-menu\" role=\"menubar\">\n+              <li><a href=\"/\" className=\"vetnav-level1\" role=\"menuitem\">Home</a></li>\n+              {\n+                data.map((item, i) => {\n+                  return (\n+                    <li key={`${item.title.toLowerCase().replace(/ /g, '-')}-${i}`}>\n+                      {\n+                        item.menuSections ? <button\n+                          aria-expanded={currentDropdown === item.title}\n+                          aria-controls=\"vetnav-explore\"\n+                          aria-haspopup=\"true\"\n+                          className=\"vetnav-level1\"\n+                          onClick={() => this.toggleDropDown(item.title)}>{item.title}</button>\n+                          : <a href={item.href} className=\"vetnav-level1\" >{item.title}</a>\n+                      }\n+                      <div id=\"vetnav-explore\" className=\"vetnav-panel\" role=\"none\" hidden={currentDropdown !== item.title}>\n+                        {\n+                          item.title === currentDropdown && item.menuSections && <ul aria-label=\"Explore benefits\">\n+                            {\n+                              item.menuSections.constructor.name === 'Array' ? item.menuSections.map((section, j) => {\n+                                return (","path":"src/components/navigation/MegaMenu/MegaMenu.jsx","position":54,"original_position":54,"commit_id":"5b3c368065d5c237fac8ef5a790dc11b47aec2df","original_commit_id":"5b3c368065d5c237fac8ef5a790dc11b47aec2df","user":{"login":"ncksllvn","id":1915775,"node_id":"MDQ6VXNlcjE5MTU3NzU=","avatar_url":"https://avatars0.githubusercontent.com/u/1915775?v=4","gravatar_id":"","url":"https://api.github.com/users/ncksllvn","html_url":"https://github.com/ncksllvn","followers_url":"https://api.github.com/users/ncksllvn/followers","following_url":"https://api.github.com/users/ncksllvn/following{/other_user}","gists_url":"https://api.github.com/users/ncksllvn/gists{/gist_id}","starred_url":"https://api.github.com/users/ncksllvn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncksllvn/subscriptions","organizations_url":"https://api.github.com/users/ncksllvn/orgs","repos_url":"https://api.github.com/users/ncksllvn/repos","events_url":"https://api.github.com/users/ncksllvn/events{/privacy}","received_events_url":"https://api.github.com/users/ncksllvn/received_events","type":"User","site_admin":false},"body":"@1Copenut does the ID here meet the criteria for your comment on `aria-controls`? ","created_at":"2018-07-16T20:39:56Z","updated_at":"2018-07-16T20:43:41Z","html_url":"https://github.com/department-of-veterans-affairs/design-system/pull/126#discussion_r202816898","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/202816898"},"html":{"href":"https://github.com/department-of-veterans-affairs/design-system/pull/126#discussion_r202816898"},"pull_request":{"href":"https://api.github.com/repos/department-of-veterans-affairs/design-system/pulls/126"}},"in_reply_to_id":202809936},"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-16T20:43:41Z","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":"ncksllvn"}}