{"action":"opened","issue":{"url":"https://api.github.com/repos/velizargenov/mentoring/issues/1","labels_url":"https://api.github.com/repos/velizargenov/mentoring/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/velizargenov/mentoring/issues/1/comments","events_url":"https://api.github.com/repos/velizargenov/mentoring/issues/1/events","html_url":"https://github.com/velizargenov/mentoring/issues/1","id":114237533,"number":1,"title":"Aims for Session 3","user":{"login":"oliverwoodings","id":621323,"avatar_url":"https://avatars.githubusercontent.com/u/621323?v=3","gravatar_id":"","url":"https://api.github.com/users/oliverwoodings","html_url":"https://github.com/oliverwoodings","followers_url":"https://api.github.com/users/oliverwoodings/followers","following_url":"https://api.github.com/users/oliverwoodings/following{/other_user}","gists_url":"https://api.github.com/users/oliverwoodings/gists{/gist_id}","starred_url":"https://api.github.com/users/oliverwoodings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliverwoodings/subscriptions","organizations_url":"https://api.github.com/users/oliverwoodings/orgs","repos_url":"https://api.github.com/users/oliverwoodings/repos","events_url":"https://api.github.com/users/oliverwoodings/events{/privacy}","received_events_url":"https://api.github.com/users/oliverwoodings/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-30T10:03:05Z","updated_at":"2015-10-30T10:03:05Z","closed_at":null,"body":"### 1. Allow user to set their name\r\n\r\n#### Process\r\n* open webpage\r\n* connect to server\r\n* enter name\r\n* store name in local storage\r\n* send init message with name\r\n* receive init confirmation message from server\r\n* allow user to start sending messages\r\n\r\n#### Restraints\r\n* User should not be able to receive or send messages until init message has been sent\r\n* OPTIONAL: if another user is already connected with the same name, the server should send an init failed message and the client should ask the user for a different name\r\n\r\n### 2. Show message when other users are typing\r\n\r\n#### Process\r\n* user starts typing\r\n* send message to server indicating user started typing\r\n* user stops typing\r\n* send message to server indicating user stopped typing\r\n\r\n#### Restraints\r\n* The 'typing' should not flash in and out - the 'stopped typing' message should be debounced\r\n* If more than 2 users are typing at the same time, it should say 'Other users are typing...', otherwise it should list their names"}}