{"action":"created","comment":{"url":"https://api.github.com/repos/llabake/Hello-Books/pulls/comments/188240490","pull_request_review_id":120175056,"id":188240490,"diff_hunk":"@@ -21,68 +22,167 @@ class Header extends Component {\n     super();\n     this.handleLogout = this.handleLogout.bind(this);\n   }\n-  \n-    /**\n-   * @returns {object} redirects to home page\n+\n+  /**\n+ * @returns {object} redirects to home page\n+ * \n+ * @memberof Header\n+ */\n+  handleLogout() {\n+    this.props.logout();\n+  }\n+\n+  /**\n+   * @returns {void}\n    * \n    * @memberof Header\n    */\n-  handleLogout() {\n-    this.props.logout();\n+  componentDidMount() {\n+    // Initialize materialize dropdown class\n+    $('.dropdown-button').dropdown({","path":"client/components/common/Header.js","position":43,"original_position":43,"commit_id":"ec3c5132919d717d4010617c4ac3a09ac9729180","original_commit_id":"ec3c5132919d717d4010617c4ac3a09ac9729180","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"'$' is not defined                     no-undef","created_at":"2018-05-15T10:36:38Z","updated_at":"2018-05-15T10:36:39Z","html_url":"https://github.com/llabake/Hello-Books/pull/83#discussion_r188240490","pull_request_url":"https://api.github.com/repos/llabake/Hello-Books/pulls/83","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/llabake/Hello-Books/pulls/comments/188240490"},"html":{"href":"https://github.com/llabake/Hello-Books/pull/83#discussion_r188240490"},"pull_request":{"href":"https://api.github.com/repos/llabake/Hello-Books/pulls/83"}}},"pull_request":{"url":"https://api.github.com/repos/llabake/Hello-Books/pulls/83","id":188082137,"html_url":"https://github.com/llabake/Hello-Books/pull/83","diff_url":"https://github.com/llabake/Hello-Books/pull/83.diff","patch_url":"https://github.com/llabake/Hello-Books/pull/83.patch","issue_url":"https://api.github.com/repos/llabake/Hello-Books/issues/83","number":83,"state":"open","locked":false,"title":"bug(NavBar-Footer): Fix Nav Bar and Jumping Footer ","user":{"login":"llabake","id":29184825,"avatar_url":"https://avatars2.githubusercontent.com/u/29184825?v=4","gravatar_id":"","url":"https://api.github.com/users/llabake","html_url":"https://github.com/llabake","followers_url":"https://api.github.com/users/llabake/followers","following_url":"https://api.github.com/users/llabake/following{/other_user}","gists_url":"https://api.github.com/users/llabake/gists{/gist_id}","starred_url":"https://api.github.com/users/llabake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llabake/subscriptions","organizations_url":"https://api.github.com/users/llabake/orgs","repos_url":"https://api.github.com/users/llabake/repos","events_url":"https://api.github.com/users/llabake/events{/privacy}","received_events_url":"https://api.github.com/users/llabake/received_events","type":"User","site_admin":false},"body":"\r\n#### What does this PR do?\r\nThis PR fixes the application footer and navigation bar component\r\n\r\n#### Description of Task to be completed?\r\nfix jumping footer\r\nstyle to footer component\r\nseparate navbar based on role and authentication\r\nchange existing navigation bar in components\r\n\r\n#### How should this be manually tested?\r\nclone the repo\r\ncd into the project directory\r\nrun` npm install` to install all the dependency\r\nrun `npm run start-dev` to start the back-end server\r\nrun `npm run dev` to start the front-end server\r\nclick on the user dropdown you should see sign up and sign in if you are unauthenticated, all pages list in the drop-down if you are an admin and  all pages list except the admin dashboard and add book link if you are a normal user\r\n\r\n#### What are the relevant pivotal tracker stories?\r\n157534616\r\n\r\n#### Any background context you want to add?\r\nN/A\r\n\r\n#### Screenshots\r\nN/A","created_at":"2018-05-15T10:28:11Z","updated_at":"2018-05-15T10:36:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f5d56286b2f331b8aee46f04e9a50ab15ddc2a30","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/llabake/Hello-Books/pulls/83/commits","review_comments_url":"https://api.github.com/repos/llabake/Hello-Books/pulls/83/comments","review_comment_url":"https://api.github.com/repos/llabake/Hello-Books/pulls/comments{/number}","comments_url":"https://api.github.com/repos/llabake/Hello-Books/issues/83/comments","statuses_url":"https://api.github.com/repos/llabake/Hello-Books/statuses/ec3c5132919d717d4010617c4ac3a09ac9729180","head":{"label":"llabake:bg-fix-footer-navbar-157534616","ref":"bg-fix-footer-navbar-157534616","sha":"ec3c5132919d717d4010617c4ac3a09ac9729180","user":{"login":"llabake","id":29184825,"avatar_url":"https://avatars2.githubusercontent.com/u/29184825?v=4","gravatar_id":"","url":"https://api.github.com/users/llabake","html_url":"https://github.com/llabake","followers_url":"https://api.github.com/users/llabake/followers","following_url":"https://api.github.com/users/llabake/following{/other_user}","gists_url":"https://api.github.com/users/llabake/gists{/gist_id}","starred_url":"https://api.github.com/users/llabake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llabake/subscriptions","organizations_url":"https://api.github.com/users/llabake/orgs","repos_url":"https://api.github.com/users/llabake/repos","events_url":"https://api.github.com/users/llabake/events{/privacy}","received_events_url":"https://api.github.com/users/llabake/received_events","type":"User","site_admin":false},"repo":{"id":105932161,"name":"Hello-Books","full_name":"llabake/Hello-Books","owner":{"login":"llabake","id":29184825,"avatar_url":"https://avatars2.githubusercontent.com/u/29184825?v=4","gravatar_id":"","url":"https://api.github.com/users/llabake","html_url":"https://github.com/llabake","followers_url":"https://api.github.com/users/llabake/followers","following_url":"https://api.github.com/users/llabake/following{/other_user}","gists_url":"https://api.github.com/users/llabake/gists{/gist_id}","starred_url":"https://api.github.com/users/llabake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llabake/subscriptions","organizations_url":"https://api.github.com/users/llabake/orgs","repos_url":"https://api.github.com/users/llabake/repos","events_url":"https://api.github.com/users/llabake/events{/privacy}","received_events_url":"https://api.github.com/users/llabake/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/llabake/Hello-Books","description":null,"fork":false,"url":"https://api.github.com/repos/llabake/Hello-Books","forks_url":"https://api.github.com/repos/llabake/Hello-Books/forks","keys_url":"https://api.github.com/repos/llabake/Hello-Books/keys{/key_id}","collaborators_url":"https://api.github.com/repos/llabake/Hello-Books/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/llabake/Hello-Books/teams","hooks_url":"https://api.github.com/repos/llabake/Hello-Books/hooks","issue_events_url":"https://api.github.com/repos/llabake/Hello-Books/issues/events{/number}","events_url":"https://api.github.com/repos/llabake/Hello-Books/events","assignees_url":"https://api.github.com/repos/llabake/Hello-Books/assignees{/user}","branches_url":"https://api.github.com/repos/llabake/Hello-Books/branches{/branch}","tags_url":"https://api.github.com/repos/llabake/Hello-Books/tags","blobs_url":"https://api.github.com/repos/llabake/Hello-Books/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/llabake/Hello-Books/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/llabake/Hello-Books/git/refs{/sha}","trees_url":"https://api.github.com/repos/llabake/Hello-Books/git/trees{/sha}","statuses_url":"https://api.github.com/repos/llabake/Hello-Books/statuses/{sha}","languages_url":"https://api.github.com/repos/llabake/Hello-Books/languages","stargazers_url":"https://api.github.com/repos/llabake/Hello-Books/stargazers","contributors_url":"https://api.github.com/repos/llabake/Hello-Books/contributors","subscribers_url":"https://api.github.com/repos/llabake/Hello-Books/subscribers","subscription_url":"https://api.github.com/repos/llabake/Hello-Books/subscription","commits_url":"https://api.github.com/repos/llabake/Hello-Books/commits{/sha}","git_commits_url":"https://api.github.com/repos/llabake/Hello-Books/git/commits{/sha}","comments_url":"https://api.github.com/repos/llabake/Hello-Books/comments{/number}","issue_comment_url":"https://api.github.com/repos/llabake/Hello-Books/issues/comments{/number}","contents_url":"https://api.github.com/repos/llabake/Hello-Books/contents/{+path}","compare_url":"https://api.github.com/repos/llabake/Hello-Books/compare/{base}...{head}","merges_url":"https://api.github.com/repos/llabake/Hello-Books/merges","archive_url":"https://api.github.com/repos/llabake/Hello-Books/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/llabake/Hello-Books/downloads","issues_url":"https://api.github.com/repos/llabake/Hello-Books/issues{/number}","pulls_url":"https://api.github.com/repos/llabake/Hello-Books/pulls{/number}","milestones_url":"https://api.github.com/repos/llabake/Hello-Books/milestones{/number}","notifications_url":"https://api.github.com/repos/llabake/Hello-Books/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/llabake/Hello-Books/labels{/name}","releases_url":"https://api.github.com/repos/llabake/Hello-Books/releases{/id}","deployments_url":"https://api.github.com/repos/llabake/Hello-Books/deployments","created_at":"2017-10-05T19:35:17Z","updated_at":"2018-05-12T17:48:55Z","pushed_at":"2018-05-15T10:36:22Z","git_url":"git://github.com/llabake/Hello-Books.git","ssh_url":"git@github.com:llabake/Hello-Books.git","clone_url":"https://github.com/llabake/Hello-Books.git","svn_url":"https://github.com/llabake/Hello-Books","homepage":null,"size":46474,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":3,"open_issues":3,"watchers":1,"default_branch":"develop"}},"base":{"label":"llabake:develop","ref":"develop","sha":"49159b1a83311d18bd7b81b932e81166a030fb4c","user":{"login":"llabake","id":29184825,"avatar_url":"https://avatars2.githubusercontent.com/u/29184825?v=4","gravatar_id":"","url":"https://api.github.com/users/llabake","html_url":"https://github.com/llabake","followers_url":"https://api.github.com/users/llabake/followers","following_url":"https://api.github.com/users/llabake/following{/other_user}","gists_url":"https://api.github.com/users/llabake/gists{/gist_id}","starred_url":"https://api.github.com/users/llabake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llabake/subscriptions","organizations_url":"https://api.github.com/users/llabake/orgs","repos_url":"https://api.github.com/users/llabake/repos","events_url":"https://api.github.com/users/llabake/events{/privacy}","received_events_url":"https://api.github.com/users/llabake/received_events","type":"User","site_admin":false},"repo":{"id":105932161,"name":"Hello-Books","full_name":"llabake/Hello-Books","owner":{"login":"llabake","id":29184825,"avatar_url":"https://avatars2.githubusercontent.com/u/29184825?v=4","gravatar_id":"","url":"https://api.github.com/users/llabake","html_url":"https://github.com/llabake","followers_url":"https://api.github.com/users/llabake/followers","following_url":"https://api.github.com/users/llabake/following{/other_user}","gists_url":"https://api.github.com/users/llabake/gists{/gist_id}","starred_url":"https://api.github.com/users/llabake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llabake/subscriptions","organizations_url":"https://api.github.com/users/llabake/orgs","repos_url":"https://api.github.com/users/llabake/repos","events_url":"https://api.github.com/users/llabake/events{/privacy}","received_events_url":"https://api.github.com/users/llabake/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/llabake/Hello-Books","description":null,"fork":false,"url":"https://api.github.com/repos/llabake/Hello-Books","forks_url":"https://api.github.com/repos/llabake/Hello-Books/forks","keys_url":"https://api.github.com/repos/llabake/Hello-Books/keys{/key_id}","collaborators_url":"https://api.github.com/repos/llabake/Hello-Books/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/llabake/Hello-Books/teams","hooks_url":"https://api.github.com/repos/llabake/Hello-Books/hooks","issue_events_url":"https://api.github.com/repos/llabake/Hello-Books/issues/events{/number}","events_url":"https://api.github.com/repos/llabake/Hello-Books/events","assignees_url":"https://api.github.com/repos/llabake/Hello-Books/assignees{/user}","branches_url":"https://api.github.com/repos/llabake/Hello-Books/branches{/branch}","tags_url":"https://api.github.com/repos/llabake/Hello-Books/tags","blobs_url":"https://api.github.com/repos/llabake/Hello-Books/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/llabake/Hello-Books/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/llabake/Hello-Books/git/refs{/sha}","trees_url":"https://api.github.com/repos/llabake/Hello-Books/git/trees{/sha}","statuses_url":"https://api.github.com/repos/llabake/Hello-Books/statuses/{sha}","languages_url":"https://api.github.com/repos/llabake/Hello-Books/languages","stargazers_url":"https://api.github.com/repos/llabake/Hello-Books/stargazers","contributors_url":"https://api.github.com/repos/llabake/Hello-Books/contributors","subscribers_url":"https://api.github.com/repos/llabake/Hello-Books/subscribers","subscription_url":"https://api.github.com/repos/llabake/Hello-Books/subscription","commits_url":"https://api.github.com/repos/llabake/Hello-Books/commits{/sha}","git_commits_url":"https://api.github.com/repos/llabake/Hello-Books/git/commits{/sha}","comments_url":"https://api.github.com/repos/llabake/Hello-Books/comments{/number}","issue_comment_url":"https://api.github.com/repos/llabake/Hello-Books/issues/comments{/number}","contents_url":"https://api.github.com/repos/llabake/Hello-Books/contents/{+path}","compare_url":"https://api.github.com/repos/llabake/Hello-Books/compare/{base}...{head}","merges_url":"https://api.github.com/repos/llabake/Hello-Books/merges","archive_url":"https://api.github.com/repos/llabake/Hello-Books/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/llabake/Hello-Books/downloads","issues_url":"https://api.github.com/repos/llabake/Hello-Books/issues{/number}","pulls_url":"https://api.github.com/repos/llabake/Hello-Books/pulls{/number}","milestones_url":"https://api.github.com/repos/llabake/Hello-Books/milestones{/number}","notifications_url":"https://api.github.com/repos/llabake/Hello-Books/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/llabake/Hello-Books/labels{/name}","releases_url":"https://api.github.com/repos/llabake/Hello-Books/releases{/id}","deployments_url":"https://api.github.com/repos/llabake/Hello-Books/deployments","created_at":"2017-10-05T19:35:17Z","updated_at":"2018-05-12T17:48:55Z","pushed_at":"2018-05-15T10:36:22Z","git_url":"git://github.com/llabake/Hello-Books.git","ssh_url":"git@github.com:llabake/Hello-Books.git","clone_url":"https://github.com/llabake/Hello-Books.git","svn_url":"https://github.com/llabake/Hello-Books","homepage":null,"size":46474,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":3,"open_issues":3,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/llabake/Hello-Books/pulls/83"},"html":{"href":"https://github.com/llabake/Hello-Books/pull/83"},"issue":{"href":"https://api.github.com/repos/llabake/Hello-Books/issues/83"},"comments":{"href":"https://api.github.com/repos/llabake/Hello-Books/issues/83/comments"},"review_comments":{"href":"https://api.github.com/repos/llabake/Hello-Books/pulls/83/comments"},"review_comment":{"href":"https://api.github.com/repos/llabake/Hello-Books/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/llabake/Hello-Books/pulls/83/commits"},"statuses":{"href":"https://api.github.com/repos/llabake/Hello-Books/statuses/ec3c5132919d717d4010617c4ac3a09ac9729180"}},"author_association":"OWNER"}}
{"actor":{"display_login":"houndci-bot"}}