{"action":"created","comment":{"url":"https://api.github.com/repos/bekomay26/Book-A-Meal/pulls/comments/216168631","pull_request_review_id":153591658,"id":216168631,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNjE2ODYzMQ==","diff_hunk":"@@ -207,22 +222,33 @@ class CustomerOrdersPage extends Component {\n   }\n \n   extraOrdered(extra) {\n-    order.extras.includes(extra);\n+    // order.extras.includes(extra);\n   }\n \n   render() {\n-    const { orders, meal } = this.props;\n+    const { orders, userName } = this.props;\n     const { isDesktop } = this.state;\n+    const { isAuthenticated } = this.props;\n+    if (!isAuthenticated) {\n+      return (\n+        // <Redirect push to=\"/login\" />\n+        <Redirect to={{\n+          pathname: '/login',\n+          state: { from: 'orders' },\n+        }}\n+        />\n+      );\n+    }\n     return (\n       <div>\n-        <UserNavBar />\n+        <UserNavBar logout={this.props.logout} isAuthenticated={isAuthenticated} userName={userName} visibleSideBar />\n         <div className=\"cust-ord-header\">\n           {isDesktop ? (\n             <h2>My Orders</h2>) : null\n           }\n           \n         </div>\n-        <CustomerOrdersList orders={orders} selected={this.myOrder} />\n+        <CustomerOrdersList orders={orders} selected={this.myOrder} cancelOrder={this.cancelOrder} />","path":"client/src/components/order/CustomerOrdersPage.jsx","position":161,"original_position":161,"commit_id":"3891f972cc79d8c2d441c57349cfceabb5dca795","original_commit_id":"3891f972cc79d8c2d441c57349cfceabb5dca795","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","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":"Line 251 exceeds the maximum line length of 100                                            max-len","created_at":"2018-09-09T20:06:36Z","updated_at":"2018-09-09T20:06:38Z","html_url":"https://github.com/bekomay26/Book-A-Meal/pull/37#discussion_r216168631","pull_request_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/pulls/37","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/bekomay26/Book-A-Meal/pulls/comments/216168631"},"html":{"href":"https://github.com/bekomay26/Book-A-Meal/pull/37#discussion_r216168631"},"pull_request":{"href":"https://api.github.com/repos/bekomay26/Book-A-Meal/pulls/37"}}},"pull_request":{"url":"https://api.github.com/repos/bekomay26/Book-A-Meal/pulls/37","id":214160143,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0MTYwMTQz","html_url":"https://github.com/bekomay26/Book-A-Meal/pull/37","diff_url":"https://github.com/bekomay26/Book-A-Meal/pull/37.diff","patch_url":"https://github.com/bekomay26/Book-A-Meal/pull/37.patch","issue_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/issues/37","number":37,"state":"open","locked":false,"title":"(feat) Implement CP review feedback","user":{"login":"bekomay26","id":5614138,"node_id":"MDQ6VXNlcjU2MTQxMzg=","avatar_url":"https://avatars0.githubusercontent.com/u/5614138?v=4","gravatar_id":"","url":"https://api.github.com/users/bekomay26","html_url":"https://github.com/bekomay26","followers_url":"https://api.github.com/users/bekomay26/followers","following_url":"https://api.github.com/users/bekomay26/following{/other_user}","gists_url":"https://api.github.com/users/bekomay26/gists{/gist_id}","starred_url":"https://api.github.com/users/bekomay26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bekomay26/subscriptions","organizations_url":"https://api.github.com/users/bekomay26/orgs","repos_url":"https://api.github.com/users/bekomay26/repos","events_url":"https://api.github.com/users/bekomay26/events{/privacy}","received_events_url":"https://api.github.com/users/bekomay26/received_events","type":"User","site_admin":false},"body":"- Add toasts\r\n- Add styles\r\n- Edit components\r\n- Fix bugs\r\n\r\n[Finishes #160370489]\r\n\r\n#### What does this PR do?\r\n\r\n#### Description of Task to be completed?\r\n\r\n#### How should this be manually tested?\r\n\r\n#### What are the relevant pivotal tracker stories?\r\n\r\n#### Any background context you want to add?\r\n\r\n#### Screenshots","created_at":"2018-09-09T19:17:52Z","updated_at":"2018-09-09T20:06:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ce4f4e97d712417ef3ba546332a5abee50d33750","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/pulls/37/commits","review_comments_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/pulls/37/comments","review_comment_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/issues/37/comments","statuses_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/statuses/3891f972cc79d8c2d441c57349cfceabb5dca795","head":{"label":"bekomay26:ch-implement-client-feedback-160370489","ref":"ch-implement-client-feedback-160370489","sha":"3891f972cc79d8c2d441c57349cfceabb5dca795","user":{"login":"bekomay26","id":5614138,"node_id":"MDQ6VXNlcjU2MTQxMzg=","avatar_url":"https://avatars0.githubusercontent.com/u/5614138?v=4","gravatar_id":"","url":"https://api.github.com/users/bekomay26","html_url":"https://github.com/bekomay26","followers_url":"https://api.github.com/users/bekomay26/followers","following_url":"https://api.github.com/users/bekomay26/following{/other_user}","gists_url":"https://api.github.com/users/bekomay26/gists{/gist_id}","starred_url":"https://api.github.com/users/bekomay26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bekomay26/subscriptions","organizations_url":"https://api.github.com/users/bekomay26/orgs","repos_url":"https://api.github.com/users/bekomay26/repos","events_url":"https://api.github.com/users/bekomay26/events{/privacy}","received_events_url":"https://api.github.com/users/bekomay26/received_events","type":"User","site_admin":false},"repo":{"id":129968717,"node_id":"MDEwOlJlcG9zaXRvcnkxMjk5Njg3MTc=","name":"Book-A-Meal","full_name":"bekomay26/Book-A-Meal","owner":{"login":"bekomay26","id":5614138,"node_id":"MDQ6VXNlcjU2MTQxMzg=","avatar_url":"https://avatars0.githubusercontent.com/u/5614138?v=4","gravatar_id":"","url":"https://api.github.com/users/bekomay26","html_url":"https://github.com/bekomay26","followers_url":"https://api.github.com/users/bekomay26/followers","following_url":"https://api.github.com/users/bekomay26/following{/other_user}","gists_url":"https://api.github.com/users/bekomay26/gists{/gist_id}","starred_url":"https://api.github.com/users/bekomay26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bekomay26/subscriptions","organizations_url":"https://api.github.com/users/bekomay26/orgs","repos_url":"https://api.github.com/users/bekomay26/repos","events_url":"https://api.github.com/users/bekomay26/events{/privacy}","received_events_url":"https://api.github.com/users/bekomay26/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bekomay26/Book-A-Meal","description":"An application that allows customers to make food orders, and aids the caterer in managing the business.","fork":false,"url":"https://api.github.com/repos/bekomay26/Book-A-Meal","forks_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/forks","keys_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/teams","hooks_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/hooks","issue_events_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/issues/events{/number}","events_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/events","assignees_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/assignees{/user}","branches_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/branches{/branch}","tags_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/tags","blobs_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/git/refs{/sha}","trees_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/statuses/{sha}","languages_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/languages","stargazers_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/stargazers","contributors_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/contributors","subscribers_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/subscribers","subscription_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/subscription","commits_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/commits{/sha}","git_commits_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/git/commits{/sha}","comments_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/comments{/number}","issue_comment_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/issues/comments{/number}","contents_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/contents/{+path}","compare_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/merges","archive_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/downloads","issues_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/issues{/number}","pulls_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/pulls{/number}","milestones_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/milestones{/number}","notifications_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/labels{/name}","releases_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/releases{/id}","deployments_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/deployments","created_at":"2018-04-17T21:44:21Z","updated_at":"2018-09-04T20:02:44Z","pushed_at":"2018-09-09T20:06:01Z","git_url":"git://github.com/bekomay26/Book-A-Meal.git","ssh_url":"git@github.com:bekomay26/Book-A-Meal.git","clone_url":"https://github.com/bekomay26/Book-A-Meal.git","svn_url":"https://github.com/bekomay26/Book-A-Meal","homepage":"https://bekomay26.github.io/Book-A-Meal/UI/html/user/","size":8241,"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":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":1,"default_branch":"develop"}},"base":{"label":"bekomay26:develop","ref":"develop","sha":"5433ad0411338aa20ad3fcabb282807842ad727c","user":{"login":"bekomay26","id":5614138,"node_id":"MDQ6VXNlcjU2MTQxMzg=","avatar_url":"https://avatars0.githubusercontent.com/u/5614138?v=4","gravatar_id":"","url":"https://api.github.com/users/bekomay26","html_url":"https://github.com/bekomay26","followers_url":"https://api.github.com/users/bekomay26/followers","following_url":"https://api.github.com/users/bekomay26/following{/other_user}","gists_url":"https://api.github.com/users/bekomay26/gists{/gist_id}","starred_url":"https://api.github.com/users/bekomay26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bekomay26/subscriptions","organizations_url":"https://api.github.com/users/bekomay26/orgs","repos_url":"https://api.github.com/users/bekomay26/repos","events_url":"https://api.github.com/users/bekomay26/events{/privacy}","received_events_url":"https://api.github.com/users/bekomay26/received_events","type":"User","site_admin":false},"repo":{"id":129968717,"node_id":"MDEwOlJlcG9zaXRvcnkxMjk5Njg3MTc=","name":"Book-A-Meal","full_name":"bekomay26/Book-A-Meal","owner":{"login":"bekomay26","id":5614138,"node_id":"MDQ6VXNlcjU2MTQxMzg=","avatar_url":"https://avatars0.githubusercontent.com/u/5614138?v=4","gravatar_id":"","url":"https://api.github.com/users/bekomay26","html_url":"https://github.com/bekomay26","followers_url":"https://api.github.com/users/bekomay26/followers","following_url":"https://api.github.com/users/bekomay26/following{/other_user}","gists_url":"https://api.github.com/users/bekomay26/gists{/gist_id}","starred_url":"https://api.github.com/users/bekomay26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bekomay26/subscriptions","organizations_url":"https://api.github.com/users/bekomay26/orgs","repos_url":"https://api.github.com/users/bekomay26/repos","events_url":"https://api.github.com/users/bekomay26/events{/privacy}","received_events_url":"https://api.github.com/users/bekomay26/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bekomay26/Book-A-Meal","description":"An application that allows customers to make food orders, and aids the caterer in managing the business.","fork":false,"url":"https://api.github.com/repos/bekomay26/Book-A-Meal","forks_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/forks","keys_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/teams","hooks_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/hooks","issue_events_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/issues/events{/number}","events_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/events","assignees_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/assignees{/user}","branches_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/branches{/branch}","tags_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/tags","blobs_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/git/refs{/sha}","trees_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/statuses/{sha}","languages_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/languages","stargazers_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/stargazers","contributors_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/contributors","subscribers_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/subscribers","subscription_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/subscription","commits_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/commits{/sha}","git_commits_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/git/commits{/sha}","comments_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/comments{/number}","issue_comment_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/issues/comments{/number}","contents_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/contents/{+path}","compare_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/merges","archive_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/downloads","issues_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/issues{/number}","pulls_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/pulls{/number}","milestones_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/milestones{/number}","notifications_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/labels{/name}","releases_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/releases{/id}","deployments_url":"https://api.github.com/repos/bekomay26/Book-A-Meal/deployments","created_at":"2018-04-17T21:44:21Z","updated_at":"2018-09-04T20:02:44Z","pushed_at":"2018-09-09T20:06:01Z","git_url":"git://github.com/bekomay26/Book-A-Meal.git","ssh_url":"git@github.com:bekomay26/Book-A-Meal.git","clone_url":"https://github.com/bekomay26/Book-A-Meal.git","svn_url":"https://github.com/bekomay26/Book-A-Meal","homepage":"https://bekomay26.github.io/Book-A-Meal/UI/html/user/","size":8241,"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":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/bekomay26/Book-A-Meal/pulls/37"},"html":{"href":"https://github.com/bekomay26/Book-A-Meal/pull/37"},"issue":{"href":"https://api.github.com/repos/bekomay26/Book-A-Meal/issues/37"},"comments":{"href":"https://api.github.com/repos/bekomay26/Book-A-Meal/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/bekomay26/Book-A-Meal/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/bekomay26/Book-A-Meal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bekomay26/Book-A-Meal/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/bekomay26/Book-A-Meal/statuses/3891f972cc79d8c2d441c57349cfceabb5dca795"}},"author_association":"OWNER"}}
{"actor":{"display_login":"houndci-bot"}}