{"action":"created","issue":{"url":"https://api.github.com/repos/andela/mag-ah-frontend/issues/23","repository_url":"https://api.github.com/repos/andela/mag-ah-frontend","labels_url":"https://api.github.com/repos/andela/mag-ah-frontend/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/andela/mag-ah-frontend/issues/23/comments","events_url":"https://api.github.com/repos/andela/mag-ah-frontend/issues/23/events","html_url":"https://github.com/andela/mag-ah-frontend/pull/23","id":376357191,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI3NTkxMjcy","number":23,"title":"#161646092 Add floating create and edit buttons ","user":{"login":"PAbishai","id":12625365,"node_id":"MDQ6VXNlcjEyNjI1MzY1","avatar_url":"https://avatars3.githubusercontent.com/u/12625365?v=4","gravatar_id":"","url":"https://api.github.com/users/PAbishai","html_url":"https://github.com/PAbishai","followers_url":"https://api.github.com/users/PAbishai/followers","following_url":"https://api.github.com/users/PAbishai/following{/other_user}","gists_url":"https://api.github.com/users/PAbishai/gists{/gist_id}","starred_url":"https://api.github.com/users/PAbishai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PAbishai/subscriptions","organizations_url":"https://api.github.com/users/PAbishai/orgs","repos_url":"https://api.github.com/users/PAbishai/repos","events_url":"https://api.github.com/users/PAbishai/events{/privacy}","received_events_url":"https://api.github.com/users/PAbishai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-01T11:37:32Z","updated_at":"2018-11-01T11:55:13Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/andela/mag-ah-frontend/pulls/23","html_url":"https://github.com/andela/mag-ah-frontend/pull/23","diff_url":"https://github.com/andela/mag-ah-frontend/pull/23.diff","patch_url":"https://github.com/andela/mag-ah-frontend/pull/23.patch"},"body":"#### What does this PR do?\r\nEnable user to create article from the root page which lists all articles\r\nEnable user to edit an article from the single article page\r\n\r\n#### Description of Task to be completed?\r\nAdd floating button on all articles page to create an article. Only appears if a user is authenticated\r\nAdd a floating button on a single article page to edit an article. Only appears if a user is authenticated and the author of the article.\r\n\r\n#### How should this be manually tested?\r\nClone: `https://github.com/andela/mag-ah-frontend.git`\r\nCheckout to: `ch-floating-buttons-161646092 `\r\nInstall requirements: `npm install`\r\nCreate env file: `mv .envsample .env`\r\nRun app: `npm start`\r\nLogin into the application\r\n\r\nNavigate to the following url:\r\n\r\n`http://localhost:3000/articles` to view the floating button.\r\n`http://localhost:3000/{slug}` where the article is authored by you. You should see an edit button\r\n\r\n#### What are the relevant pivotal tracker stories?\r\n[Users should be able to view and edit their profiles](https://www.pivotaltracker.com/story/show/161646092)\r\n\r\n#### Screenshots\r\n\r\n`Create article`\r\n\r\n<img width=\"1333\" alt=\"screen shot 2018-11-01 at 14 35 40\" src=\"https://user-images.githubusercontent.com/12625365/47849650-872d2e80-dde3-11e8-9ed4-2ed07397b7ca.png\">\r\n\r\n\r\n`Update article`\r\n\r\n<img width=\"1322\" alt=\"screen shot 2018-11-01 at 14 35 55\" src=\"https://user-images.githubusercontent.com/12625365/47849657-8f856980-dde3-11e8-94c2-be095efe8665.png\">\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/andela/mag-ah-frontend/issues/comments/435018211","html_url":"https://github.com/andela/mag-ah-frontend/pull/23#issuecomment-435018211","issue_url":"https://api.github.com/repos/andela/mag-ah-frontend/issues/23","id":435018211,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTAxODIxMQ==","user":{"login":"Bileonaire","id":39065274,"node_id":"MDQ6VXNlcjM5MDY1Mjc0","avatar_url":"https://avatars2.githubusercontent.com/u/39065274?v=4","gravatar_id":"","url":"https://api.github.com/users/Bileonaire","html_url":"https://github.com/Bileonaire","followers_url":"https://api.github.com/users/Bileonaire/followers","following_url":"https://api.github.com/users/Bileonaire/following{/other_user}","gists_url":"https://api.github.com/users/Bileonaire/gists{/gist_id}","starred_url":"https://api.github.com/users/Bileonaire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bileonaire/subscriptions","organizations_url":"https://api.github.com/users/Bileonaire/orgs","repos_url":"https://api.github.com/users/Bileonaire/repos","events_url":"https://api.github.com/users/Bileonaire/events{/privacy}","received_events_url":"https://api.github.com/users/Bileonaire/received_events","type":"User","site_admin":false},"created_at":"2018-11-01T11:55:13Z","updated_at":"2018-11-01T11:55:13Z","author_association":"COLLABORATOR","body":"Looks good to me. I approve the changes. It works well\r\n"}}
{"actor":{"display_login":"Bileonaire"}}