{"action":"created","issue":{"url":"https://api.github.com/repos/TryGhost/Ghost/issues/5635","labels_url":"https://api.github.com/repos/TryGhost/Ghost/issues/5635/labels{/name}","comments_url":"https://api.github.com/repos/TryGhost/Ghost/issues/5635/comments","events_url":"https://api.github.com/repos/TryGhost/Ghost/issues/5635/events","html_url":"https://github.com/TryGhost/Ghost/issues/5635","id":99180526,"number":5635,"title":"User Flows: On submit / server error message","user":{"login":"ErisDS","id":101513,"avatar_url":"https://avatars.githubusercontent.com/u/101513?v=3","gravatar_id":"","url":"https://api.github.com/users/ErisDS","html_url":"https://github.com/ErisDS","followers_url":"https://api.github.com/users/ErisDS/followers","following_url":"https://api.github.com/users/ErisDS/following{/other_user}","gists_url":"https://api.github.com/users/ErisDS/gists{/gist_id}","starred_url":"https://api.github.com/users/ErisDS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErisDS/subscriptions","organizations_url":"https://api.github.com/users/ErisDS/orgs","repos_url":"https://api.github.com/users/ErisDS/repos","events_url":"https://api.github.com/users/ErisDS/events{/privacy}","received_events_url":"https://api.github.com/users/ErisDS/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/TryGhost/Ghost/labels/ember","name":"ember","color":"e1563f"}],"state":"open","locked":false,"assignee":{"login":"cobbspur","id":4405395,"avatar_url":"https://avatars.githubusercontent.com/u/4405395?v=3","gravatar_id":"","url":"https://api.github.com/users/cobbspur","html_url":"https://github.com/cobbspur","followers_url":"https://api.github.com/users/cobbspur/followers","following_url":"https://api.github.com/users/cobbspur/following{/other_user}","gists_url":"https://api.github.com/users/cobbspur/gists{/gist_id}","starred_url":"https://api.github.com/users/cobbspur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cobbspur/subscriptions","organizations_url":"https://api.github.com/users/cobbspur/orgs","repos_url":"https://api.github.com/users/cobbspur/repos","events_url":"https://api.github.com/users/cobbspur/events{/privacy}","received_events_url":"https://api.github.com/users/cobbspur/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/TryGhost/Ghost/milestones/23","html_url":"https://github.com/TryGhost/Ghost/milestones/Zelda","labels_url":"https://api.github.com/repos/TryGhost/Ghost/milestones/23/labels","id":1144322,"number":23,"title":"Zelda","description":"Completing the Zelda UI overhaul","creator":{"login":"ErisDS","id":101513,"avatar_url":"https://avatars.githubusercontent.com/u/101513?v=3","gravatar_id":"","url":"https://api.github.com/users/ErisDS","html_url":"https://github.com/ErisDS","followers_url":"https://api.github.com/users/ErisDS/followers","following_url":"https://api.github.com/users/ErisDS/following{/other_user}","gists_url":"https://api.github.com/users/ErisDS/gists{/gist_id}","starred_url":"https://api.github.com/users/ErisDS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErisDS/subscriptions","organizations_url":"https://api.github.com/users/ErisDS/orgs","repos_url":"https://api.github.com/users/ErisDS/repos","events_url":"https://api.github.com/users/ErisDS/events{/privacy}","received_events_url":"https://api.github.com/users/ErisDS/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":32,"state":"open","created_at":"2015-06-02T07:31:26Z","updated_at":"2015-08-24T17:16:01Z","due_on":"2015-08-20T23:00:00Z","closed_at":null},"comments":3,"created_at":"2015-08-05T11:15:35Z","updated_at":"2015-08-24T17:31:43Z","closed_at":null,"body":"On the various user flows:\r\n- login flow\r\n- password reset flow (form you get to from reset email)\r\n- user signup (form you get to from invite email)\r\n- setup \r\n\r\nThere is a red error message that is shown below the submit button which currently reads 'The password fairy does not approve'\r\n\r\n![](http://puu.sh/jq8Lr.png)\r\n\r\nThis error is the intended location for any error message which occurs on submit - e.g. if a user submits the form with inline errors uncorrected or if the call goes off to the server and gets a server side message like incorrect password.\r\n\r\nThe language of the message is an indicator that we wanted to update the messages to be friendlier / more fun, but that can/will be done separately.\r\n\r\nThe first change that needs to be made here, is to use something like a `showFlowError` function to display errors that come back from the server in this location, rather than as a big-red-alert. \r\n\r\nThe second change is to be able to show some sort of message that summarises the errors if there are still inline errors when submit is pressed. This could be a generic, boring 'please complete the form' message to start with. \r\n\r\nIdeally, it might pick one from a set of random generic error messages, or be able show something specific to the field that is incorrect. I'm not sure what information is available or what is possible here, so it would be interesting to get some suggestions for what can be done.\r\n\r\nThe aim is to inject a little bit more personality into the flows & improve the user experience when things aren't going to plan."},"comment":{"url":"https://api.github.com/repos/TryGhost/Ghost/issues/comments/134309230","html_url":"https://github.com/TryGhost/Ghost/issues/5635#issuecomment-134309230","issue_url":"https://api.github.com/repos/TryGhost/Ghost/issues/5635","id":134309230,"user":{"login":"ErisDS","id":101513,"avatar_url":"https://avatars.githubusercontent.com/u/101513?v=3","gravatar_id":"","url":"https://api.github.com/users/ErisDS","html_url":"https://github.com/ErisDS","followers_url":"https://api.github.com/users/ErisDS/followers","following_url":"https://api.github.com/users/ErisDS/following{/other_user}","gists_url":"https://api.github.com/users/ErisDS/gists{/gist_id}","starred_url":"https://api.github.com/users/ErisDS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErisDS/subscriptions","organizations_url":"https://api.github.com/users/ErisDS/orgs","repos_url":"https://api.github.com/users/ErisDS/repos","events_url":"https://api.github.com/users/ErisDS/events{/privacy}","received_events_url":"https://api.github.com/users/ErisDS/received_events","type":"User","site_admin":false},"created_at":"2015-08-24T17:31:43Z","updated_at":"2015-08-24T17:31:43Z","body":"Alternatively can raise a separate issue for that for a later milestone"}}