{"action":"closed","issue":{"url":"https://api.github.com/repos/src-d/backlog/issues/604","repository_url":"https://api.github.com/repos/src-d/backlog","labels_url":"https://api.github.com/repos/src-d/backlog/issues/604/labels{/name}","comments_url":"https://api.github.com/repos/src-d/backlog/issues/604/comments","events_url":"https://api.github.com/repos/src-d/backlog/issues/604/events","html_url":"https://github.com/src-d/backlog/issues/604","id":209088872,"number":604,"title":"Landing - CTA form and button for subscription","user":{"login":"marnovo","id":15906764,"avatar_url":"https://avatars0.githubusercontent.com/u/15906764?v=3","gravatar_id":"","url":"https://api.github.com/users/marnovo","html_url":"https://github.com/marnovo","followers_url":"https://api.github.com/users/marnovo/followers","following_url":"https://api.github.com/users/marnovo/following{/other_user}","gists_url":"https://api.github.com/users/marnovo/gists{/gist_id}","starred_url":"https://api.github.com/users/marnovo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marnovo/subscriptions","organizations_url":"https://api.github.com/users/marnovo/orgs","repos_url":"https://api.github.com/users/marnovo/repos","events_url":"https://api.github.com/users/marnovo/events{/privacy}","received_events_url":"https://api.github.com/users/marnovo/received_events","type":"User","site_admin":false},"labels":[{"id":447529272,"url":"https://api.github.com/repos/src-d/backlog/labels/EPIC","name":"EPIC","color":"d93f0b","default":false},{"id":473744818,"url":"https://api.github.com/repos/src-d/backlog/labels/landing","name":"landing","color":"d4c5f9","default":false},{"id":504115394,"url":"https://api.github.com/repos/src-d/backlog/labels/platform","name":"platform","color":"c5def5","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2017-02-21T09:37:39Z","updated_at":"2017-05-09T08:55:07Z","closed_at":"2017-05-09T08:55:07Z","body":"*Epic: \"As a visitor to the source{d} landing page, I want to be able to subscribe to updates on what source{d} is bulding so that I can benefit from their upcoming products\"*\r\n\r\nDescription of feature (please refer to mockups provided by @marnovo and @tiagopregueiro):\r\n- Visitor comes to the landing page.\r\n- Visitor gets interested in what we are doing after reading our main page.\r\n- Visitor sees a CTA (click through action) form just beneath the landing page hero banner.\r\n- The form has a sample youremail@domain.com example shaded in grey, that vanishes when focused by the user, shows up again when unfocused.\r\n- Visitor types his email and clicks the button to subscribe to updates.\r\n- Email is checked for format validation, like \"x@y.z\".\r\n    - If validation successful, form border is highlighted in bright blue.\r\n    - If validation is unsuccessful, form border is highlighted in red and a error messsage asking the user to retype his email is shown beneath the form.\r\n- When clicking the button form data is sent to MailChimp platform via their API to the \"Product Waiting List\". Then, one of the three situations below happens:\r\n    - If sending is successful, user was not in the list: form vanishes smoothly and updates to a \"checked\" icon plus a confirmation message telling him that he's registered but has to confirm subscription on his email.\r\n    - If sending is successful, but user is already in the list: form vanishes smoothly and updates to a \"checked\" icon plus a confirmation message telling him that he was already registered and doesn't need to confirm subscription on his email.\r\n    - If sending is unsuccessful, form vanishes smoothly and updates to a \"error\" icon plus a message telling him that he there was a problem sending the form and that he can either reload the page and try again <link to reload> or email us directly at hello@sourced.tech <link to email with subject set to \"Product Waiting List Opt-in\">.\r\n- If possible (highly wanted), make the code flexible/self contained in a way we can reuse its structure in other pages of the website or in the Blog, with minor changes.\r\n- The hidden field to be passed together with this on the landing page is `landinghero` (see API integration issue at #606)."}}
{"actor":{"display_login":"Serabe"}}