{"action":"created","issue":{"url":"https://api.github.com/repos/mattermost/desktop/issues/181","repository_url":"https://api.github.com/repos/mattermost/desktop","labels_url":"https://api.github.com/repos/mattermost/desktop/issues/181/labels{/name}","comments_url":"https://api.github.com/repos/mattermost/desktop/issues/181/comments","events_url":"https://api.github.com/repos/mattermost/desktop/issues/181/events","html_url":"https://github.com/mattermost/desktop/issues/181","id":162776329,"number":181,"title":"Show validation errors in the settings","user":{"login":"Razzeee","id":5943908,"avatar_url":"https://avatars.githubusercontent.com/u/5943908?v=3","gravatar_id":"","url":"https://api.github.com/users/Razzeee","html_url":"https://github.com/Razzeee","followers_url":"https://api.github.com/users/Razzeee/followers","following_url":"https://api.github.com/users/Razzeee/following{/other_user}","gists_url":"https://api.github.com/users/Razzeee/gists{/gist_id}","starred_url":"https://api.github.com/users/Razzeee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Razzeee/subscriptions","organizations_url":"https://api.github.com/users/Razzeee/orgs","repos_url":"https://api.github.com/users/Razzeee/repos","events_url":"https://api.github.com/users/Razzeee/events{/privacy}","received_events_url":"https://api.github.com/users/Razzeee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-28T20:14:41Z","updated_at":"2016-08-21T06:11:47Z","closed_at":null,"body":"If you try to create a team and give it an invalid url, the app blocks you from doing it.\r\nIt might be nice to show the user what's going on by some kind of error handling.\r\n\r\nMaybe like done in this example http://getbootstrap.com/components/#glyphicons-examples"},"comment":{"url":"https://api.github.com/repos/mattermost/desktop/issues/comments/241240905","html_url":"https://github.com/mattermost/desktop/issues/181#issuecomment-241240905","issue_url":"https://api.github.com/repos/mattermost/desktop/issues/181","id":241240905,"user":{"login":"jasonblais","id":13119842,"avatar_url":"https://avatars.githubusercontent.com/u/13119842?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonblais","html_url":"https://github.com/jasonblais","followers_url":"https://api.github.com/users/jasonblais/followers","following_url":"https://api.github.com/users/jasonblais/following{/other_user}","gists_url":"https://api.github.com/users/jasonblais/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonblais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonblais/subscriptions","organizations_url":"https://api.github.com/users/jasonblais/orgs","repos_url":"https://api.github.com/users/jasonblais/repos","events_url":"https://api.github.com/users/jasonblais/events{/privacy}","received_events_url":"https://api.github.com/users/jasonblais/received_events","type":"User","site_admin":false},"created_at":"2016-08-21T06:11:47Z","updated_at":"2016-08-21T06:11:47Z","body":"Would this be an easy update? It would be quite nice particularly with new user on-boarding as it's currently against [Mattermost UX guidelines > Error Messages](https://docs.mattermost.com/developer/fx-guidelines.html#input-hints)\r\n.\r\n\r\nFollowing the behaviour elsewhere on Mattermost, the user would be allowed to click on the `Add` button, but an error message would be shown below the input field:\r\n - if `Name` is not set: `Name is a required field.`\r\n - if only `URL` is not set: `URL is a required field.` \r\n\r\n![image](https://cloud.githubusercontent.com/assets/13119842/17835654/80c0dfaa-6744-11e6-82fc-23ea03320837.png)\r\n\r\n\r\nWe should probably also enforce `http://` and `https://` as required for the URL, but that's a separate issue from this."}}
{"actor":{"display_login":"jasonblais"}}