{"action":"created","comment":{"url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/pulls/comments/200314691","pull_request_review_id":134604248,"id":200314691,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMDMxNDY5MQ==","diff_hunk":"@@ -0,0 +1,63 @@\n+import React, { Component } from 'react';\n+import {\n+  faUser,\n+  faTachometerAlt,\n+  faUnlockAlt,\n+} from '@fortawesome/fontawesome-free-solid';\n+\n+export default Wrapped =>\n+  class extends Component {\n+    constructor(props) {\n+      super(props);\n+      this.state = {\n+        menuItems: [","path":"web-app/src/hoc/Layout/container.js","position":13,"original_position":13,"commit_id":"13738e00fdff17043b6026ffb159e48c34ef8283","original_commit_id":"13738e00fdff17043b6026ffb159e48c34ef8283","user":{"login":"William-Unosquare","id":39301552,"node_id":"MDQ6VXNlcjM5MzAxNTUy","avatar_url":"https://avatars0.githubusercontent.com/u/39301552?v=4","gravatar_id":"","url":"https://api.github.com/users/William-Unosquare","html_url":"https://github.com/William-Unosquare","followers_url":"https://api.github.com/users/William-Unosquare/followers","following_url":"https://api.github.com/users/William-Unosquare/following{/other_user}","gists_url":"https://api.github.com/users/William-Unosquare/gists{/gist_id}","starred_url":"https://api.github.com/users/William-Unosquare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/William-Unosquare/subscriptions","organizations_url":"https://api.github.com/users/William-Unosquare/orgs","repos_url":"https://api.github.com/users/William-Unosquare/repos","events_url":"https://api.github.com/users/William-Unosquare/events{/privacy}","received_events_url":"https://api.github.com/users/William-Unosquare/received_events","type":"User","site_admin":false},"body":"I brought this up before with @paul-matchett in a previous PR. I suggested moving it into a nav config. His reasoning was because thinks it would be useful in the future if the user could modify their sidebar to suit their needs. (Pin pages, and whatnot)\r\n\r\nI said it was grand because of the reasoning but looking back now I think it's maybe a bit premature to have it in the state. ","created_at":"2018-07-05T11:09:43Z","updated_at":"2018-07-05T11:09:43Z","html_url":"https://github.com/UnosquareBelfast/AdminCore/pull/68#discussion_r200314691","pull_request_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/pulls/68","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/UnosquareBelfast/AdminCore/pulls/comments/200314691"},"html":{"href":"https://github.com/UnosquareBelfast/AdminCore/pull/68#discussion_r200314691"},"pull_request":{"href":"https://api.github.com/repos/UnosquareBelfast/AdminCore/pulls/68"}},"in_reply_to_id":200299168},"pull_request":{"url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/pulls/68","id":199258697,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5MjU4Njk3","html_url":"https://github.com/UnosquareBelfast/AdminCore/pull/68","diff_url":"https://github.com/UnosquareBelfast/AdminCore/pull/68.diff","patch_url":"https://github.com/UnosquareBelfast/AdminCore/pull/68.patch","issue_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/issues/68","number":68,"state":"open","locked":false,"title":"Updates endpoints to work with new back-end and fixes any bugs raised from the update","user":{"login":"William-Unosquare","id":39301552,"node_id":"MDQ6VXNlcjM5MzAxNTUy","avatar_url":"https://avatars0.githubusercontent.com/u/39301552?v=4","gravatar_id":"","url":"https://api.github.com/users/William-Unosquare","html_url":"https://github.com/William-Unosquare","followers_url":"https://api.github.com/users/William-Unosquare/followers","following_url":"https://api.github.com/users/William-Unosquare/following{/other_user}","gists_url":"https://api.github.com/users/William-Unosquare/gists{/gist_id}","starred_url":"https://api.github.com/users/William-Unosquare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/William-Unosquare/subscriptions","organizations_url":"https://api.github.com/users/William-Unosquare/orgs","repos_url":"https://api.github.com/users/William-Unosquare/repos","events_url":"https://api.github.com/users/William-Unosquare/events{/privacy}","received_events_url":"https://api.github.com/users/William-Unosquare/received_events","type":"User","site_admin":false},"body":"- Updates endpoint calls to send data matching the updated dtos.\r\n- Adds a workaround currently for there being no employee object being turned from a holiday request.\r\n- Fixes up multi-day holidays in the calendar... they now show as one block, or event, spanning multiple days.","created_at":"2018-07-04T14:00:42Z","updated_at":"2018-07-05T11:09:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"28914a513f7a9fea47627408a16a600f4be2e94e","assignee":null,"assignees":[],"requested_reviewers":[{"login":"BrownMark","id":26248685,"node_id":"MDQ6VXNlcjI2MjQ4Njg1","avatar_url":"https://avatars3.githubusercontent.com/u/26248685?v=4","gravatar_id":"","url":"https://api.github.com/users/BrownMark","html_url":"https://github.com/BrownMark","followers_url":"https://api.github.com/users/BrownMark/followers","following_url":"https://api.github.com/users/BrownMark/following{/other_user}","gists_url":"https://api.github.com/users/BrownMark/gists{/gist_id}","starred_url":"https://api.github.com/users/BrownMark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrownMark/subscriptions","organizations_url":"https://api.github.com/users/BrownMark/orgs","repos_url":"https://api.github.com/users/BrownMark/repos","events_url":"https://api.github.com/users/BrownMark/events{/privacy}","received_events_url":"https://api.github.com/users/BrownMark/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/pulls/68/commits","review_comments_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/pulls/68/comments","review_comment_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/issues/68/comments","statuses_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/statuses/13738e00fdff17043b6026ffb159e48c34ef8283","head":{"label":"UnosquareBelfast:Fix/endpoints","ref":"Fix/endpoints","sha":"13738e00fdff17043b6026ffb159e48c34ef8283","user":{"login":"UnosquareBelfast","id":37988067,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3OTg4MDY3","avatar_url":"https://avatars1.githubusercontent.com/u/37988067?v=4","gravatar_id":"","url":"https://api.github.com/users/UnosquareBelfast","html_url":"https://github.com/UnosquareBelfast","followers_url":"https://api.github.com/users/UnosquareBelfast/followers","following_url":"https://api.github.com/users/UnosquareBelfast/following{/other_user}","gists_url":"https://api.github.com/users/UnosquareBelfast/gists{/gist_id}","starred_url":"https://api.github.com/users/UnosquareBelfast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UnosquareBelfast/subscriptions","organizations_url":"https://api.github.com/users/UnosquareBelfast/orgs","repos_url":"https://api.github.com/users/UnosquareBelfast/repos","events_url":"https://api.github.com/users/UnosquareBelfast/events{/privacy}","received_events_url":"https://api.github.com/users/UnosquareBelfast/received_events","type":"Organization","site_admin":false},"repo":{"id":127679324,"node_id":"MDEwOlJlcG9zaXRvcnkxMjc2NzkzMjQ=","name":"AdminCore","full_name":"UnosquareBelfast/AdminCore","owner":{"login":"UnosquareBelfast","id":37988067,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3OTg4MDY3","avatar_url":"https://avatars1.githubusercontent.com/u/37988067?v=4","gravatar_id":"","url":"https://api.github.com/users/UnosquareBelfast","html_url":"https://github.com/UnosquareBelfast","followers_url":"https://api.github.com/users/UnosquareBelfast/followers","following_url":"https://api.github.com/users/UnosquareBelfast/following{/other_user}","gists_url":"https://api.github.com/users/UnosquareBelfast/gists{/gist_id}","starred_url":"https://api.github.com/users/UnosquareBelfast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UnosquareBelfast/subscriptions","organizations_url":"https://api.github.com/users/UnosquareBelfast/orgs","repos_url":"https://api.github.com/users/UnosquareBelfast/repos","events_url":"https://api.github.com/users/UnosquareBelfast/events{/privacy}","received_events_url":"https://api.github.com/users/UnosquareBelfast/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UnosquareBelfast/AdminCore","description":"Administrative tool","fork":false,"url":"https://api.github.com/repos/UnosquareBelfast/AdminCore","forks_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/forks","keys_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/teams","hooks_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/hooks","issue_events_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/issues/events{/number}","events_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/events","assignees_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/assignees{/user}","branches_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/branches{/branch}","tags_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/tags","blobs_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/git/refs{/sha}","trees_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/statuses/{sha}","languages_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/languages","stargazers_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/stargazers","contributors_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/contributors","subscribers_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/subscribers","subscription_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/subscription","commits_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/commits{/sha}","git_commits_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/git/commits{/sha}","comments_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/comments{/number}","issue_comment_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/issues/comments{/number}","contents_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/contents/{+path}","compare_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/merges","archive_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/downloads","issues_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/issues{/number}","pulls_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/pulls{/number}","milestones_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/milestones{/number}","notifications_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/labels{/name}","releases_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/releases{/id}","deployments_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/deployments","created_at":"2018-04-01T23:22:16Z","updated_at":"2018-07-05T09:30:50Z","pushed_at":"2018-07-05T09:42:57Z","git_url":"git://github.com/UnosquareBelfast/AdminCore.git","ssh_url":"git@github.com:UnosquareBelfast/AdminCore.git","clone_url":"https://github.com/UnosquareBelfast/AdminCore.git","svn_url":"https://github.com/UnosquareBelfast/AdminCore","homepage":null,"size":2440,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":4,"watchers":1,"default_branch":"develop"}},"base":{"label":"UnosquareBelfast:develop","ref":"develop","sha":"083fc2fdd484efd041d6b3e8bb7554a6cea3e4d1","user":{"login":"UnosquareBelfast","id":37988067,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3OTg4MDY3","avatar_url":"https://avatars1.githubusercontent.com/u/37988067?v=4","gravatar_id":"","url":"https://api.github.com/users/UnosquareBelfast","html_url":"https://github.com/UnosquareBelfast","followers_url":"https://api.github.com/users/UnosquareBelfast/followers","following_url":"https://api.github.com/users/UnosquareBelfast/following{/other_user}","gists_url":"https://api.github.com/users/UnosquareBelfast/gists{/gist_id}","starred_url":"https://api.github.com/users/UnosquareBelfast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UnosquareBelfast/subscriptions","organizations_url":"https://api.github.com/users/UnosquareBelfast/orgs","repos_url":"https://api.github.com/users/UnosquareBelfast/repos","events_url":"https://api.github.com/users/UnosquareBelfast/events{/privacy}","received_events_url":"https://api.github.com/users/UnosquareBelfast/received_events","type":"Organization","site_admin":false},"repo":{"id":127679324,"node_id":"MDEwOlJlcG9zaXRvcnkxMjc2NzkzMjQ=","name":"AdminCore","full_name":"UnosquareBelfast/AdminCore","owner":{"login":"UnosquareBelfast","id":37988067,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3OTg4MDY3","avatar_url":"https://avatars1.githubusercontent.com/u/37988067?v=4","gravatar_id":"","url":"https://api.github.com/users/UnosquareBelfast","html_url":"https://github.com/UnosquareBelfast","followers_url":"https://api.github.com/users/UnosquareBelfast/followers","following_url":"https://api.github.com/users/UnosquareBelfast/following{/other_user}","gists_url":"https://api.github.com/users/UnosquareBelfast/gists{/gist_id}","starred_url":"https://api.github.com/users/UnosquareBelfast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UnosquareBelfast/subscriptions","organizations_url":"https://api.github.com/users/UnosquareBelfast/orgs","repos_url":"https://api.github.com/users/UnosquareBelfast/repos","events_url":"https://api.github.com/users/UnosquareBelfast/events{/privacy}","received_events_url":"https://api.github.com/users/UnosquareBelfast/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UnosquareBelfast/AdminCore","description":"Administrative tool","fork":false,"url":"https://api.github.com/repos/UnosquareBelfast/AdminCore","forks_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/forks","keys_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/teams","hooks_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/hooks","issue_events_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/issues/events{/number}","events_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/events","assignees_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/assignees{/user}","branches_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/branches{/branch}","tags_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/tags","blobs_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/git/refs{/sha}","trees_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/statuses/{sha}","languages_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/languages","stargazers_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/stargazers","contributors_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/contributors","subscribers_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/subscribers","subscription_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/subscription","commits_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/commits{/sha}","git_commits_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/git/commits{/sha}","comments_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/comments{/number}","issue_comment_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/issues/comments{/number}","contents_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/contents/{+path}","compare_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/merges","archive_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/downloads","issues_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/issues{/number}","pulls_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/pulls{/number}","milestones_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/milestones{/number}","notifications_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/labels{/name}","releases_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/releases{/id}","deployments_url":"https://api.github.com/repos/UnosquareBelfast/AdminCore/deployments","created_at":"2018-04-01T23:22:16Z","updated_at":"2018-07-05T09:30:50Z","pushed_at":"2018-07-05T09:42:57Z","git_url":"git://github.com/UnosquareBelfast/AdminCore.git","ssh_url":"git@github.com:UnosquareBelfast/AdminCore.git","clone_url":"https://github.com/UnosquareBelfast/AdminCore.git","svn_url":"https://github.com/UnosquareBelfast/AdminCore","homepage":null,"size":2440,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":4,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/UnosquareBelfast/AdminCore/pulls/68"},"html":{"href":"https://github.com/UnosquareBelfast/AdminCore/pull/68"},"issue":{"href":"https://api.github.com/repos/UnosquareBelfast/AdminCore/issues/68"},"comments":{"href":"https://api.github.com/repos/UnosquareBelfast/AdminCore/issues/68/comments"},"review_comments":{"href":"https://api.github.com/repos/UnosquareBelfast/AdminCore/pulls/68/comments"},"review_comment":{"href":"https://api.github.com/repos/UnosquareBelfast/AdminCore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/UnosquareBelfast/AdminCore/pulls/68/commits"},"statuses":{"href":"https://api.github.com/repos/UnosquareBelfast/AdminCore/statuses/13738e00fdff17043b6026ffb159e48c34ef8283"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"William-Unosquare"}}