{"action":"opened","issue":{"url":"https://api.github.com/repos/coderplex/coderplex/issues/39","repository_url":"https://api.github.com/repos/coderplex/coderplex","labels_url":"https://api.github.com/repos/coderplex/coderplex/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/coderplex/coderplex/issues/39/comments","events_url":"https://api.github.com/repos/coderplex/coderplex/issues/39/events","html_url":"https://github.com/coderplex/coderplex/issues/39","id":267429122,"number":39,"title":"warning messages for Subscribe form","user":{"login":"M-ZubairAhmed","id":17708702,"avatar_url":"https://avatars2.githubusercontent.com/u/17708702?v=4","gravatar_id":"","url":"https://api.github.com/users/M-ZubairAhmed","html_url":"https://github.com/M-ZubairAhmed","followers_url":"https://api.github.com/users/M-ZubairAhmed/followers","following_url":"https://api.github.com/users/M-ZubairAhmed/following{/other_user}","gists_url":"https://api.github.com/users/M-ZubairAhmed/gists{/gist_id}","starred_url":"https://api.github.com/users/M-ZubairAhmed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/M-ZubairAhmed/subscriptions","organizations_url":"https://api.github.com/users/M-ZubairAhmed/orgs","repos_url":"https://api.github.com/users/M-ZubairAhmed/repos","events_url":"https://api.github.com/users/M-ZubairAhmed/events{/privacy}","received_events_url":"https://api.github.com/users/M-ZubairAhmed/received_events","type":"User","site_admin":false},"labels":[{"id":723057215,"url":"https://api.github.com/repos/coderplex/coderplex/labels/hacktoberfest","name":"hacktoberfest","color":"00baaa","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-22T02:12:54Z","updated_at":"2017-10-22T02:12:54Z","closed_at":null,"author_association":"OWNER","body":"### Current state\r\nAfter subscribe button is pressed, landing page component waits for the server response. If its 200 OK then renders `thank you for subscribing`\r\n\r\n### Improvement\r\n- [ ] Before sending the network request, check if the input field is empty, then display appropriate warning\r\n- [ ] If the response is other than 200 OK, then prompt the user to try again with a meaningful text using [semantic-form-warning](https://react.semantic-ui.com/collections/form#form-example-warning) while still showing the input field\r\n"}}
{"actor":{"display_login":"M-ZubairAhmed"}}