{"action":"opened","issue":{"url":"https://api.github.com/repos/IMA-WorldHealth/bhima/issues/614","labels_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/issues/614/labels{/name}","comments_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/issues/614/comments","events_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/issues/614/events","html_url":"https://github.com/IMA-WorldHealth/bhima/issues/614","id":100975596,"number":614,"title":"Deprecate messenger service/directive","user":{"login":"jniles","id":896472,"avatar_url":"https://avatars.githubusercontent.com/u/896472?v=3","gravatar_id":"","url":"https://api.github.com/users/jniles","html_url":"https://github.com/jniles","followers_url":"https://api.github.com/users/jniles/followers","following_url":"https://api.github.com/users/jniles/following{/other_user}","gists_url":"https://api.github.com/users/jniles/gists{/gist_id}","starred_url":"https://api.github.com/users/jniles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jniles/subscriptions","organizations_url":"https://api.github.com/users/jniles/orgs","repos_url":"https://api.github.com/users/jniles/repos","events_url":"https://api.github.com/users/jniles/events{/privacy}","received_events_url":"https://api.github.com/users/jniles/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-14T09:40:27Z","updated_at":"2015-08-14T09:40:27Z","closed_at":null,"body":"The messenger service was originally envisioned to provide \"push\"-style notifications to the client, especially in case of errors.  Unfortunately, it never performed quite as expected and user test seems to indicate that it is confusing and difficult to work with.\r\n\r\nWith the newer, cleaner authentication scheme landing in #611 , each individual module is in a better position to report its own errors, whether generated by the client-side controller or server-side checks.  Therefore, I propose we deprecate messenger for removal in the next version of bhima (hopefully by December).\r\n\r\nWe still need an error handling service for more generic errors such as loss of internet connection and such; however, it should not behave or appear anything like `messenger`.  We will have to have that UI/UX discussion when someone proposes an alternative."}}