{"action":"created","issue":{"url":"https://api.github.com/repos/FAC-GM/app/issues/420","repository_url":"https://api.github.com/repos/FAC-GM/app","labels_url":"https://api.github.com/repos/FAC-GM/app/issues/420/labels{/name}","comments_url":"https://api.github.com/repos/FAC-GM/app/issues/420/comments","events_url":"https://api.github.com/repos/FAC-GM/app/issues/420/events","html_url":"https://github.com/FAC-GM/app/issues/420","id":151852490,"number":420,"title":"Restructed Notes Feature","user":{"login":"heron2014","id":8476884,"avatar_url":"https://avatars.githubusercontent.com/u/8476884?v=3","gravatar_id":"","url":"https://api.github.com/users/heron2014","html_url":"https://github.com/heron2014","followers_url":"https://api.github.com/users/heron2014/followers","following_url":"https://api.github.com/users/heron2014/following{/other_user}","gists_url":"https://api.github.com/users/heron2014/gists{/gist_id}","starred_url":"https://api.github.com/users/heron2014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heron2014/subscriptions","organizations_url":"https://api.github.com/users/heron2014/orgs","repos_url":"https://api.github.com/users/heron2014/repos","events_url":"https://api.github.com/users/heron2014/events{/privacy}","received_events_url":"https://api.github.com/users/heron2014/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/FAC-GM/app/labels/T1d","name":"T1d","color":"E91E63"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/FAC-GM/app/milestones/9","html_url":"https://github.com/FAC-GM/app/milestones/Sprint%209","labels_url":"https://api.github.com/repos/FAC-GM/app/milestones/9/labels","id":1722548,"number":9,"title":"Sprint 9","description":"","creator":{"login":"heron2014","id":8476884,"avatar_url":"https://avatars.githubusercontent.com/u/8476884?v=3","gravatar_id":"","url":"https://api.github.com/users/heron2014","html_url":"https://github.com/heron2014","followers_url":"https://api.github.com/users/heron2014/followers","following_url":"https://api.github.com/users/heron2014/following{/other_user}","gists_url":"https://api.github.com/users/heron2014/gists{/gist_id}","starred_url":"https://api.github.com/users/heron2014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heron2014/subscriptions","organizations_url":"https://api.github.com/users/heron2014/orgs","repos_url":"https://api.github.com/users/heron2014/repos","events_url":"https://api.github.com/users/heron2014/events{/privacy}","received_events_url":"https://api.github.com/users/heron2014/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":0,"state":"open","created_at":"2016-04-21T10:08:41Z","updated_at":"2016-04-29T14:23:44Z","due_on":"2016-05-05T23:00:00Z","closed_at":null},"comments":3,"created_at":"2016-04-29T12:14:15Z","updated_at":"2016-05-03T13:40:42Z","closed_at":null,"body":"Currently notes feature is tracking  status of the particular candidate. The new notes feature will only track who posted additional notes. On top of that the consultant will be able to edit default information about the candidate such as: \r\n\r\n- salary (current)\r\n- salary (expected)\r\n- notice period\r\n- interested in locations\r\n\r\nBasic wireframes for this feature: \r\n\r\n![notes](https://cloud.githubusercontent.com/assets/8476884/14915588/1a9507a6-0e0c-11e6-8b94-bf77038361f0.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/FAC-GM/app/issues/comments/216530539","html_url":"https://github.com/FAC-GM/app/issues/420#issuecomment-216530539","issue_url":"https://api.github.com/repos/FAC-GM/app/issues/420","id":216530539,"user":{"login":"heron2014","id":8476884,"avatar_url":"https://avatars.githubusercontent.com/u/8476884?v=3","gravatar_id":"","url":"https://api.github.com/users/heron2014","html_url":"https://github.com/heron2014","followers_url":"https://api.github.com/users/heron2014/followers","following_url":"https://api.github.com/users/heron2014/following{/other_user}","gists_url":"https://api.github.com/users/heron2014/gists{/gist_id}","starred_url":"https://api.github.com/users/heron2014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heron2014/subscriptions","organizations_url":"https://api.github.com/users/heron2014/orgs","repos_url":"https://api.github.com/users/heron2014/repos","events_url":"https://api.github.com/users/heron2014/events{/privacy}","received_events_url":"https://api.github.com/users/heron2014/received_events","type":"User","site_admin":false},"created_at":"2016-05-03T13:40:42Z","updated_at":"2016-05-03T13:40:42Z","body":"The steps for this feature are slightly different than above comment. The way we do now is using Ajax call - [L84-L118](https://github.com/FAC-GM/app/blob/info-candidate/assets/js/candidate_view.js#L84-L118)\r\n\r\nThere is only one endpoint in [info.js](https://github.com/FAC-GM/app/blob/info-candidate/lib/info.js) which is **/info/save** which saves or update info property on candidate object in ES.\r\n\r\nIF we have some error while saving/updating info we reply code: 500 otherwise code: 200 and info object [L13](https://github.com/FAC-GM/app/blob/info-candidate/lib/handlers/info/post_save.js#L13)"}}