{"action":"created","issue":{"url":"https://api.github.com/repos/Bobsar0/Fast-Food-Fast/issues/66","repository_url":"https://api.github.com/repos/Bobsar0/Fast-Food-Fast","labels_url":"https://api.github.com/repos/Bobsar0/Fast-Food-Fast/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/Bobsar0/Fast-Food-Fast/issues/66/comments","events_url":"https://api.github.com/repos/Bobsar0/Fast-Food-Fast/issues/66/events","html_url":"https://github.com/Bobsar0/Fast-Food-Fast/pull/66","id":373641261,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI1NTIyMzgy","number":66,"title":"#161401830 Consume admin GET and UPDATE orders endpoints","user":{"login":"Bobsar0","id":19636985,"node_id":"MDQ6VXNlcjE5NjM2OTg1","avatar_url":"https://avatars1.githubusercontent.com/u/19636985?v=4","gravatar_id":"","url":"https://api.github.com/users/Bobsar0","html_url":"https://github.com/Bobsar0","followers_url":"https://api.github.com/users/Bobsar0/followers","following_url":"https://api.github.com/users/Bobsar0/following{/other_user}","gists_url":"https://api.github.com/users/Bobsar0/gists{/gist_id}","starred_url":"https://api.github.com/users/Bobsar0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bobsar0/subscriptions","organizations_url":"https://api.github.com/users/Bobsar0/orgs","repos_url":"https://api.github.com/users/Bobsar0/repos","events_url":"https://api.github.com/users/Bobsar0/events{/privacy}","received_events_url":"https://api.github.com/users/Bobsar0/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-24T19:27:56Z","updated_at":"2018-10-24T19:30:22Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/Bobsar0/Fast-Food-Fast/pulls/66","html_url":"https://github.com/Bobsar0/Fast-Food-Fast/pull/66","diff_url":"https://github.com/Bobsar0/Fast-Food-Fast/pull/66.diff","patch_url":"https://github.com/Bobsar0/Fast-Food-Fast/pull/66.patch"},"body":"#### What does this PR do?\r\nEnables admin to retrieve all orders and update their status\r\n\r\n#### Description of Task to be completed?\r\n- Consume `GET /orders` endpoint so admin can retrieve all orders\r\n- Add search/filter feature to allow admin select/view specific order(s)\r\n- Consume `PUT /orders/:orderId` endpoint so admin can update the status of an order.\r\n- Add color legends to table rows based on order status\r\n\r\n#### How should this be manually tested?\r\n- Clone the repo and run the following commands:\r\n```\r\n  - git checkout ft-consume-get-orders-endpoint-#161401830  \r\n  - npm install\r\n  - npm start\r\n```\r\n- Navigate to http://localhost:9999/ and login/create an account using the credentials below\r\n``` \r\n username: admin\r\n email: admin@fastfoodfast.com\r\n password: admin!23\r\n```\r\n_You should be redirected to a dedicated menu page_\r\n- Navigate to `http://localhost:9999/templates/admin.html`\r\n- Click on **Administrator Panel** > **Manage Orders**\r\n_You should see a table containing the details of all orders_\r\n- Use the search feature at the top of the table to try out the filter option.\r\n\r\n#### What are the relevant pivotal tracker stories?\r\nhttps://www.pivotaltracker.com/story/show/#161401830 \r\n\r\n#### Screenshots\r\n\r\n![image](https://user-images.githubusercontent.com/19636985/47455561-12963680-d7ca-11e8-9cb2-8ce6856cdacf.png)\r\n\r\n![image](https://user-images.githubusercontent.com/19636985/47455652-4f622d80-d7ca-11e8-9351-232106b2c791.png)\r\n\r\n![image](https://user-images.githubusercontent.com/19636985/47455738-87697080-d7ca-11e8-9afe-072464d91bd6.png)\r\n\r\n![image](https://user-images.githubusercontent.com/19636985/47455776-a49e3f00-d7ca-11e8-8523-2f9ae5bb17f9.png)\r\n\r\n![image](https://user-images.githubusercontent.com/19636985/47455858-d911fb00-d7ca-11e8-8fa4-6a8be739478b.png)\r\n\r\n![image](https://user-images.githubusercontent.com/19636985/47456002-3efe8280-d7cb-11e8-8147-ad99aa0dbd98.png)\r\n"},"comment":{"url":"https://api.github.com/repos/Bobsar0/Fast-Food-Fast/issues/comments/432797238","html_url":"https://github.com/Bobsar0/Fast-Food-Fast/pull/66#issuecomment-432797238","issue_url":"https://api.github.com/repos/Bobsar0/Fast-Food-Fast/issues/66","id":432797238,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjc5NzIzOA==","user":{"login":"coveralls","id":2354108,"node_id":"MDQ6VXNlcjIzNTQxMDg=","avatar_url":"https://avatars1.githubusercontent.com/u/2354108?v=4","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2018-10-24T19:30:22Z","updated_at":"2018-10-24T19:30:22Z","author_association":"NONE","body":"## Pull Request Test Coverage Report for [Build 249](https://coveralls.io/builds/19702724)\n\n* **0** of **0**   changed or added relevant lines in **0** files are covered.\n* No unchanged relevant lines lost coverage.\n* Overall coverage remained the same at **91.485%**\n\n---\n\n\n\n|  Totals | [![Coverage Status](https://coveralls.io/builds/19702724/badge)](https://coveralls.io/builds/19702724) |\n| :-- | --: |\n| Change from base [Build 244](https://coveralls.io/builds/19656882): |  0.0% |\n| Covered Lines: | 311 |\n| Relevant Lines: | 331 |\n\n---\n##### 💛  - [Coveralls](https://coveralls.io)\n"}}
{"actor":{"display_login":"coveralls"}}