{"action":"created","comment":{"url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/pulls/comments/209862330","pull_request_review_id":145955869,"id":209862330,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwOTg2MjMzMA==","diff_hunk":"@@ -0,0 +1,60 @@\n+import React from 'react';\n+import PropTypes from 'prop-types';\n+import Orders from './Orders';\n+\n+class Accordion extends React.Component {\n+  state = {\n+    isVisible: this.props.open === undefined ? false : this.props.open,\n+  };\n+\n+  render() {\n+    return (\n+      <React.Fragment>\n+        <tr\n+          className=\"accordion accordion-link\"\n+          role=\"button\"\n+          tabIndex={0}\n+          onClick={() => {\n+            this.setState({ isVisible: !this.state.isVisible });\n+          }}>\n+          <th className=\"th-1\">\n+            <span>\n+              {this.state.isVisible ? (\n+                <i className=\"toggle-icon icon-caret-down small rotate90\" />\n+              ) : (\n+                <i className=\"toggle-icon icon-caret-right small rotate90\" />\n+              )}\n+            </span>\n+            27 jun 2018\n+          </th>\n+          {this.props.title}\n+        </tr>\n+        <tr>\n+          <td className=\"th-invisible\" />\n+          <td className=\"th-details\">\n+            <div\n+              className={`th-details accordion-two content ${\n+                !this.state.isVisible ? 'close' : 'open'\n+              }`}>\n+              {this.props.children}\n+            </div>\n+          </td>\n+          <td className=\"th-invisible\" />\n+          <td className=\"th-invisible\" />\n+        </tr>\n+      </React.Fragment>\n+    );\n+  }\n+}\n+\n+Accordion.propTypes = {\n+  children: PropTypes.node.isRequired,\n+  open: PropTypes.bool,\n+  title: PropTypes.object.isRequired,\n+};\n+\n+Accordion.defaultProps = {","path":"app/js/components/orderEntry/Accordion.jsx","position":56,"original_position":56,"commit_id":"5f34e8df97fc44e9d92103770d461bbdc0f8c7cc","original_commit_id":"5f34e8df97fc44e9d92103770d461bbdc0f8c7cc","user":{"login":"Efosaok","id":24938186,"node_id":"MDQ6VXNlcjI0OTM4MTg2","avatar_url":"https://avatars2.githubusercontent.com/u/24938186?v=4","gravatar_id":"","url":"https://api.github.com/users/Efosaok","html_url":"https://github.com/Efosaok","followers_url":"https://api.github.com/users/Efosaok/followers","following_url":"https://api.github.com/users/Efosaok/following{/other_user}","gists_url":"https://api.github.com/users/Efosaok/gists{/gist_id}","starred_url":"https://api.github.com/users/Efosaok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Efosaok/subscriptions","organizations_url":"https://api.github.com/users/Efosaok/orgs","repos_url":"https://api.github.com/users/Efosaok/repos","events_url":"https://api.github.com/users/Efosaok/events{/privacy}","received_events_url":"https://api.github.com/users/Efosaok/received_events","type":"User","site_admin":false},"body":"the accordion we have a limitation as it could not take in a component as a title, so I had to create another one for this purpose.","created_at":"2018-08-14T08:10:23Z","updated_at":"2018-08-14T08:10:24Z","html_url":"https://github.com/openmrs/openmrs-owa-orderentry/pull/146#discussion_r209862330","pull_request_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/pulls/146","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/pulls/comments/209862330"},"html":{"href":"https://github.com/openmrs/openmrs-owa-orderentry/pull/146#discussion_r209862330"},"pull_request":{"href":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/pulls/146"}},"in_reply_to_id":209768306},"pull_request":{"url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/pulls/146","id":207713792,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3NzEzNzky","html_url":"https://github.com/openmrs/openmrs-owa-orderentry/pull/146","diff_url":"https://github.com/openmrs/openmrs-owa-orderentry/pull/146.diff","patch_url":"https://github.com/openmrs/openmrs-owa-orderentry/pull/146.patch","issue_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/issues/146","number":146,"state":"open","locked":false,"title":"OEUI-216: Build Out New Homepage Design","user":{"login":"Efosaok","id":24938186,"node_id":"MDQ6VXNlcjI0OTM4MTg2","avatar_url":"https://avatars2.githubusercontent.com/u/24938186?v=4","gravatar_id":"","url":"https://api.github.com/users/Efosaok","html_url":"https://github.com/Efosaok","followers_url":"https://api.github.com/users/Efosaok/followers","following_url":"https://api.github.com/users/Efosaok/following{/other_user}","gists_url":"https://api.github.com/users/Efosaok/gists{/gist_id}","starred_url":"https://api.github.com/users/Efosaok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Efosaok/subscriptions","organizations_url":"https://api.github.com/users/Efosaok/orgs","repos_url":"https://api.github.com/users/Efosaok/repos","events_url":"https://api.github.com/users/Efosaok/events{/privacy}","received_events_url":"https://api.github.com/users/Efosaok/received_events","type":"User","site_admin":false},"body":"#### JIRA TICKET NAME\r\n[OEUI-216](https://issues.openmrs.org/browse/OEUI-216)\r\n\r\n#### Summary\r\n- Build out homepage based on new design mockups","created_at":"2018-08-10T20:24:29Z","updated_at":"2018-08-14T08:10:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"73aca3b2fc6da48a47d65f53f24e8eb75254a9da","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/pulls/146/commits","review_comments_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/pulls/146/comments","review_comment_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/issues/146/comments","statuses_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/statuses/5f34e8df97fc44e9d92103770d461bbdc0f8c7cc","head":{"label":"Efosaok:OEUI-216","ref":"OEUI-216","sha":"5f34e8df97fc44e9d92103770d461bbdc0f8c7cc","user":{"login":"Efosaok","id":24938186,"node_id":"MDQ6VXNlcjI0OTM4MTg2","avatar_url":"https://avatars2.githubusercontent.com/u/24938186?v=4","gravatar_id":"","url":"https://api.github.com/users/Efosaok","html_url":"https://github.com/Efosaok","followers_url":"https://api.github.com/users/Efosaok/followers","following_url":"https://api.github.com/users/Efosaok/following{/other_user}","gists_url":"https://api.github.com/users/Efosaok/gists{/gist_id}","starred_url":"https://api.github.com/users/Efosaok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Efosaok/subscriptions","organizations_url":"https://api.github.com/users/Efosaok/orgs","repos_url":"https://api.github.com/users/Efosaok/repos","events_url":"https://api.github.com/users/Efosaok/events{/privacy}","received_events_url":"https://api.github.com/users/Efosaok/received_events","type":"User","site_admin":false},"repo":{"id":139842575,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk4NDI1NzU=","name":"openmrs-owa-orderentry","full_name":"Efosaok/openmrs-owa-orderentry","owner":{"login":"Efosaok","id":24938186,"node_id":"MDQ6VXNlcjI0OTM4MTg2","avatar_url":"https://avatars2.githubusercontent.com/u/24938186?v=4","gravatar_id":"","url":"https://api.github.com/users/Efosaok","html_url":"https://github.com/Efosaok","followers_url":"https://api.github.com/users/Efosaok/followers","following_url":"https://api.github.com/users/Efosaok/following{/other_user}","gists_url":"https://api.github.com/users/Efosaok/gists{/gist_id}","starred_url":"https://api.github.com/users/Efosaok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Efosaok/subscriptions","organizations_url":"https://api.github.com/users/Efosaok/orgs","repos_url":"https://api.github.com/users/Efosaok/repos","events_url":"https://api.github.com/users/Efosaok/events{/privacy}","received_events_url":"https://api.github.com/users/Efosaok/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Efosaok/openmrs-owa-orderentry","description":"Open Web Application for Order Entry","fork":true,"url":"https://api.github.com/repos/Efosaok/openmrs-owa-orderentry","forks_url":"https://api.github.com/repos/Efosaok/openmrs-owa-orderentry/forks","keys_url":"https://api.github.com/repos/Efosaok/openmrs-owa-orderentry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Efosaok/openmrs-owa-orderentry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Efosaok/openmrs-owa-orderentry/teams","hooks_url":"https://api.github.com/repos/Efosaok/openmrs-owa-orderentry/hooks","issue_events_url":"https://api.github.com/repos/Efosaok/openmrs-owa-orderentry/issues/events{/number}","events_url":"https://api.github.com/repos/Efosaok/openmrs-owa-orderentry/events","assignees_url":"https://api.github.com/repos/Efosaok/openmrs-owa-orderentry/assignees{/user}","branches_url":"https://api.github.com/repos/Efosaok/openmrs-owa-orderentry/branches{/branch}","tags_url":"https://api.github.com/repos/Efosaok/openmrs-owa-orderentry/tags","blobs_url":"https://api.github.com/repos/Efosaok/openmrs-owa-orderentry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Efosaok/openmrs-owa-orderentry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Efosaok/openmrs-owa-orderentry/git/refs{/sha}","trees_url":"https://api.github.com/repos/Efosaok/openmrs-owa-orderentry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Efosaok/openmrs-owa-orderentry/statuses/{sha}","languages_url":"https://api.github.com/repos/Efosaok/openmrs-owa-orderentry/languages","stargazers_url":"https://api.github.com/repos/Efosaok/openmrs-owa-orderentry/stargazers","contributors_url":"https://api.github.com/repos/Efosaok/openmrs-owa-orderentry/contributors","subscribers_url":"https://api.github.com/repos/Efosaok/openmrs-owa-orderentry/subscribers","subscription_url":"https://api.github.com/repos/Efosaok/openmrs-owa-orderentry/subscription","commits_url":"https://api.github.com/repos/Efosaok/openmrs-owa-orderentry/commits{/sha}","git_commits_url":"https://api.github.com/repos/Efosaok/openmrs-owa-orderentry/git/commits{/sha}","comments_url":"https://api.github.com/repos/Efosaok/openmrs-owa-orderentry/comments{/number}","issue_comment_url":"https://api.github.com/repos/Efosaok/openmrs-owa-orderentry/issues/comments{/number}","contents_url":"https://api.github.com/repos/Efosaok/openmrs-owa-orderentry/contents/{+path}","compare_url":"https://api.github.com/repos/Efosaok/openmrs-owa-orderentry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Efosaok/openmrs-owa-orderentry/merges","archive_url":"https://api.github.com/repos/Efosaok/openmrs-owa-orderentry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Efosaok/openmrs-owa-orderentry/downloads","issues_url":"https://api.github.com/repos/Efosaok/openmrs-owa-orderentry/issues{/number}","pulls_url":"https://api.github.com/repos/Efosaok/openmrs-owa-orderentry/pulls{/number}","milestones_url":"https://api.github.com/repos/Efosaok/openmrs-owa-orderentry/milestones{/number}","notifications_url":"https://api.github.com/repos/Efosaok/openmrs-owa-orderentry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Efosaok/openmrs-owa-orderentry/labels{/name}","releases_url":"https://api.github.com/repos/Efosaok/openmrs-owa-orderentry/releases{/id}","deployments_url":"https://api.github.com/repos/Efosaok/openmrs-owa-orderentry/deployments","created_at":"2018-07-05T11:55:25Z","updated_at":"2018-08-02T10:37:40Z","pushed_at":"2018-08-13T15:42:14Z","git_url":"git://github.com/Efosaok/openmrs-owa-orderentry.git","ssh_url":"git@github.com:Efosaok/openmrs-owa-orderentry.git","clone_url":"https://github.com/Efosaok/openmrs-owa-orderentry.git","svn_url":"https://github.com/Efosaok/openmrs-owa-orderentry","homepage":null,"size":626,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openmrs:master","ref":"master","sha":"b149c4ff7b9c824fc02d75ed3cd0213ed9985970","user":{"login":"openmrs","id":860776,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg2MDc3Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/860776?v=4","gravatar_id":"","url":"https://api.github.com/users/openmrs","html_url":"https://github.com/openmrs","followers_url":"https://api.github.com/users/openmrs/followers","following_url":"https://api.github.com/users/openmrs/following{/other_user}","gists_url":"https://api.github.com/users/openmrs/gists{/gist_id}","starred_url":"https://api.github.com/users/openmrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openmrs/subscriptions","organizations_url":"https://api.github.com/users/openmrs/orgs","repos_url":"https://api.github.com/users/openmrs/repos","events_url":"https://api.github.com/users/openmrs/events{/privacy}","received_events_url":"https://api.github.com/users/openmrs/received_events","type":"Organization","site_admin":false},"repo":{"id":124887271,"node_id":"MDEwOlJlcG9zaXRvcnkxMjQ4ODcyNzE=","name":"openmrs-owa-orderentry","full_name":"openmrs/openmrs-owa-orderentry","owner":{"login":"openmrs","id":860776,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg2MDc3Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/860776?v=4","gravatar_id":"","url":"https://api.github.com/users/openmrs","html_url":"https://github.com/openmrs","followers_url":"https://api.github.com/users/openmrs/followers","following_url":"https://api.github.com/users/openmrs/following{/other_user}","gists_url":"https://api.github.com/users/openmrs/gists{/gist_id}","starred_url":"https://api.github.com/users/openmrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openmrs/subscriptions","organizations_url":"https://api.github.com/users/openmrs/orgs","repos_url":"https://api.github.com/users/openmrs/repos","events_url":"https://api.github.com/users/openmrs/events{/privacy}","received_events_url":"https://api.github.com/users/openmrs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openmrs/openmrs-owa-orderentry","description":"Open Web Application for Order Entry","fork":false,"url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry","forks_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/forks","keys_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/teams","hooks_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/hooks","issue_events_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/issues/events{/number}","events_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/events","assignees_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/assignees{/user}","branches_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/branches{/branch}","tags_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/tags","blobs_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/git/refs{/sha}","trees_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/statuses/{sha}","languages_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/languages","stargazers_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/stargazers","contributors_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/contributors","subscribers_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/subscribers","subscription_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/subscription","commits_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/commits{/sha}","git_commits_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/git/commits{/sha}","comments_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/comments{/number}","issue_comment_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/issues/comments{/number}","contents_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/contents/{+path}","compare_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/merges","archive_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/downloads","issues_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/issues{/number}","pulls_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/pulls{/number}","milestones_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/milestones{/number}","notifications_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/labels{/name}","releases_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/releases{/id}","deployments_url":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/deployments","created_at":"2018-03-12T12:41:06Z","updated_at":"2018-08-13T18:56:59Z","pushed_at":"2018-08-14T03:33:45Z","git_url":"git://github.com/openmrs/openmrs-owa-orderentry.git","ssh_url":"git@github.com:openmrs/openmrs-owa-orderentry.git","clone_url":"https://github.com/openmrs/openmrs-owa-orderentry.git","svn_url":"https://github.com/openmrs/openmrs-owa-orderentry","homepage":null,"size":628,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":11,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":11,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/pulls/146"},"html":{"href":"https://github.com/openmrs/openmrs-owa-orderentry/pull/146"},"issue":{"href":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/issues/146"},"comments":{"href":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/issues/146/comments"},"review_comments":{"href":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/pulls/146/comments"},"review_comment":{"href":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/pulls/146/commits"},"statuses":{"href":"https://api.github.com/repos/openmrs/openmrs-owa-orderentry/statuses/5f34e8df97fc44e9d92103770d461bbdc0f8c7cc"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Efosaok"}}