{"action":"created","issue":{"url":"https://api.github.com/repos/andela/travel_tool_front/issues/384","repository_url":"https://api.github.com/repos/andela/travel_tool_front","labels_url":"https://api.github.com/repos/andela/travel_tool_front/issues/384/labels{/name}","comments_url":"https://api.github.com/repos/andela/travel_tool_front/issues/384/comments","events_url":"https://api.github.com/repos/andela/travel_tool_front/issues/384/events","html_url":"https://github.com/andela/travel_tool_front/pull/384","id":387948010,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2MzI0NDYy","number":384,"title":"#162305343 Disable and restore guesthouses","user":{"login":"emekafredy","id":29521319,"node_id":"MDQ6VXNlcjI5NTIxMzE5","avatar_url":"https://avatars3.githubusercontent.com/u/29521319?v=4","gravatar_id":"","url":"https://api.github.com/users/emekafredy","html_url":"https://github.com/emekafredy","followers_url":"https://api.github.com/users/emekafredy/followers","following_url":"https://api.github.com/users/emekafredy/following{/other_user}","gists_url":"https://api.github.com/users/emekafredy/gists{/gist_id}","starred_url":"https://api.github.com/users/emekafredy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emekafredy/subscriptions","organizations_url":"https://api.github.com/users/emekafredy/orgs","repos_url":"https://api.github.com/users/emekafredy/repos","events_url":"https://api.github.com/users/emekafredy/events{/privacy}","received_events_url":"https://api.github.com/users/emekafredy/received_events","type":"User","site_admin":false},"labels":[{"id":1139754015,"node_id":"MDU6TGFiZWwxMTM5NzU0MDE1","url":"https://api.github.com/repos/andela/travel_tool_front/labels/TC/TTL%20Review","name":"TC/TTL Review","color":"e8cb96","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-12-05T21:13:21Z","updated_at":"2018-12-07T13:03:16Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/andela/travel_tool_front/pulls/384","html_url":"https://github.com/andela/travel_tool_front/pull/384","diff_url":"https://github.com/andela/travel_tool_front/pull/384.diff","patch_url":"https://github.com/andela/travel_tool_front/pull/384.patch"},"body":"#### What does this PR do?\r\nGives Travel admin the ability to disable and restore guesthouses.\r\n\r\n#### Description of Task to be completed?\r\n* Travel admin should be able to disable guesthouses and view a list of them.\r\n* Travel admin should be able to restore guesthouses.\r\n* Makeup designs where necessary\r\n\r\n#### How should this be manually tested?\r\n* Clone the repo ```git clone https://github.com/andela/travel_tool_front.git```\r\n* Change directory with ```cd travel_tool_front```\r\n* Checkout to the branch ```ft-disable-and-restore-guest-houses-162305343```\r\n* Run ```yarn start``` on your terminal to start up the server (also remember to run ```yarn start:dev``` for the back-end)\r\n* Navigate to ```http://travela-local.andela.com:3000``` in your browser\r\n* You need a ```Travel Admin``` privilege.\r\n* Navigate to the Residence/ Manage.\r\n* Select a guest house.\r\n* You should see a ```disable guest house``` option by the top right.\r\n* Click on this and confirm to disable the guest house.\r\n* You can view a list of disabled guesthouses on the ```Residence/ Manage``` page.\r\n* You cannot perform any operation on the disabled guesthouse until it is restored.\r\n* Rooms of disabled guesthouses are also not available when making travel requests.\r\n* On a disabled guesthouse, click ```restore``` button and confirm to restore the guesthouse.\r\n\r\n\r\n\r\n#### Any background context you want to provide?\r\nN/A\r\n\r\n#### What are the relevant pivotal tracker stories?\r\n[162305343](https://www.pivotaltracker.com/story/show/162305343)\r\n\r\n#### Screenshots (if appropriate)\r\n![disablegh](https://user-images.githubusercontent.com/29521319/49597344-80628000-f97c-11e8-89bf-c6f1ff3889c1.gif)\r\n![restoregh](https://user-images.githubusercontent.com/29521319/49597362-8c4e4200-f97c-11e8-964e-3559d513cb45.gif)\r\n\r\n\r\n\r\n#### Questions:"},"comment":{"url":"https://api.github.com/repos/andela/travel_tool_front/issues/comments/445226459","html_url":"https://github.com/andela/travel_tool_front/pull/384#issuecomment-445226459","issue_url":"https://api.github.com/repos/andela/travel_tool_front/issues/384","id":445226459,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTIyNjQ1OQ==","user":{"login":"Spectrumsun","id":20597418,"node_id":"MDQ6VXNlcjIwNTk3NDE4","avatar_url":"https://avatars2.githubusercontent.com/u/20597418?v=4","gravatar_id":"","url":"https://api.github.com/users/Spectrumsun","html_url":"https://github.com/Spectrumsun","followers_url":"https://api.github.com/users/Spectrumsun/followers","following_url":"https://api.github.com/users/Spectrumsun/following{/other_user}","gists_url":"https://api.github.com/users/Spectrumsun/gists{/gist_id}","starred_url":"https://api.github.com/users/Spectrumsun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spectrumsun/subscriptions","organizations_url":"https://api.github.com/users/Spectrumsun/orgs","repos_url":"https://api.github.com/users/Spectrumsun/repos","events_url":"https://api.github.com/users/Spectrumsun/events{/privacy}","received_events_url":"https://api.github.com/users/Spectrumsun/received_events","type":"User","site_admin":false},"created_at":"2018-12-07T13:03:16Z","updated_at":"2018-12-07T13:03:16Z","author_association":"CONTRIBUTOR","body":"LGTM"}}
{"actor":{"display_login":"Spectrumsun"}}